feat(web): expose output directory name in Eval/Perf task forms - #1604
feat(web): expose output directory name in Eval/Perf task forms#1604Dhru1001 wants to merge 1 commit into
Conversation
|
Thanks for adding this. The user need is reasonable, but the implementation should reuse EvalScope’s existing output configuration instead of turning the directory name into EvalScope already has
Please separate the user-facing output/run name from the unique task ID, define collision/resume behavior explicitly, and add coverage for repeated names, concurrent submissions, Perf reruns, Unicode names, and path traversal. If this is only for readability, the simplest solution is a readable name plus a unique suffix. |
Lets users name a run's output directory from the Tasks tab instead of relying on the auto-generated timestamp id. The name becomes the task id (sanitized to filesystem/header-safe characters), which is what the backend already uses to derive work_dir, progress tracking, log lookup, resume, and report listing -- so no backend changes are needed and none of those flows break.
4923bae to
deef764
Compare
Lets users name a run's output directory from the Tasks tab instead of relying on the auto-generated timestamp id. The name becomes the task id (sanitized to filesystem/header-safe characters), which is what the backend already uses to derive work_dir, progress tracking, log lookup, resume, and report listing -- so no backend changes are needed and none of those flows break.