NousResearch/hermes-agent

SessionDB writer lock contention affecting turn-lease renewal

Cluster 139959 · agent · Bug. 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.

These items center on turn-lease renewal being starved by the process-wide SessionDB writer lock under multi-worker load, with one bug report and two fix-oriented PRs addressing local writer starvation and write patience when acquiring the writer mutex. The titles suggest a shared theme, but they don't confirm the outcome of any change.

Open issues1

  • Issue#139959[Bug]: Turn-lease renewal starves behind the process-wide SessionDB writer lock under multi-worker load, hard-interrupting long healthy turns (session_turn_lease_lost)

Open PRs2

  • PR#139984fix(state): prevent local writers from starving turn lease renewal
  • PR#145813fix(state): honor write patience when acquiring the writer mutex
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.

For your agent

The same facts, typed.