You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Envoy isolated server doesn't reach ready on Linux Docker Engine #5922
Part of #5900. Blocker for the Envoy legs of #5918.
Symptom
When TOOLHIVE_NETWORK_PROXY=envoy is set and an isolated workload is started, the server times out before reaching running state on Linux Docker Engine CI runners (Ubuntu). The same setup works on Docker Desktop (macOS) but is slow — ~85s to ready even in the success case, which is abnormal and may be the same root cause under load.
Squid-backed isolated servers start cleanly in the same environment and on the same runner.
timeout waiting for MCP server ni-envoy-explicit-<seed> to be running [122s]
timeout waiting for MCP server ni-envoy-default-<seed> to be running [121s]
timeout waiting for MCP server ni-envoy-deny-<seed> to be running [121s]
Three consecutive Envoy specs, all expiring at 120s. Squid equivalents pass.
Leading hypothesis
The Envoy container is created with a STRICT_DNS ingress cluster pointing at the MCP container — which is created after the Envoy container (in SetupEgress, before SetupIngress). Although STRICT_DNS retries lazily, the combination of ingress listener + DFP egress cluster initialisation under a Internal:true Docker network may be slower than expected on Linux Engine. Needs Envoy container log capture on a Linux runner to confirm.
How to investigate
Run TOOLHIVE_NETWORK_PROXY=envoy thv run --isolate-network <server> on a Linux Docker Engine host, capture docker logs <name>-egress from the Envoy container during startup, and look for upstream-resolution errors or listener-binding delays.
Impact
The Envoy e2e legs in network_isolation_test.go are marked Pending (referencing this issue) until resolved. Squid coverage is unaffected.
Activity
Skip Envoy isolation legs pending Linux readiness fix (#5922)
Move Envoy isolation e2e to a dedicated file
Add Envoy network-isolation e2e tests (#5918)
Skip Envoy isolation legs pending Linux readiness fix (#5922)
Move Envoy isolation e2e to a dedicated file
Fix Envoy isolated-server readiness on Linux Docker Engine (#5922)
Skip Envoy isolation legs pending Linux readiness fix (#5922)
Move Envoy isolation e2e to a dedicated file
Fix Envoy isolated-server readiness on Linux Docker Engine (#5922)
Fix Envoy isolated-server readiness on Linux Docker Engine (#5922)
Skip Envoy isolation legs pending Linux readiness fix (#5922)
Move Envoy isolation e2e to a dedicated file
Fix Envoy isolated-server readiness on Linux Docker Engine (#5922)
Pre-pull Envoy image in CI and raise readiness timeout to 180s
Re-add skip guard pending root-cause of #5922 on Linux Docker Engine
Pre-pull Envoy image in CI and raise readiness timeout to 180s
Fix Envoy isolated-server readiness on Linux Docker Engine (#5922)
Pre-pull Envoy image in CI and raise readiness timeout to 180s
Inject dnsmasq DNS server into Envoy container on Linux Docker Engine
Fix bootstrap file permissions for Envoy on Linux Docker Engine
Fix Envoy isolated-server readiness and enable e2e tests (#5926)