Gateway: interrupt runs when session slot evicted

NousResearch/hermes-agent · cluster 106963

Data as of

Nothing open on GitHub. Fix merged in #107979. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #107979. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #107979. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and pull requests address gateway behavior around in-flight runs whose session turn slots are evicted or reaped, ensuring such runs are properly interrupted. A related concern involves a one-shot model override surviving a /stop command correctly.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #107979 fix(gateway): a run whose session slot is evicted is interrupted, and a one-shot model override survives /stop correctly (#106963, salvage #107013)

    merged to main

    files: gateway/run.py, gateway/run_agent_cache.py, gateway/run_inbound.py, gateway/run_turn.py, gateway/session_state.py, gateway/slash_commands_model.py, gateway/turn_lease.py, tests/gateway/test_gateway_command_dispatch_minimal.py, tests/gateway/test_moa_one_shot_restore.py, tests/gateway/test_model_switch_persistence.py, tests/gateway/test_reaped_eviction_interrupts_run.py, tests/gateway/test_reaped_session_recovery.py, tests/hermes_cli/test_pre_command_hook.py

3 PRs closed without merging

From the close comments: superseded by another PR 2 · done elsewhere 1

  • #106964 fix(gateway): interrupt in-flight run on reaped-session eviction · superseded by another PR → #106963, #107013, #106964, #106966
  • #106966 fix(gateway): interrupt the run when its session's turn slot is evicted · superseded by another PR → a4fe480, 8e85b27, #106963, #44212, #44222, #106964, #105918, #106966
  • #107013 fix(gateway): interrupt evicted in-flight runs · done elsewhere → 0240afd, cdf4c76, 77e55b4, 539381d, ae0f4fa, 09fe65d, #107013, #28686, #106963, #106966, #106964, #99183
Closed issues · 1
  • Closed#106963gateway: evicting a reaped session does not interrupt the in-flight run (51 calls / 7.9M tokens after its result was dropped)
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

Merged PRs
#107979
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
12 Sep 2026

For your agent

The same facts, typed.