Windows stdout pipe drain hang fixes

NousResearch/hermes-agent · cluster 105865

Data as of

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

Multiple attempts to address a Windows-specific hang where blocking reads on stdout pipes stall when grandchild processes hold the pipe open. The work explores non-blocking drain approaches using PeekNamedPipe and related techniques.

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.

  • #115671 fix(terminal): Windows commands return promptly when a grandchild holds the stdout pipe (#105865, #67362, salvage #105981)

    merged to main

    files: tests/tools/test_drain_fd_windows.py, tools/environments/base_output.py

3 PRs closed without merging

From the close comments: duplicate 2 · superseded by another PR 1

  • #105893 fix(tools): non-blocking Windows stdout drain stops after child exit (#105865) · superseded by another PR → #105981
  • #105981 fix(terminal): prevent Windows stdout drain hangs · duplicate → #105893
  • #109096 fix(tools): use PeekNamedPipe to drain stdout on Windows to prevent os.read hang (fixes #105865) · duplicate → #105981, #105865
Closed issues · 1
  • Closed#105865Windows: terminal/file tool "local environment" hangs for minutes (blocking os.read stdout drain, no timeout)
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

Merged PRs
#115671
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
19 Sep 2026

For your agent

The same facts, typed.