Gateway drain and restart timing edge cases
Cluster 82161 · gateway. Data as of
Nothing open on GitHub. Fix merged in #86684 on 15 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #86684. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #86684. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern bugs in gateway shutdown behavior, specifically around drain timeout zero not waiting for in-flight work and a deadlock risk during gateway-owned restarts.
Open issues0
Open PRs0
Fixes on record
-
#86684 fix(gateway): drain floor for in-flight cron + interrupted-cron notices before adapter disconnect
files:
cli-config.yaml.example,cron/scheduler.py,gateway/restart.py,gateway/run.py,hermes_cli/config_defaults.py,tests/gateway/restart_test_helpers.py,tests/gateway/test_cron_active_work_drain.py,tests/gateway/test_cron_drain_floor.py,tests/gateway/test_cron_interrupt_notification.py,tests/gateway/test_shutdown_cache_cleanup.py
2 PRs closed without merging
From the close comments: merged via another change 1 · superseded by another PR 1
Closed issues · 1
- Closed#82161Gateway drain exits after 0.00s with in-flight cron job, killing it mid-run
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.00means 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 LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #86684
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 15 Aug 2026