hermes-agent/tests/hermes_cli
Ayman Kamal 96f85b03cd fix: handle launchctl kickstart exit code 113 in launchd_start()
launchctl kickstart returns exit code 113 ("Could not find service") when
the plist exists but the job hasn't been bootstrapped into the runtime domain.
The existing recovery path only caught exit code 3 ("unloaded"), causing an
unhandled CalledProcessError.

Exit code 113 means the same thing practically -- the service definition needs
bootstrapping before it can be kicked. Add it to the same recovery path that
already handles exit 3, matching the existing pattern in launchd_stop().

Follow-up: add a unit test covering the 113 recovery path.
2026-04-06 13:20:01 -07:00
..
__init__.py
test_argparse_flag_propagation.py
test_banner.py
test_banner_skills.py
test_chat_skills_flag.py
test_claw.py
test_cmd_update.py
test_coalesce_session_args.py
test_commands.py feat(discord): register skills as native slash commands via shared gateway logic (#5603) 2026-04-06 12:09:36 -07:00
test_config.py
test_config_validation.py feat: config structure validation — detect malformed YAML at startup (#5426) 2026-04-05 23:31:20 -07:00
test_copilot_auth.py
test_cron.py
test_doctor.py
test_env_loader.py
test_gateway.py fix(cli): add missing subprocess.run() timeouts in gateway CLI (#5424) 2026-04-05 22:41:42 -07:00
test_gateway_linger.py fix(cli): add missing subprocess.run() timeouts in gateway CLI (#5424) 2026-04-05 22:41:42 -07:00
test_gateway_runtime_health.py
test_gateway_service.py fix: handle launchctl kickstart exit code 113 in launchd_start() 2026-04-06 13:20:01 -07:00
test_launcher.py
test_logs.py feat: centralized logging, instrumentation, hermes logs CLI, gateway noise fix (#5430) 2026-04-06 00:08:20 -07:00
test_managed_installs.py
test_mcp_config.py
test_mcp_tools_config.py
test_model_validation.py
test_models.py
test_nous_subscription.py
test_path_completion.py
test_placeholder_usage.py
test_profile_export_credentials.py
test_profiles.py
test_session_browse.py
test_sessions_delete.py
test_set_config_value.py
test_setup.py
test_setup_matrix_e2ee.py
test_setup_model_provider.py
test_setup_noninteractive.py
test_setup_openclaw_migration.py
test_setup_prompt_menus.py
test_skills_config.py
test_skills_hub.py
test_skills_install_flags.py
test_skills_skip_confirm.py
test_skills_subparser.py
test_skin_engine.py
test_status.py
test_status_model_provider.py
test_subprocess_timeouts.py
test_tool_token_estimation.py
test_tools_config.py
test_tools_disable_enable.py
test_update_autostash.py
test_update_check.py
test_update_gateway_restart.py refactor: simplify _get_service_pids — dedupe systemd scopes, fix self-import, harden launchd parsing 2026-04-06 00:09:06 -07:00
test_webhook_cli.py