NousResearch/hermes-agent

Logging fixes and resource leaks in AIAgent/gateway

Cluster 990 · agent. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
No fix has been merged to main. 3 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this resolved, deciding PR #1327. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address log handler accumulation on repeated AIAgent initialization, centralized logging setup, and related resource leaks affecting long-running gateway performance.

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.

  • #1327 fix: salvage non-redundant parts of PR #993

    merged to main

    files: environments/agent_loop.py, gateway/delivery.py, tests/gateway/test_delivery.py, tests/test_agent_loop.py, tests/test_trajectory_compressor.py, trajectory_compressor.py

3 PRs closed without merging

From the close comments: done elsewhere 3

  • #993 fix: resource leaks and crashes in long-running gateway · done elsewhere → #1327, #993
  • #1025 fix: prevent log handler accumulation in AIAgent.__init__ · done elsewhere
  • #1029 fix: prevent log handler accumulation in AIAgent.__init__ · done elsewhere
Closed issues · 1
  • Closed#990Log handler accumulates on every AIAgent init, degrading gateway performance
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

Subsystem
agent
Merged PRs
#1327
Closed issues
1
Attempts
3 PRs closed without merging

For your agent

The same facts, typed.