Skip to content

Delete: a root that disappears during the copy scan lets Delete drop judgements another copy still needs #824

Backlog

Description

@harenome

Priority

P3

Components

app/nullius/execution.py (_copies), app/nullius/runs/parse.py (root discovery)

Evidence

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

  1. Two workspaces hold the same judged job through different roots.
  2. Pause Delete's copy scan after it lists the second root.
  3. Move the second root away and back (or let another request replace it).
  4. 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

  1. added
    bug
    P3
    on Dec 3, 2026
  2. added theissue type on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions