You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
User judge on a trial of another workspace saves into the open workspace's job of the same name #447
P2 · Planned: limited in scope, has a way around it, or a missing feature
Evidence
Trial page with ?workspace=B while A is open, both holding job-x: a flag set on the User judge tab is written to A's job-x/failure-analysis.json. The page says "Saved"; B's tab stays empty.
The form posts to /failure/<job>/<trial> without workspace=: failure_route is missing from _preserve_record_workspace (app/web/shared.py), so _trial_evidence reads the open workspace. The redirect drops it too.
form actions: ['/failure/job-x/hello-world__mAXMKXR']
POST 302 -> /trial/job-x/hello-world__mAXMKXR?tab=failure#failure
workspace A job-x/failure-analysis.json: written
workspace B job-x/failure-analysis.json: absent
Compare links each column's trials with workspace=, so this is the usual path to it. A flag accepted there changes A's filtered score.
Reproduction
Workspaces A (open) and B, each with a job job-x holding the same trial.
Compare A's and B's job-x; open a trial of B's column.
User judge tab: flag the task, Save.
Expected
The flag is in B's job-x; A's is unchanged.
Acceptance
Every User judge action on a trial opened with ?workspace= writes to that workspace's job
Activity
harenome commentedon Nov 26, 2026
Two more routes lose the workspace, both from the job page opened with
?workspace=Bwhile A is open.job_live: the live board polls A's feed (app/templates/runs/_live_board.html:3). B's run is still going; the board is told it finished.trial_attempts: the arrow on a task's row opens A's attempts (app/templates/runs/job.html:454). B's second attempt is not listed.Route test on 328888b, both holding
job-x, B's feed cut before its end and B given a second attempt:Neither is in the set of
_preserve_record_workspace(app/web/shared.py:431).Fine:
trial_picture,artifact_downloadand the trial page's All attempts tab passworkspace=themselves and answer with B's record.