fix(runtime): avoid bounded dispatch channel stalls#5015
Conversation
Code Review: fix(runtime): avoid bounded dispatch channel stallsOverviewThis PR converts bounded
The change is mechanically correct and the Issues1. The function is still declared 2. CLAUDE.md pattern: prefer CLAUDE.md says: "Actor-owned lifecycle / dispatch / lifecycle-event inbox producers use The prescribed fix for "do not await a bounded send" is
3. Unbounded memory growth risk for gateway channels The gateway channels route live per-request WebSocket traffic. With a slow or stalled consumer task, messages will now accumulate without bound. The old 128-message cap was a safety valve against misbehaving or slow clients causing unbounded memory growth in the gateway process. At minimum, add a comment near each Minor
|
9c656c0 to
a499917
Compare
9de6238 to
71dd250
Compare
71dd250 to
becf8f8
Compare
a499917 to
da0205b
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: