v0.292.0: cloudflared readiness health check (R-841) — tunnel --metrics localhost:20241 run + Docker healthcheck on cloudflared's own /ready; the host agent reports running/not_running/unknown from State.Health
gates / gates (push) Successful in 28s
gates / gates (push) Successful in 28s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -178,8 +178,8 @@ func TestCloudflaredRender(t *testing.T) {
|
||||
if !strings.Contains(compose, CloudflaredImage) {
|
||||
t.Errorf("expected pinned cloudflared image %q", CloudflaredImage)
|
||||
}
|
||||
if !strings.Contains(compose, "command: tunnel run") {
|
||||
t.Error("expected `command: tunnel run`")
|
||||
if !strings.Contains(compose, "command: tunnel --metrics localhost:20241 run") { // R-841: fixed metrics address
|
||||
t.Error("expected `command: tunnel --metrics localhost:20241 run`")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user