fix(cli): add update check mode - #7299
Conversation
387bb8c to
611445a
Compare
|
Maintainer note: local targeted verification for this branch is green on the update-related scope. Command run: pytest -q tests/hermes_cli/test_cmd_update.py tests/hermes_cli/test_cmd_update_check.py tests/hermes_cli/test_update_check.py tests/hermes_cli/test_update_gateway_restart.py. Result: 45 passed. The failing GitHub test run looks like broader repo baseline instability involving AIAgent.request_overrides, GatewayRunner._session_model_overrides, voice-mode failures, and config-version failures rather than a regression from the read-only hermes update --check change set here. The failing docs-site-checks job is also currently tripping repo-wide docs lint outside the changed paths in this PR. |
|
This is an automated hermes-sweeper review. The
The core feature this PR adds is fully covered. The secondary fixes bundled in this PR (test isolation for |
Summary
hermes update --checkmode that reports update status without mutating the checkoutis_linuxexplicitly on macOS runnersBehavior
hermes update --checkdoes not pullhermes update --checkdoes not install dependencieshermes update --checkdoes not migrate confighermes update --checkdoes not restart the gatewayNotes
Testing
cd /Users/yu/.hermes/hermes-agent-update-check && /Users/yu/.hermes/hermes-agent/venv/bin/python -m pytest -q tests/hermes_cli/test_cmd_update.py tests/hermes_cli/test_cmd_update_check.py tests/hermes_cli/test_update_check.py tests/hermes_cli/test_update_gateway_restart.py45 passed