TASK: Persist generated playlist session atomically #32

Open
opened 2026-05-15 17:34:25 -04:00 by darkhelm · 0 comments
Owner

Parent

#5

What to build

Write active playlist session and entries atomically with rollback on partial failure.

Acceptance criteria

  • Session and entries commit in a single transaction
  • Previous active state is replaced safely
  • Recovery tests cover interrupted generation

Blocked by

Notes

  • Python backend code must be fully typed and async-safe.
  • Any blocking work must be wrapped through thread/process execution paths as appropriate.
  • Must pass lint, format, typing, docstring, and test quality gates.
## Parent #5 ## What to build Write active playlist session and entries atomically with rollback on partial failure. ## Acceptance criteria - [ ] Session and entries commit in a single transaction - [ ] Previous active state is replaced safely - [ ] Recovery tests cover interrupted generation ## Blocked by - #31 ## Notes - Python backend code must be fully typed and async-safe. - Any blocking work must be wrapped through thread/process execution paths as appropriate. - Must pass lint, format, typing, docstring, and test quality gates.
darkhelm added this to the v1 Dynamic Realtime Playlist milestone 2026-05-15 17:34:25 -04:00
darkhelm added the afkbackendtaskdatabase labels 2026-05-15 17:34:26 -04:00
darkhelm added this to the Main Project Board project 2026-05-15 17:50:53 -04:00
darkhelm removed this from the Main Project Board project 2026-05-15 17:53:09 -04:00
darkhelm modified the milestone from v1 Dynamic Realtime Playlist to E4 - Playlist Generation Engine 2026-05-15 17:56:32 -04:00
Sign in to join this conversation.