hermes-agent-features/tests/hermes_cli
Test ace2cc6257 fix(gateway): PID-based wait with force-kill for gateway restart
Add _wait_for_gateway_exit() that polls get_running_pid() to confirm
the old gateway process has actually exited before starting a new one.
If the process doesn't exit within 5s, sends SIGKILL to the specific
PID. Uses the saved PID from gateway.pid (not launchd labels) so it
works correctly with multiple gateway instances under separate
HERMES_HOME directories.

Applied to both launchd_restart() and the manual restart path (replaces
the blind time.sleep(2)).

Inspired by PR #1881 by @AzothZephyr (race condition diagnosis).
Adds 4 tests.
2026-03-18 02:54:18 -07:00
..
__init__.py
test_chat_skills_flag.py
test_claw.py
test_cmd_update.py
test_coalesce_session_args.py
test_commands.py feat(cli): two-stage /model autocomplete with ghost text suggestions (#1641) 2026-03-17 01:47:32 -07:00
test_config.py feat(web): add Tavily as web search/extract/crawl backend (#1731) 2026-03-17 04:28:03 -07:00
test_cron.py
test_doctor.py
test_env_loader.py
test_gateway_linger.py
test_gateway_runtime_health.py
test_gateway_service.py Merge pull request #1767 from sai-samarth/fix/systemd-node-path-whatsapp 2026-03-17 09:41:39 -07:00
test_gateway.py fix(gateway): PID-based wait with force-kill for gateway restart 2026-03-18 02:54:18 -07:00
test_mcp_tools_config.py feat: interactive MCP tool configuration in hermes tools (#1694) 2026-03-17 03:48:44 -07:00
test_model_validation.py
test_models.py
test_path_completion.py feat(cli): add file path autocomplete in the input prompt (#1545) 2026-03-16 06:07:45 -07:00
test_placeholder_usage.py
test_session_browse.py
test_sessions_delete.py
test_set_config_value.py
test_setup_model_provider.py test: align Hermes setup and full-suite expectations (#1710) 2026-03-17 04:01:37 -07:00
test_setup_noninteractive.py
test_setup_openclaw_migration.py
test_setup_prompt_menus.py
test_setup.py test: align Hermes setup and full-suite expectations (#1710) 2026-03-17 04:01:37 -07:00
test_skills_config.py
test_skills_hub.py
test_skills_install_flags.py fix: add --yes flag to bypass confirmation in /skills install and uninstall (#1647) 2026-03-17 01:59:07 -07:00
test_skills_skip_confirm.py fix: add --yes flag to bypass confirmation in /skills install and uninstall (#1647) 2026-03-17 01:59:07 -07:00
test_skills_subparser.py
test_skin_engine.py Revert "feat(cli): skin-aware light/dark theme mode with terminal auto-detection" 2026-03-17 10:04:53 -07:00
test_status_model_provider.py
test_status.py feat(web): add Tavily as web search/extract/crawl backend (#1731) 2026-03-17 04:28:03 -07:00
test_tools_config.py
test_tools_disable_enable.py feat: add /tools disable/enable/list slash commands with session reset (#1652) 2026-03-17 02:05:26 -07:00
test_update_autostash.py fix(update): use .[all] extras with fallback in hermes update (#1728) 2026-03-17 04:22:37 -07:00
test_update_check.py
test_update_gateway_restart.py fix: hermes update causes dual gateways on macOS (launchd) (#1567) 2026-03-16 12:36:29 -07:00