{"repo":"NousResearch/hermes-agent","public_id":"9354","display_label":"Gateway thread context propagation for cron delivery","summary":"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.","subsystem":"gateway","counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":0,"attempt_prs":3},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[],"members":[{"kind":"issue","number":9354,"title":"Gateway agent threads lose session contextvars, breaking cron origin delivery","url":null,"state":"closed"},{"kind":"pr","number":9391,"title":"fix(gateway): propagate contextvars to agent worker threads via asyncio.to_thread","url":null,"state":"closed","close_reason":{"category":"implemented_elsewhere","implication":"superseded"},"merged":false,"is_fix_pr":true,"fix_tier":"suggested","fix_detail_withheld":true},{"kind":"pr","number":9592,"title":"fix: replace loop.run_in_executor with asyncio.to_thread in gateway runner","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"8021a735c283b1b9a062ba6e64dae0090214482b","number":0},{"kind":"pr","value":"#9391","number":9391}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false,"is_fix_pr":true,"fix_tier":"suggested","fix_detail_withheld":true},{"kind":"pr","number":39390,"title":"fix(gateway): copy context into run_in_executor for _run_agent","url":null,"state":"closed","close_reason":{"category":"uncategorized","implication":"needs_llm"},"merged":false,"is_fix_pr":true,"fix_tier":"suggested","fix_detail_withheld":true}],"trust":{"default_tier":"verified","includes_suggested":false}}