fix(readiness): allow lifeboat when primary CPU is unavailable #109

Merged
m merged 2 commits from codex/wp-002-recovery into main 2026-08-22 12:10:38 +00:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func main() {
lifeboatURL := strings.TrimSuffix(strings.TrimRight(envOr("LOCAL_LIFEBOAT_PROVIDER_URL", "http://cognitive-lifeboat:8086/v1"), "/"), "/v1") + "/health"
mux.Handle("/readyz", health.ReadinessHandler{Runtime: "cognitive-worker", Probes: []health.Probe{
health.HTTPProbe(readinessClient, strings.TrimRight(envOr("CORE_RUNTIME_URL", "http://core-runtime:8080"), "/")+"/healthz"),
health.HTTPProbe(readinessClient, strings.TrimRight(envOr("LOCAL_CPU_PROVIDER_URL", "http://docker.cin.su:18082/v1"), "/")+"/models"),
health.OptionalHTTPProbe(readinessClient, strings.TrimRight(envOr("LOCAL_CPU_PROVIDER_URL", "http://docker.cin.su:18082/v1"), "/")+"/models"),
health.HTTPProbe(readinessClient, lifeboatURL),
health.OptionalHTTPProbe(readinessClient, strings.TrimRight(envOr("LOCAL_GPU_PROVIDER_URL", "http://192.168.220.91:11434"), "/")+"/api/tags"),
}})
+1 -1
View File
@@ -1,5 +1,5 @@
{
"task_file": "dev/tasks/DEV-000141-optional-fleet-readiness.json",
"task_id": "DEV-000141",
"task_revision": 1
"task_revision": 2
}
@@ -1,6 +1,6 @@
{
"task_id": "DEV-000141",
"task_revision": 1,
"task_revision": 2,
"architecture_revision": "ADR-0018",
"base_repo_revision": "38cff16",
"risk_tier": "E",