Enforce TTS provider contracts #43
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/zara!43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/zara-010-tts-contracts"
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
mpvWhy
Providers returned incompatible byte formats, Qwen could hang and leak file handles, and replacement utterances could overlap an earlier synthesis or player. Failures were logged without a structured result for callers.
Impact
Every enabled provider now yields declared playable audio or a bounded actionable failure. Playback follows one canonical lifecycle and a new utterance fully stops the prior one before starting.
Validation
nix develop -c scripts/test-tts.shnix develop -c bash -c 'pytest && for test_script in scripts/test-*.sh; do bash "$test_script"; done'nix buildCloses #11