Skip to content

fix(gateway): filter status PIDs by profile#19504

Open
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:codex/gateway-status-profile-filter
Open

fix(gateway): filter status PIDs by profile#19504
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:codex/gateway-status-profile-filter

Conversation

@LeonSGP43

Copy link
Copy Markdown
Contributor

Summary

  • Fixes [Bug]: gateway status reports running when only a different profile's gateway is alive #19113
  • Exclude PIDs recorded by other Hermes profile PID files before the current-profile manual process scan
  • Scope service PID discovery to the current profile service by default, while preserving all-profile discovery for update/restart sweeps
  • Add regression tests for ambiguous process-table rows where another profile's gateway would otherwise be reported as current-profile running

Verification

  • scripts/run_tests.sh tests/hermes_cli/test_gateway.py tests/hermes_cli/test_update_gateway_restart.py::TestGetServicePids
  • git diff --check

@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 comp/gateway Gateway runner, session dispatch, delivery labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery 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.

[Bug]: gateway status reports running when only a different profile's gateway is alive

2 participants