Skip to content

Judgements: mark each verdict saved by this version so Move never copies a current one #808

Description

@harenome

Priority

P3

Components

app/nullius/judge/store.py (Move of earlier judgements)

Today

Move tells a verdict saved under a job's earlier identity from a current one by a profile-level list of folders this version saved to. The list is written separately from the verdicts, so it can miss a save: one made before the upgrade, one made while the list was unreadable, or one from another process during a Move. Move can then copy a current verdict to another job, but only when one job's declared UUID equals another job's earlier derived UID.

Wanted

Each verdict saved by this version carries its own marker, written atomically with the verdict. Move copies only unmarked records and rechecks the bytes it copies.

Acceptance

  • A current verdict is never copied by Move, whatever the state of the profile list
  • The folder-level list is removed or kept only as a page hint
  • Tests for the three schedules above

Dependencies and related

#794, #770

Activity

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

Metadata

Metadata

Assignees

Labels

P3enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions