Skip to content

Delete redesign, step 3: delete through the trash, workspace identity, pending cleanup #828

Backlog

Description

@harenome

Priority

P3

Components

app/nullius/execution.py, app/nullius/workspace.py, app/nullius/judge/store.py, app/web/, app/templates/, the CLI

Today

Delete launch and workspace delete remove folders step by step; workspace writes are not tied to a workspace's identity.

Wanted

One release:

  • Every writer of workspaces and judgements takes the profile lock; the old per-workspace, index and named-launch locks go.
  • Workspace caches, rename and delete check the workspace's identity; forms send it.
  • Delete launch and workspace delete commit by one rename into the trash; both delete dialogs carry the generation of each run shown; a run name stays taken until its local cleanup is done.
  • Pending cleanup on Launches and Workspaces, with retry; nullius cleanup lists and retries entries.
  • A run records a per-run token in its host folder when it first claims it; restore and Delete act on a host folder only when the token matches (fix(execution): check a launch restored before it started as a fresh one #833 leaves a foreign folder holding the same part file names resumed as this run's).
  • Workspace cleanup seals its subject under the same short hold as its final check; every judgement and analysis writer refuses a sealed workspace, so a verdict saved after the check is never lost.
  • The release notes say to stop every web UI on a profile before upgrading.
  • An entry written by another profile (a moved or copied profile, a restored backup) stays pending; nullius cleanup --adopt TOKEN shows what it would remove and, once confirmed, lets this profile finish it.

Acceptance

Dependencies and related

Part of #825; needs its first two steps. Page and command: Launches, Workspaces and nullius cleanup agree.

Activity

  1. added
    enhancement
    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

    P3enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions