NousResearch/hermes-agent

Matrix crypto DB shutdown race condition fix

Cluster 63395 · gateway. Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 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 race condition causes database pool errors and log flooding when the Matrix crypto database closes before pending handlers finish. These items address draining the event loop and crypto handlers before DB shutdown.

Open issues1

  • Issue#63395Matrix cron delivery to encrypted room succeeds, then floods logs with `RuntimeError: database pool has been stopped` and disconnects

Open PRs2

  • PR#63431fix(matrix): drain crypto handlers before DB shutdown
  • PR#63440fix(matrix): drain event loop before closing _crypto_db to prevent pool race (#63395)
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
gateway
Closed issues
0
Attempts
0 PRs closed without merging

For your agent

The same facts, typed.