You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P0: _create_conversation_fallback blocks backend-listen event loop — pod killed by liveness probe #6061
Pod ml9h7 killed by liveness probe (10:01 UTC 2026-03-26) while serving 22 WS connections. Root cause: _create_conversation_fallback in transcribe.py:715-737 runs process_conversation() synchronously on the backend-listen event loop when pusher is degraded.
Current Behavior
When pusher is degraded, conversation processing falls back to _create_conversation_fallback
_process_conversation() routes to fallback when pusher degraded
routers/transcribe.py
739-754
cleanup_processing_conversations() also routes to fallback
Solution
Wrap blocking calls in asyncio.to_thread() and add asyncio.Semaphore(1) to limit concurrent fallback processing per session, preventing cascade when multiple sessions degrade simultaneously.
Impact
P0 — pod kill disconnects all active users on the pod, not just the session that triggered fallback.
Activity
fix(transcribe): offload fallback conversation processing to thread (#…
test(transcribe): add fallback event loop blocking tests (#6061)
chore: add fallback event loop blocking test to test.sh (#6061)
test(transcribe): add status transition, cancellation, and return sha…
feat(redis): add deferred conversation queue for pusher processing (#…
fix(transcribe): remove all heavy processing — enqueue to Redis inste…
feat(pusher): add deferred queue worker to drain Redis conversation q…
feat(pusher): start deferred queue worker on startup (#6061)
test(transcribe): rewrite tests for Redis queue architecture (#6061)
fix(redis): atomic enqueue + crash-safe dequeue with ack/nack (#6061)
fix(pusher): add ack/nack and crash recovery to deferred queue worker (…
test(fallback): add crash-safe queue tests — ack/nack, pipeline, lmove (
fix(redis): use Lua scripts for fully atomic enqueue and recovery (#6061
test(fallback): add Lua atomicity and recovery tests (#6061)
fix(redis): preserve dedup lock on nack/recover to prevent duplicate …
48 remaining items
chore(test): add test_listen_fallback_removal.py to test.sh (#6061)
fix(transcribe): check pusher before marking processing to avoid stra…
test(transcribe): update null guard test + remove unused imports (#6061)
test(transcribe): add boundary tests for reconnect cap, circuit break…
docs(listen): update pipeline docs for #6061 local fallback removal
fix(transcribe): remove local conversation fallback, keep buffered fo…
fix(transcribe): guard against PUSHER_ENABLED=false in conversation p…
test(transcribe): add 15 tests for BasedHardware#6061 fallback remova…
chore(test): add test_listen_fallback_removal.py to test.sh (BasedHar…
fix(transcribe): check pusher before marking processing to avoid stra…
test(transcribe): update null guard test + remove unused imports (Bas…
test(transcribe): add boundary tests for reconnect cap, circuit break…
docs(listen): update pipeline docs for BasedHardware#6061 local fallb…
fix(transcribe): remove local fallback, buffer for pusher recovery (B…
chore(app): bump version to 1.0.528+795 (BasedHardware#6121)