Repository navigation
Conversation
|
[P2] Exercise both shutdown and unexpected disconnect paths [P2] Assert both audio-end accounting fields across terminal paths [P2] Register an independent Rime TTFB observer |
|
[P2] Report a normal disconnect when cancelling a synthesizer |
|
[P2] Report a normal disconnect on deliberate close instead of suppressing it The new [P2] Add regression tests for the closing-vs-unexpected disconnect split The PR changes how disconnects are classified. It adds no test, and it notes that extension tests were not run. The WebSocket test matrix in
Version bump Outside the TTS extension scope: this PR also adds review rules 13–14 to |
|
Recreating this PR from the TEN-framework repository branch instead of the fork branch. |
TTS review:
|
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