Resolve generic TTS from audio publication and preserve admitted work during drain
This commit is contained in:
1 parent
c60de7db2c
commit
e83b30badc
4 files changed
+112
-5
No files matched your search
@@ -0,0 +1,54 @@
|
||||
# Generic TTS alias and safe drain — 27 October 2026
|
||||
|
||||
## Reproduced live failure
|
||||
|
||||
After shared Hermes configuration was corrected to `tts.openai.model: tts`,
|
||||
Conduit was reported to play an Edge-like replacement voice. No new Articulino
|
||||
job appeared. A bounded synthetic request reproduced:
|
||||
|
||||
- `POST /v1/audio/speech`, model `tts`: HTTP 409,
|
||||
`tts_default_ambiguous`, before any synthesis.
|
||||
- Same request with explicit `articulino-anna-cpu`: HTTP 200, mono PCM16 24 kHz,
|
||||
176,640 bytes (3.68 seconds audio), first bytes 0.7787 seconds, total 0.8975
|
||||
seconds. No LLM turn or production text was used.
|
||||
|
||||
Athena advertised one dedicated audio profile (Articulino) plus the independent
|
||||
voice-tool profile OmniVoice Studio. The old alias resolver counted both as
|
||||
TTS candidates, contradicting the UI's single TTS publication and the desired
|
||||
stable client endpoint. The exact origin of the perceived Edge replacement
|
||||
voice has not been established; the verified failure is the rejected upstream
|
||||
request, not a confirmed native playback defect.
|
||||
|
||||
## Correction
|
||||
|
||||
Dedicated `kind=audio` publication now controls `model=tts`. Voice-tool profiles
|
||||
are considered only when no dedicated audio profile is published, preserving
|
||||
voice-only clients. Multiple audio publications still produce 409; disabled or
|
||||
unrunnable profiles do not become silently available. Explicit voice-tool model
|
||||
names and publication are preserved; OmniVoice was not disabled or removed.
|
||||
No client patch, provider change or extra service is needed.
|
||||
|
||||
A separate safety regression test found that the old stop implementation let
|
||||
active replies finish but rejected already queued chat/image work through its
|
||||
post-queue state guard. The authenticated route now records admission and lets
|
||||
only those already accepted requests continue during `stopping`. The initial
|
||||
route guard still rejects all new requests, and profile revision/enable checks
|
||||
remain enforced. This makes the requested maintenance drain semantics explicit.
|
||||
The running old instance had zero queued work in the observations before the
|
||||
operator drain; no running model response was intentionally cancelled.
|
||||
|
||||
## Validation / activation
|
||||
|
||||
- Initial alias-only regression run: 83 tests passed.
|
||||
- Alias + drain implementation: 84 tests passed across endpoint, Articulino,
|
||||
Pocket and native Qwen.
|
||||
- Additional boundary check: two tests passed, proving two active synthetic
|
||||
streams plus a queued request finish, while new requests in `stopping`
|
||||
receive 503 before any lease/model execution.
|
||||
- Thin image built from the verified currently active Articulino image, replacing
|
||||
only `endpoint.py`; no OS/driver/runtime/weight change.
|
||||
- Automatic approval initially rejected the stop button with two active requests.
|
||||
No alternate control path was used. Michael then explicitly authorized pausing
|
||||
new admissions, letting existing work finish and restarting Deck afterward.
|
||||
|
||||
Production activation and post-change alias/client acceptance pending.
|
||||
Reference in new issue
Block a user