NousResearch/hermes-agent

Gateway thread context propagation for cron delivery

Cluster 9354 · gateway. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

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

These issues and PRs concern contextvars (session variables) not being propagated to agent worker threads in the gateway, which affects cron-based delivery. Proposed fixes involve switching to asyncio.to_thread or explicitly copying context into executor calls.

Open issues0

No open issues.

Open PRs0

No open pull requests.

3 PRs closed without merging

From the close comments: done elsewhere 2 · other 1

  • #9391 fix(gateway): propagate contextvars to agent worker threads via asyncio.to_thread · done elsewhere
  • #9592 fix: replace loop.run_in_executor with asyncio.to_thread in gateway runner · done elsewhere → 8021a73, #9391
  • #39390 fix(gateway): copy context into run_in_executor for _run_agent · other
Closed issues · 1
  • Closed#9354Gateway agent threads lose session contextvars, breaking cron origin delivery
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
gateway
Closed issues
1
Attempts
3 PRs closed without merging

For your agent

The same facts, typed.