A planned project can't be archived or deleted, only its runs one by one #322

Closed
opened 2026-10-29 22:26:06 -04:00 by cmoriarty · 2 comments
Owner

What happens
A planned project can't be archived or deleted. Home draws it as one row, with no Select box and no archive or delete. Its runs, the plan run and every item run, are folded into that row, so Home's Select can't reach them either. The API has GET /api/projects/{id} and the backend switch, and nothing else. The only way out is to open each of its runs and archive or delete it there, one at a time.

Fix

  • Select reaches a project's row, and a project's page gets Archive and Delete, as a run's page has.
  • Archive hides the project and all its runs, with Restore.
  • Delete removes them all behind a typed confirmation, as a run's Delete does (#167): history, files, branches, and its open pull requests closed.
  • A project with a running item asks to stop it first.

Done when
From Home or its page, a finished project is archived in one step, appears under archived with Restore, and can be deleted with all its runs. Tests cover both.

**What happens** A planned project can't be archived or deleted. Home draws it as one row, with no Select box and no archive or delete. Its runs, the plan run and every item run, are folded into that row, so Home's Select can't reach them either. The API has `GET /api/projects/{id}` and the backend switch, and nothing else. The only way out is to open each of its runs and archive or delete it there, one at a time. **Fix** - Select reaches a project's row, and a project's page gets **Archive** and **Delete**, as a run's page has. - Archive hides the project and all its runs, with Restore. - Delete removes them all behind a typed confirmation, as a run's Delete does (#167): history, files, branches, and its open pull requests closed. - A project with a running item asks to stop it first. **Done when** From Home or its page, a finished project is archived in one step, appears under archived with Restore, and can be deleted with all its runs. Tests cover both.
Author
Owner

The operator: this work is done with the Home redesign by repository, #321, as one change. A project's Archive and Delete sit in its repository's group.

The operator: this work is done with the Home redesign by repository, #321, as one change. A project's Archive and Delete sit in its repository's group.
Author
Owner

Done in batch B, merged as #355 (91f4b85f), and live on production: Braid reports commit c00c62f, which includes it. It was checked with the repo's tests and sims before the merge. A live check on vLLM is still to come: trogdor is off the network. Closed at the owner's request.

Done in batch B, merged as #355 (`91f4b85f`), and live on production: Braid reports commit `c00c62f`, which includes it. It was checked with the repo's tests and sims before the merge. A live check on vLLM is still to come: trogdor is off the network. Closed at the owner's request.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#322
No description provided.