Files
voicebox/backend/services
jamiepineandcapy-ai-staging[bot] 755c664e66 fix(history): commit generation delete cascade once, roll back on unlink failure
Review follow-up: _delete_generation_children defaulted to committing the
story-item and version deletes before the main audio unlink, so a locked
file left the generation row in place with its story items already gone.
Both single-delete and the failed-generation sweep now pass commit=False
and commit once with the generation row; a failed unlink rolls back.
2026-10-04 00:19:41 +00:00
..