mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
The wrap-e2e harness passed `--startup-timeout-ms 5000` to `headroom wrap openclaw`, leaving zero slack for the openclaw plugin's auto-start launcher to bring up the headroom proxy before the 5s health-check deadline. On a busy CI runner, cold Python import of `headroom.cli` plus pyo3 dlopen plus FastAPI app boot routinely lands in the 4–8s range, so this was always a coin-flip. Evidence: run 25897154424 failed on main with the exact code that passed pre-merge on PR #474's docker-wrap-e2e check (run 25897085244). Both logs show identical openclaw "Config warnings" output — that's normal noise, not the cause. The differentiating line is `[plugins] Headroom proxy started and reachable` (pass) vs `[plugins] Headroom proxy unavailable: health check failed` (fail). 30s matches what other wrap-e2e callers already use as a working margin for the headroom proxy boot path; the runtime default for `headroom wrap openclaw --startup-timeout-ms` is 20s. |
||
|---|---|---|
| .. | ||
| _lib | ||
| init | ||
| wrap | ||
| __init__.py | ||
| docker-native-install.sh | ||