feat: delete control for done and failed entries #2
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/delete-control"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
A delete control on the main page's episode list — remove Episodes you no longer want, along with their audio files.
Behavior
confirm('Delete this episode?')— same no-framework precedent as the polling scriptPOST /entries/<public_id>/delete→ 303 back to/; behind UI basic auth; malformed/unknown ids → 404; GET → 405store.DeleteEntryremoves episode + job rows in one transaction and returns the audio path; the handleros.Removes it (best-effort — the row is the contract)Tests
10 new seam tests in
internal/server/delete_test.go(file+rows+feed removal, failed delete, queued/processing rejection, missing/malformed ids, auth, 405, form rendering, re-capture-after-delete).mise run check+mise run testgreen; runtime smoke with fake runner verified file/feed/page cleanup and restart-safety.Closes MCAST-14.
hijynx referenced this pull request2026-09-06 19:04:32 -06:00