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
Runs: a new launch under a name being deleted can be removed or unregistered by that delete #802
Both reproduce on main and on the #766 fix, in one process:
Pause a Delete right after _remove_run returns. execution.start starts and registers a new run of the same name. Resume the Delete: it pops the new run from EXECUTIONS (and unregisters it), while its record stays on disk.
Pause Delete A after run_folder read the old record, before it claims the name. Delete B finishes, and a new launch under that name finishes. Resume A: it removes the new run's folder and unregisters it.
Reproduction
A finished run r1.
Pause a Delete of r1 at either point above.
Start a new launch named r1 (and, for the second case, let a second Delete of r1 finish first).
Resume the paused Delete.
Expected
A Delete only ever removes or unregisters the run it inspected. A new launch cannot take a name while a Delete of it is still running.
Acceptance
A Delete claims the requested names before reading their records, and validates them under the claim (a multi-run request claims its set together)
A new launch refuses a name a Delete holds, until that Delete has finished
Activity