Gateway session.replay_gap handling when clients fall behind
Cluster 140388 · gateway. Data as of
Nothing open on GitHub. Fix merged in #140968 on 18 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #140968. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These members appear to concern clients that fall behind or reconnect and how session.replay_gap is handled by the gateway and CLI. One reports the CLI hanging on later turns after a replay gap was treated as a turn failure, and another proposes re-attaching instead of ending the turn in error; the outcome is not established by the titles.
Open issues0
Open PRs0
Fixes on record
-
#140968 Clients that fall behind, reconnect or wait recover from the gateway instead of failing the turn (package 10 lane 2)
files:
acp_adapter/gateway_reply.py,acp_adapter/gateway_server.py,agent/session_persistence.py,apps/desktop/src/app/chat/session-tile-actions.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/owner-forward.test.tsx,apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/utils.ts,apps/desktop/src/i18n/en.ts,apps/desktop/src/i18n/overlay-gaps.json,apps/desktop/src/lib/error-surface.ts,apps/shared/src/gateway-contract.generated.ts,apps/shared/src/gateway-contract.openrpc.json,gateway/platforms/api_server.py,gateway/platforms/api_server_bot_chat.py,gateway/run_turn_persistence.py,gateway/run_turn_progress.py,gateway/run_turn_runner.py,gateway/session_api_turn.py,gateway/session_authority.py,gateway/session_automation.py(+45 more)
1 PR closed without merging
From the close comments: done elsewhere 1
-
#140389 fix(gateway): re-attach after session.replay_gap instead of failing the turn · done elsewhere →
f0892ef,#140968
Closed issues · 1
- Closed#140388CLI hangs on every later turn after it falls behind a long answer (session.replay_gap treated as a failed turn)
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #140968
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 18 Oct 2026