Repository navigation
Backlog
Backlog
Copy link
Labels
Description
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 cleanuplists 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 TOKENshows what it would remove and, once confirmed, lets this profile finish it.
Acceptance
- The items above ship together
- An entry from another profile is never cleaned without
--adoptand confirmation - A failed save during a rerun or a delete is ignored and the run's record falls behind #769 (delete half), A Delete launch retried after a partial removal keeps the judgements of a job it already erased #776, Workspaces: a late write from a renamed workspace lands in a new workspace created under its old name #798, Runs: a new launch under a name being deleted can be removed or unregistered by that delete #802, Runs: a multi-machine launch's decision file is left behind after an interrupted launch #809 and Delete: a root that disappears during the copy scan lets Delete drop judgements another copy still needs #824 can be closed
Dependencies and related
Part of #825; needs its first two steps. Page and command: Launches, Workspaces and nullius cleanup agree.
Activity