Hindsight plugin aiohttp connection leak fixes

NousResearch/hermes-agent · cluster 11923 · agent

Data as of

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

The short answer

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

Multiple issues and fixes addressing aiohttp ClientSession and connector leaks in the Hindsight plugin, including retry behavior, shutdown cleanup, and event loop handling. The fixes span several iterations as the leak persisted across attempts.

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.

  • #119888 hindsight moves to the plugin catalog (auto-migrated on first start / hermes update)

    merged to main

    files: .github/workflows/tests-os.yml, .github/workflows/tests.yml, COMPAT_MANIFEST.md, CONTRIBUTING.es.md, CONTRIBUTING.md, Dockerfile, compat_manifest.json, hermes_cli/config_defaults.py, hermes_cli/memory_setup.py, hermes_cli/subcommands/memory.py, hermes_cli/tips.py, hermes_cli/update_cmd.py, hermes_cli/web_server_memory.py, nix/checks.nix, nix/hermes-agent.nix, nix/moduleCommon.nix, nix/packages.nix, plugins/AGENTS.md, plugins/memory/__init__.py, plugins/memory/hindsight/README.md (+30 more)

2 PRs closed without merging

From the close comments: closed without comment 1 · done elsewhere 1

  • #14109 fix(hindsight): preserve shared event loop across provider shutdowns · closed without comment
  • #45693 fix(hindsight): close aiohttp client on retry to prevent connection leak · done elsewhere → 9d799e0, 4cbf862, dc75038, 4c3e5cf, #119888
Closed issues · 2
  • Closed#11923[Bug]: Hindsight still leaks aiohttp ClientSession/connector after fix #4762
  • Closed#45676Hindsight plugin aiohttp connection leak causes Desktop "session not found"
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.34: 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
#119888
Closed issues
2
Attempts
2 PRs closed without merging
Fix link checked
23 Sep 2026

For your agent

The same facts, typed.