NousResearch/hermes-agent

WeCom adapter websocket close causing 100% CPU busy-loop

Cluster 49918 · gateway · Bug. Data as of

4 open items. Fix attempted, not merged.

The short answer

2open issues
2open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. See the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

All four members concern the WeCom adapter spinning at 100% CPU when its websocket closes, with one report also noting it freezes all platforms. Several are proposed fixes that guard against a closed websocket in the event-reading loop, and one references a related earlier issue (#28293).

Open issues2

  • Issue#49918fix(wecom): WeCom adapter still spins 100% CPU on silent ws close (related to #28293)
  • Issue#55487WeCom adapter busy-loop consumes 100% CPU on websocket disconnect, freezes all platforms

Open PRs2

  • PR#49941fix(wecom): prevent 100% CPU spin on silent websocket close
  • PR#56436fix(gateway): guard closed websocket in WeCom _read_events to prevent busy-loop (#55487)
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.39: 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.

For your agent

The same facts, typed.