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
Deleting a launch while it is rerun removes the running rerun's folder #766
delete checks the run ended (execution.py:2013), then adopts judgements and parses jobs, then removes the folder (:2094). again (:849) checks only the run's state. Nothing orders the two.
Probe, Rerun started between the check and the removal:
rerun state when delete proceeds: running
folder exists right after delete: False registered: False
rerun process alive after delete: True
run.json reappeared, state: failed
Reproduction
A finished run. Start Delete launch.
Before it removes the folder, press Rerun.
Expected
One wins: the delete refuses a running run, or the rerun refuses a run being deleted.
Acceptance
delete re-checks the state under the run's lock and marks it deleting (test)
Activity