Commit 74c146f
Wait for prod Cloud Run candidate readiness before smoke tests
The gunicorn early-bind entrypoint decouples revision readiness (port
bound) from app readiness (country-package import finished, ~160s), so
gcloud run deploy now returns while the app is still booting. The prod
candidate job ran its smoke tests immediately after deploy and hit the
importing instance, failing with read timeouts; the staging job was
unaffected because it already gates test traffic on health_check.sh.
Add the same readiness wait against the candidate tag URL before the
smoke tests.
Fixes #3731
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f648237 commit 74c146f
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| 520 | + | |
| 521 | + | |
520 | 522 | | |
521 | 523 | | |
522 | 524 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments