MoA runtime cache unbounded memory and key retention

NousResearch/hermes-agent · cluster 130243 · agent

Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 1 PR closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
1 issue and 2 PRs.

A bug was identified where the _runtime_cache in agent/moa_loop.py is never evicted, retaining looked-up API keys and runtime entries indefinitely. The associated fixes add expiration and eviction logic to bound the cache size.

Open issues1

  • Issue#130243[Bug]: `_runtime_cache` in `agent/moa_loop.py` is never evicted, so every resolved (profile, provider, model) runtime — including its resolved api_key — is retained for the life of the process

Open PRs2

  • PR#130250fix(agent): evict stale MoA runtime cache entries
  • PR#131451fix(cache): bound the credential-keyed process caches (rebase of #130664)

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #130258 fix(agent): evict expired entries and bound _runtime_cache in moa_loop #130243 · superseded by another PR → #130250
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.50: 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
Closed issues
0
Attempts
1 PR closed without merging

For your agent

The same facts, typed.