NousResearch/hermes-agent

Agent abort fails silently when no sockets found

Cluster 72975 · agent. Data as of

Nothing open on GitHub. Fix merged in #73330 on 28 Jul 2026. Check it covers your case.

The short answer

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

A bug where interrupting or aborting an agent request silently no-ops if force_close_tcp_sockets finds zero sockets, leaving requests alive. Fixes involve logging a warning and escalating the abort in that case, plus shutting down httpx mount pool sockets.

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.

  • #73330 fix(agent): shut down sockets on httpx mount pools during interrupt abort

    merged to main

    files: agent/agent_runtime_helpers.py, run_agent.py, tests/run_agent/test_create_openai_client_reuse.py, tests/run_agent/test_tls_fd_recycle_corruption.py

2 PRs closed without merging

From the close comments: done elsewhere 1 · superseded by another PR 1

  • #73016 fix(agent): escalate abort when force_close_tcp_sockets finds 0 sockets (#72975) · done elsewhere → 173fec8, #72975
  • #73059 fix(agent): log warning when client abort shuts down 0 active sockets (#72975) · superseded by another PR → #73330
Closed issues · 1
  • Closed#72975Interrupt/abort silently no-ops when force_close_tcp_sockets() finds 0 sockets, leaving the request alive for minutes
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.50: 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
agent
Merged PRs
#73330
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
28 Jul 2026

For your agent

The same facts, typed.