Commit Graph
4 Commits
Author SHA1 Message Date
debpalash 348862f9b4 fix(profiles): retire superseded voice takes instead of deleting them mid-render (#2535)
A running audiobook, Stories, dub or batch render resolves the voice's
reference path once and re-reads it per segment. Re-lock, unlock and
reference replacement now mark the superseded file under voices/.retired/
and a sweep (on lock and at startup) removes it once it is unreferenced
and older than 24 h.
2026-10-04 14:55:20 +05:30
debpalash ce32e60647 fix(profiles): give each locked take a new reference identity (#2535) 2026-10-04 06:10:59 +05:30
Palash DebnathandClaude Sonnet 5.5 97e839a7fe fix(profiles): keep lock/consent audio and rows consistent under failure and races
Install staged audio with a restorable backup before committing its row,
restore on any failure, serialize lock/unlock/consent file swaps, name the
FileNotFoundError skip (CodeQL), and drop the real-timer race in the offline
delete test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 20:50:51 +05:30
Palash DebnathandClaude Sonnet 5.5 37cd8fd06b fix(data): remove history/lock/consent files only after their DB change commits
Same class as #2483: clear/delete/prune history and unlock unlinked audio
before the transaction committed; consent re-record deleted the previous
recording first; lock copied over the live locked take in place. Stage files
and swap/unlink after commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 18:45:35 +05:30