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
Delete: a root that disappears during the copy scan lets Delete drop judgements another copy still needs #824
Found in the review of #759. When Delete looks for other copies of a job before dropping its judgements, a registered root that disappears between discovery and the parser's existence check is skipped as if it held nothing. Delete then removed all four judgement files of a job a remaining copy still held, and reported no keep (execution.py_copies, parse.py root walk).
Reproduction
Two workspaces hold the same judged job through different roots.
Pause Delete's copy scan after it lists the second root.
Move the second root away and back (or let another request replace it).
Resume the Delete of the first.
Expected
A root that cannot be read during the scan counts as unknown: judgements are kept and the delete says why.
Acceptance
A root missing or unreadable during the copy scan keeps the judgements, with "Judgements kept because ..."
Test with the forced ordering above
Dependencies and related
#759, #770. The atomic Delete design rechecks affected roots under the locks before removing judgements.
Activity