NousResearch/hermes-agent

Pet image cache leak and related resource leaks

Cluster 52602 · agent/pet. Data as of

Nothing open on GitHub. Fix merged in #86755 on 15 Aug 2026. Check it covers your case.

The short answer

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

A bug was identified where pet generation leaves intermediate images in the cache directory, causing unbounded disk growth. Related fixes address multiple resource leaks including thread file descriptors, browser daemons, Relay scope, and session leases.

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.

  • #86755 fix: purge resource-leak cluster — thread output FDs, browser daemons, pet image cache, Relay scope pop, session leases

    merged to main

    files: agent/pet/generate/orchestrate.py, agent/relay_llm.py, agent/relay_runtime.py, agent/thread_scoped_output.py, contributors/emails/[redacted:email], hermes_cli/active_sessions.py, hermes_cli/observability/relay_shared_metrics.py, tests/agent/test_pet_generate.py, tests/agent/test_relay_scope_pop_metadata.py, tests/agent/test_thread_scoped_output.py, tests/hermes_cli/test_active_sessions.py, tests/tools/test_browser_orphan_reaper.py, tools/browser_tool.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #52603 fix(pets): stop leaking intermediate images in cache/images · merged via another change → #86755
Closed issues · 1
  • Closed#52602[Bug]: pet generation leaks intermediate images in cache/images (unbounded disk growth outside the gateway)
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.67: 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/pet
Merged PRs
#86755
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
15 Aug 2026

For your agent

The same facts, typed.