Skip to content

fix: keep s6 gateway restart desired-up#39381

Open
ZishiW wants to merge 1 commit into
NousResearch:mainfrom
ZishiW:fix/s6-gateway-restart-down-marker
Open

fix: keep s6 gateway restart desired-up#39381
ZishiW wants to merge 1 commit into
NousResearch:mainfrom
ZishiW:fix/s6-gateway-restart-down-marker

Conversation

@ZishiW

@ZishiW ZishiW commented Jun 4, 2026

Copy link
Copy Markdown

Summary

  • clear stale s6 down marker before gateway start/restart
  • make s6 restart use -tu so restart converges to desired-up
  • add regression coverage for stale down markers and restart flags

Test Plan

  • PYTHONPATH=/workspace/projects/hermes-agent-pr /opt/hermes/.venv/bin/python -m pytest tests/hermes_cli/test_service_manager.py tests/hermes_cli/test_gateway_s6_dispatch.py -q
  • PYTHONPATH=/workspace/projects/hermes-agent-pr /opt/hermes/.venv/bin/python -m py_compile hermes_cli/service_manager.py tests/hermes_cli/test_service_manager.py

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/cli CLI entry point, hermes_cli/, setup wizard area/docker Docker image, Compose, packaging labels Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docker Docker image, Compose, packaging comp/cli CLI entry point, hermes_cli/, setup wizard P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants