mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-21 07:55:08 +00:00
Retry of the blocking docker exec approach, this time using stdout=DEVNULL/stderr=DEVNULL instead of capture_output=True. The previous attempt regressed on CI (+135s) with capture_output. Hypothesis: the docker daemon stdio pipe management for long-lived exec sessions added overhead under 8-way parallel test execution. DEVNULL should be lighter — the daemon never has to buffer output or manage pipe read ends. Also uses user="root" (not "hermes") to avoid deadlocking on PUID/PGID remap tests where the hermes user UID is being changed during cont-init. The probe runs an until/sleep loop inside the container, replacing N separate docker exec polls with a single blocking exec. On CI where docker exec costs ~0.25s overhead per call, this should save (N-1) × 0.25s per container where N is the number of polls (typically 3-7). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| profiling.py | ||
| test_config_migration.py | ||
| test_container_restart.py | ||
| test_dashboard.py | ||
| test_docker_exec_privilege_drop.py | ||
| test_dump_build_sha.py | ||
| test_gateway_bootstrap_state.py | ||
| test_gateway_run_supervised.py | ||
| test_home_override_scripts.py | ||
| test_immutable_install.py | ||
| test_immutable_install_permissions.py | ||
| test_license_file_present.py | ||
| test_log_dir_seed.py | ||
| test_main_invocation.py | ||
| test_profile_gateway.py | ||
| test_puid_pgid_remap.py | ||
| test_s6_profile_gateway_integration.py | ||
| test_smoke.py | ||
| test_stage2_browser_discovery.py | ||
| test_tini_compat_shim.py | ||
| test_toplevel_chown.py | ||
| test_tui_passthrough.py | ||
| test_tui_prebuilt_bundle.py | ||
| test_user_flag_guard.py | ||
| test_zombie_reaping.py | ||