Skip to content

fix(ci): make production smoke resilient to Render cold starts - #70

Merged
Ayush-Kumar0207 merged 1 commit into
mainfrom
fix/production-smoke-cold-start
Aug 21, 2026
Merged

fix(ci): make production smoke resilient to Render cold starts#70
Ayush-Kumar0207 merged 1 commit into
mainfrom
fix/production-smoke-cold-start

Conversation

@Ayush-Kumar0207

Copy link
Copy Markdown
Owner

Problem

The scheduled production smoke has been failing even though the Vercel frontend is healthy. Logs show the hosted Render backend returning transient 503 responses during wake-up, followed by 429 responses because curl --retry-all-errors retries too aggressively. Since the health step uses curl --fail, the job exits before Socket.IO, OAuth, or deployment-auth checks run.

Fix

  • replace aggressive automatic retries on /api/health with an explicit cold-start allowance;
  • poll at 15-second intervals for up to ~3 minutes;
  • only accept the backend once /api/health returns HTTP 200 and { status: "ok" };
  • preserve the existing structured /api/status validation and all later hosted-contract checks;
  • still fail if the backend never becomes healthy, so this does not mask a real outage.

This change is limited to .github/workflows/production-smoke.yml.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codeverse Ready Ready Preview Aug 21, 2026 2:42am

@Ayush-Kumar0207
Ayush-Kumar0207 marked this pull request as ready for review August 21, 2026 02:44
@Ayush-Kumar0207
Ayush-Kumar0207 merged commit 8569e0d into main Aug 21, 2026
12 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