NousResearch/hermes-agent

Shared OpenAI client closed by streaming watchdog

Cluster 70773. Data as of

Nothing open on GitHub. Fix merged in #70993 on 24 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 #70993. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #70993. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and fixes concern a bug where a streaming watchdog closes the shared OpenAI client from a non-owner thread, causing file-descriptor recycling that corrupts SQLite via TLS. The problem affects both the built-in and custom OpenAI-compatible providers.

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.

  • #70993 fix(agent): stop cross-thread close of the shared OpenAI client (TLS FD-recycle SQLite corruption)

    merged to main

    files: agent/agent_runtime_helpers.py, agent/chat_completion_helpers.py, run_agent.py, tests/run_agent/test_70773_shared_client_fd_corruption.py, tests/run_agent/test_primary_runtime_restore.py, tests/run_agent/test_run_agent.py, tests/run_agent/test_run_agent_codex_responses.py

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #70802 fix(agent): prevent shared OpenAI client FD-recycle corruption from stale stream watchdog · merged via another change → #70993, #70773
  • #71105 fix(streaming): never close OpenAI shared client from watchdog · done elsewhere → #70993, #70773
Closed issues · 1
  • Closed#70773Custom OpenAI-compatible provider still corrupts SQLite via TLS FD reuse in v0.18.2 — streaming stale watchdog closes shared client pool from non-owner thread
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

Merged PRs
#70993
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
24 Jul 2026

For your agent

The same facts, typed.