Gateway stdout proxy chain growth causing RecursionError

NousResearch/hermes-agent · cluster 139687 · agent

Data as of

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

The short answer

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

These items appear to concern a gateway's sys.stdout proxy chain growing over long uptime and triggering a RecursionError in _line_buffer_piped_stdout. One is a bug report and two are fix-oriented pull requests aimed at preventing stacked stdio proxies.

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.

  • #141308 fix(agent): agent builds no longer wrap the thread-routing stdio proxy

    merged to main

    files: agent/process_bootstrap.py, tests/agent/test_thread_scoped_output.py

7 PRs closed without merging

From the close comments: superseded by another PR 7

  • #120329 fix(agent): _install_safe_stdio must not wrap the thread-scoped routing proxy · superseded by another PR → #141308, #139687
  • #134254 fix(agent): stop stdio wrapper chain growth across agent builds · superseded by another PR → #141308, #139687
  • #137883 fix(agent): stdout proxy __getattr__ delegation cycle killed agent builds with RecursionError at bootstrap · superseded by another PR → #141308, #139687
  • #139693 fix(gateway): avoid stacking stdio proxies · superseded by another PR → #141308, #139687
  • #140415 fix: prevent proxy chain growth causing RecursionError (#139687) · superseded by another PR → #141308, #139687
Show 2 more
  • #140863 fix: prevent proxy chain growth causing RecursionError (#139687) · superseded by another PR → #141308, #139687
  • #141013 fix(agent): stop agent builds from stacking a SafeWriter over the routing stdout proxy · superseded by another PR → #141308, #139687
Closed issues · 1
  • Closed#139687[Bug]: Gateway hits RecursionError in _line_buffer_piped_stdout after long uptime — sys.stdout proxy chain keeps growing
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.22: 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
#141308
Closed issues
1
Attempts
7 PRs closed without merging
Fix link checked
19 Oct 2026

For your agent

The same facts, typed.