Problem
GET /api/health reports "aiService": "failed" right after the AI container scaled to zero, although the service starts fine a few seconds later.
Evidence (2026-09-27)
First probe after the #73 deploy: aiService: failed; GET /healthz directly afterwards: 200 in 0.2 s, and the web health then ok. The web probe waits CHECK_TIMEOUT_MS = 3_000 (src/app/api/health/route.ts:10); the measured cold start of the container is about 5.6 s (ADR-0001 D11 amendment 2026-09-26).
Acceptance criteria
Security/Privacy affected?
No.
Problem
GET /api/healthreports"aiService": "failed"right after the AI container scaled to zero, although the service starts fine a few seconds later.Evidence (2026-09-27)
First probe after the #73 deploy:
aiService: failed;GET /healthzdirectly afterwards: 200 in 0.2 s, and the web health thenok. The web probe waitsCHECK_TIMEOUT_MS = 3_000(src/app/api/health/route.ts:10); the measured cold start of the container is about 5.6 s (ADR-0001 D11 amendment 2026-09-26).Acceptance criteria
starting) – decided and justified in the PRSecurity/Privacy affected?
No.