Telegram gateway session and race condition fixes
Cluster 18912. Data as of
Nothing open on GitHub. Fix merged in #19182 on 3 May 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 #19182. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #19182. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address bugs in the Telegram gateway related to active-session guards, a race condition where /new during an active session never returns a response, and related HA/WebSocket issues. The work centers on ordering fixes and bypass prevention for session lifecycle commands.
Open issues0
Open PRs0
Fixes on record
-
#19182 fix(gateway): batch critical fixes — session resume, /new race, HA WebSocket scheme
files:
gateway/platforms/base.py,gateway/platforms/homeassistant.py,gateway/run.py,gateway/session.py,scripts/release.py,tests/gateway/test_clean_shutdown_marker.py,tests/gateway/test_restart_resume_pending.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#18915 fix(gateway): send /new response before cancel_session_processing to avoid race (#18912) · merged via another change →
#19182
Closed issues · 1
- Closed#18912Race condition: /new during active agent session never sends response (Telegram gateway)
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
- Merged PRs
- #19182
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 3 May 2026