fix: align profile gateway status with runtime snapshot - #51285
fix: align profile gateway status with runtime snapshot#51285chenojay95-prog wants to merge 1 commit into
Conversation
Duplicate of #20488 — same profile gateway-status fix: fall back to the unified gateway runtime snapshot (scoped with the context-local |
|
Follow-up after the duplicate marker: #20488 covers the same bug class, but it currently has requested changes and a failing |
|
Thanks for the focused profile-status fix. Automated hermes-sweeper review found this behavior already implemented on current
This supersedes the same bug class discussed in #20488 without requiring a context-local home override. |
Summary
<profile>/gateway.pidcheck forhermes profile list/showHERMES_HOMEoverride so each profile checks its own supervisor/process lane without mutating global environmentWhy
A launchd-supervised gateway can be live without a compatibility
gateway.pidfile. In that statehermes gateway statusandhermes status --allcorrectly report the gateway as running, whilehermes profile list/showreports it as stopped.Tests
pytest tests/hermes_cli/test_profiles.py -q→ 139 passedgit diff --check→ cleanhermes profile listandhermes profile show defaultnow reportGateway: runningwhilehermes status --allreports launchd running.Full-suite note
Attempted
python -m pytest tests/ -o 'addopts=' -q; local run timed out after 600s around 28% with many unrelated failures/logging errors before completion. Targeted profile tests pass on freshorigin/mainbase.