mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-10-20 05:15:31 +00:00
Reduce the default interval_s in poll_container, wait_for_docker_logs, and inline time.sleep() calls in test_dashboard.py and test_gateway_run_supervised.py from 0.5s to 0.25s. CI profile with sleep tracking showed 116.2s of time.sleep() across 345 sleep calls — 23% of total wall time. The majority of these sleeps were in poll_container (0.5s default) and inline polling loops in the dashboard and gateway-supervised tests. Halving the interval halves the sleep time for each poll cycle without changing docker call count or overhead. Unlike the blocking-exec experiment (which traded fewer calls for longer per-call duration and regressed on CI), this change only reduces idle sleep time — the docker exec calls stay the same. |
||
|---|---|---|
| .. | ||
| __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 | ||