Repository navigation
fix: avoid fatal status for normal Rime TTS shutdown - #2407
Conversation
|
[P2] Report a nonfatal disconnect when cancellation replaces the socket
[P2] Exercise the real WebSocket shutdown and replacement paths The local lifecycle tests cover the replacement helper, while the request and flush tests mock [P2] Assert audio-end accounting across terminal paths The local suite reads [P2] Register an independent Rime TTFB reference Neither guarder TTFB hook registry includes |
|
TTS review ( Behavior note (not a defect): Version metadata: Outside the TTS extension
|
Problem
Rime TTS reports code -1000 when its websocket closes normally during extension shutdown, which misclassifies a normal close as an unrecoverable error.
Goal
Suppress the fatal disconnect callback for deliberate shutdown and bump the Rime TTS package version to 0.4.15.
Design rationale
The websocket processing cleanup path now reports fatal disconnect only when the session is not already closing. Normal shutdown is handled by the caller and does not emit -1000.
Validation