Skip to content

fix(gateway): auto-resume interrupted sessions after restart#14954

Closed
grabyourfiles wants to merge 1 commit into
NousResearch:mainfrom
grabyourfiles:fix/gateway-auto-resume-after-restart
Closed

fix(gateway): auto-resume interrupted sessions after restart#14954
grabyourfiles wants to merge 1 commit into
NousResearch:mainfrom
grabyourfiles:fix/gateway-auto-resume-after-restart

Conversation

@grabyourfiles

Copy link
Copy Markdown

Summary

  • mark recently active sessions as resume_pending after unclean gateway exits instead of auto-resetting them
  • inject an internal synthetic continuation turn after adapters reconnect, so interrupted work resumes without user confirmation
  • keep stuck-loop protection via existing restart failure counters and suspended sessions

Tests

  • pytest tests/gateway/test_auto_resume_pending_sessions.py tests/gateway/test_clean_shutdown_marker.py tests/gateway/test_gateway_shutdown.py -q

@alt-glitch alt-glitch added type/feature New feature or request P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery labels Apr 24, 2026
@grabyourfiles grabyourfiles closed this by deleting the head repository Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants