Skip to content

fix(deploy): require three consecutive ready responses before the smoke test - #65

Merged
bgard68 merged 1 commit into
mainfrom
fix/deploy-consecutive-ready
Aug 24, 2026
Merged

fix(deploy): require three consecutive ready responses before the smoke test#65
bgard68 merged 1 commit into
mainfrom
fix/deploy-consecutive-ready

Conversation

@bgard68

@bgard68 bgard68 commented Aug 24, 2026

Copy link
Copy Markdown
Owner

The readiness fix (#61) closed one race and revealed a second, one layer down.

The refactor merge deploy failed at the smoke test with the familiar 500-on-every-endpoint signature — on a build that serves 200 everywhere now. The deploy step itself succeeded; the gate measured at the wrong moment again, but for a new reason:

webapps-deploy returns while the old process is still serving. A single /api/health/ready 200 can come from the outgoing instance seconds before App Service restarts it. The wait accepted that stale answer, the restart began, and the smoke test landed mid-restart.

One ready answer proves the old instance was alive. Three in a row spanning twenty seconds cannot all be the doomed instance. Streak resets on any non-200, retry budget unchanged.

actionlint clean; the repository's own workflow rules pass.

…ke test

The readiness fix closed one race and revealed a second. webapps-deploy returns
while the old process is still serving, so a single /ready 200 can come from the
outgoing instance seconds before App Service restarts it. The wait passed on
that stale answer and the smoke test landed mid-restart — the same 500-on-every-
endpoint signature, on a build that served 200 everywhere once it settled.

One ready answer proves the old instance was alive. Three in a row spanning
twenty seconds cannot all be the doomed instance.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bgard68
bgard68 merged commit 1b69902 into main Aug 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant