Fix live dict mutation during plugin module eviction

NousResearch/hermes-agent · cluster 123926 · 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 where iterating over sys.modules live during plugin eviction causes a 'dictionary changed size during iteration' error, silently dropping plugins. The associated fixes snapshot sys.modules before iterating to avoid this.

Open issues1

  • Issue#123926[Bug]: Plugins silently dropped at boot — _evict_modules iterates sys.modules live (dictionary changed size during iteration)

Open PRs2

  • PR#123936fix(plugins): snapshot sys.modules in _evict_modules before iterating
  • PR#132367fix(plugins): evict sys.modules through an atomic snapshot

1 PR closed without merging

From the close comments: other 1

  • #131264 fix(plugins): snapshot sys.modules before eviction · other → 37a0ecb
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.