The × of a queued or running build cancels it, deleting it is refused (v1.30.1) #95

Merged
mi merged 2 commits from mihoe/no-delete-of-active-builds into main 2026-10-03 15:59:45 +02:00
Owner

The × on a running row deleted the stored result while the build ran on, holding its branch (a deploy waited behind it for hours) and unreachable for cancel.

  • DELETE answers 409 for a queued or running build.
  • cancel asks the executor (BuildExecutor.isActive) instead of the stored results, so an orphaned build can still be stopped.
  • Pending and running rows render the × as "Cancel build".

PR-doc: docs/prs/2026-10-03-PR#95-cancel-instead-of-delete-of-active-builds.md

🤖 Generated with Claude Code

The × on a running row deleted the stored result while the build ran on, holding its branch (a deploy waited behind it for hours) and unreachable for cancel. - `DELETE` answers 409 for a queued or running build. - `cancel` asks the executor (`BuildExecutor.isActive`) instead of the stored results, so an orphaned build can still be stopped. - Pending and running rows render the × as \"Cancel build\". PR-doc: `docs/prs/2026-10-03-PR#95-cancel-instead-of-delete-of-active-builds.md` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-03 15:49:38 +02:00
The × on a running row deleted the stored result while the build ran on,
holding its branch and unreachable for cancel, which looked it up in the
results. Cancel now asks the executor (BuildExecutor.isActive), DELETE
answers 409 for an active build, and pending/running rows render the ×
as "Cancel build".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi force-pushed mihoe/no-delete-of-active-builds from a4a21fb132 to 58e1e0c694 2026-10-03 15:49:38 +02:00 Compare
mi changed title from The × of a queued or running build cancels it, deleting it is refused (v1.29.2) to The × of a queued or running build cancels it, deleting it is refused (v1.30.1) 2026-10-03 15:49:39 +02:00
mi added 1 commit 2026-10-03 15:57:33 +02:00
mi merged commit 95bd17fb2a into main 2026-10-03 15:59:45 +02:00
mi deleted branch mihoe/no-delete-of-active-builds 2026-10-03 15:59:45 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkator#95