NousResearch/hermes-agent

Windows Telegram polling deadlock and typing re-arm fixes

Cluster 87057 · gateway. Data as of

Nothing open on GitHub. Fix merged in #99691. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #99691. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #99691. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and fixes address a Windows-specific deadlock where stale CLOSE-WAIT sockets block getUpdates long-polling reconnects, and a related problem where awaiting typing re-arms on streaming replies pins the event loop and causes polling to stop receiving updates.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #99691 fix(telegram): recover Windows CLOSE-WAIT getUpdates reconnect deadlock

    merged to main

    files: .github/workflows/windows-venv-e2e.yml, plugins/platforms/telegram/adapter.py, plugins/platforms/telegram/telegram_network.py, tests/gateway/test_telegram_closewait_limits_31599.py, tests/gateway/test_telegram_closewait_windows_live.py, tests/gateway/test_telegram_network.py, tests/gateway/test_telegram_network_reconnect.py

  • #112201 fix(telegram): streaming replies no longer pin the event loop on typing re-arms, so getUpdates polls stop going deaf (#111727, salvage #111886)

    merged to main

    files: contributors/emails/[redacted:email], plugins/platforms/telegram/adapter.py, tests/gateway/test_telegram_typing_retrigger.py

2 PRs closed without merging

From the close comments: merged via another change 2

  • #87265 fix(telegram): prevent Windows long-poll socket reuse deadlock · merged via another change → #99691, #87111
  • #111886 fix(telegram): schedule the post-send typing re-arm instead of awaiting it · merged via another change → 3250020, #112201
Closed issues · 1
  • Closed#87057[Bug]: Windows long-polling deadlock on Telegram reconnect (CLOSE-WAIT stale socket hang)
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.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means 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 Lab

At a glance

Subsystem
gateway
Merged PRs
#99691, #112201
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
16 Sep 2026

For your agent

The same facts, typed.