fix(web): drop stale batch job resource options - #469
Conversation
TigerFlow now runs as a single Slurm allocation (no auto-scaling), so the "Max Workers" input on the Compute step no longer applies and the "Worker Timeout" label misdescribes what it sets. Remove Max Workers, rename Worker Timeout to Time Limit (which maps to the Slurm job time), and update the job details panel to match. The backend max_workers field is left in place for now.
ReviewSmall, well-scoped cleanup — removes the now-meaningless "Max Workers" control and renames "Worker Timeout" → "Time Limit" to match what it actually sets. Verified the backend ( Correctness
Minor: naming now diverges from the UI labelThe label was renamed "Worker Timeout" → "Time Limit", but the underlying identifiers in
Not a bug, but it's a bit of a trap for the next person who greps for "time limit" and finds nothing, or who reads Test coverage
NitThe dropped code comment in Overall: solid, low-risk cleanup that does what it says. The naming-consistency point is the only thing I'd consider addressing before merge; everything else is optional polish. |
Summary
max_workersin the job request (backend still defaults it to 1).resources.time).Test plan
npm run lint(no new warnings)npm test(510/510 pass)