Repository navigation
Description
During production deployment of #1040 (commit 8c9111b), one anonymous HTTPS GET to https://dupezero.com returned 503 while the deploy-prod job was in its Cut over step. The next probe succeeded and served every new story marker; /docs also returned 200 with all 109 operations. The new pod was 2/2 Running with zero restarts, and the deploy completed successfully.
Evidence: deploy run https://github.com/athvin/entity-resolution-engine/actions/runs/42593707865, around 2026-11-09 09:30 UTC. Production service switched from blue to green. This observation does not establish the exact outage duration or root cause.
Investigate whether target registration/health propagation or old-colour retirement allows a brief public availability gap. Add a public-side readiness/cutover check if confirmed. No infrastructure files changed in #1040, and the site recovered without intervention.
Reproduced during the production-readiness watch on 2026-11-09: public /api/healthz returned 503 at 15:18:50.256551Z, between healthy samples at 15:18:45Z and 15:18:55Z (polling about every five seconds; not a precise outage-duration measurement). The later application deploy 42643069324, explicitly targeting f7fb8b4c2bf3fb72180e5c9a9b3dc40a5bb43001, entered production Cut over at 15:18:31.938Z; old blue was scaled down at 15:19:01.949Z. Both deploy legs succeeded and public health recovered without intervention. This second observation happened before old-colour retirement, so investigate the live Service selector/ALB target-registration transition rather than assuming retirement alone caused it. Raw status-only samples are in .tools/prod-readiness-health.jsonl on the session host.
A second sampled 503 occurred at 15:20:56.217552Z, with HTTP 200/ready=true at 15:20:51Z and 15:21:03Z, after that deploy had completed. This means the reproduction is not confined to the Cut over step. At 15:24Z, independent Kubernetes readback showed active web-api-green-84f49ff6ff-s8m6c 2/2 Running with zero restarts, and ELB target 10.1.164.11 healthy. Investigate the post-cutover routing/readiness interval as well; the root cause and exact outage duration remain unproven. The earlier bootstrap Jobs remain failed historical artifacts; the successful recovery Job and browser login checks establish demo-account recovery separately.
Kubernetes warning events independently correlate the second 503: active green web liveness timed out at 15:20:53Z, API /readyz timed out at 15:20:56Z, and web /api/healthz timed out at 15:21:04Z. All name the same app node i-0ecdebe3630ab0222 (m6a.large). OpenObserve and the collector share that app node; this is a correlation to investigate, not a proven telemetry cause. Basic EC2 CPU samples for 15:10/15:15/15:20 were approximately 6.5/19.9/13.7 percent; coarse samples cannot exclude a short contention spike. At 15:24:51Z OpenObserve used about 5.8m CPU and 296 MiB, all observability pods were Running with zero restarts. The readiness failures remain unresolved despite recovery.
The continuation monitor reproduced the ALB gap on two further deployments while PR #1062 was still unmerged: HTTP 503 from server: awselb/2.0 at 20:43:21.970978Z during run 42695353215 (cutover 20:43:03–20:43:31Z, commit 8453c27), and at 21:40:29.671709Z during run 42704393617 (cutover 21:40:10–21:40:45Z, commit a367529), 2026-11-09. Both recovered on the next sampled check. The response body hashes matched. These are deployment-correlated reproductions, not evidence of a new steady-state failure. PR #1062 stages registration of the new targets and verifies public health before retirement; the earlier post-cutover readiness-timeout observation still needs acceptance/watch evidence.
Cutover repair landed in #1062 (0a208d9c) and deployed in 42706442649. The production gate observed both expected targets healthy before changing the active selector, passed three minutes of public health, and only then retired the old colour. Independent readback confirms the new target healthy and old colour at zero replicas.
The remaining application-readiness failure is explicitly carried by #1067, a production-readiness blocker. Two post-deploy JSON health 503s at 21:59:08Z and 21:59:15Z during ordinary browser dashboard verification matched upstream=unreachable; these were not ALB HTML registration failures. Kubernetes also reported API liveness/readiness and web readiness timeouts. #1067 preserves the evidence, tentative runtime-starvation lead and required regression/live acceptance. Closing the ALB cutover ticket must not be interpreted as closing overall availability acceptance.
Activity
fix(prod): allow deploy to read ALB target health
wip: stage and verify production cutover (#1043)
wip: stage and verify production cutover (#1043)
fix(deploy): stage ALB targets and verify public health before retire…