Repository navigation
fix(deploy): stabilize webhook trigger rollout and URL retries - #185
Conversation
✅ Deploy Preview for regal-bunny-0c8efe ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThis PR enhances the deployment webhook retry mechanism by replacing a single-retry path with normalized, multi-candidate retry logic. It removes webhook from nginx startup dependencies and updates the deployment script to use Changes
Sequence DiagramsequenceDiagram
participant GA as GitHub Actions
participant Parser as normalize_webhook_candidates
participant Webhook as Webhook Service
participant Log as Deployment Log
GA->>Parser: Parse DEPLOY_WEBHOOK_URL
Parser->>Parser: Normalize & deduplicate candidates
Parser-->>GA: Return candidate list
loop For each candidate
GA->>Webhook: POST signed request to candidate
Webhook-->>GA: Response (2xx or error)
alt 2xx Response
GA->>Log: Report success
GA->>GA: Exit 0
else Error Response
GA->>Log: Print candidate + response body
end
end
alt All candidates failed
GA->>Log: Emit final error
GA->>GA: Exit 1
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
* fix(deploy): prevent webhook self-termination during rollout * ci(deploy): normalize webhook URL retry candidates * docs(changelog): document webhook trigger hardening



Summary
nginxstartup fromwebhookdocker compose up --no-depsfor target servicesChanges
fix(deploy): prevent webhook self-termination during rolloutci(deploy): normalize webhook URL retry candidatesdocs(changelog): document webhook trigger hardeningVerification
bash -n scripts/deploy.sh scripts/deploy-remote.shpython3 + yaml.safe_load)nginx.depends_onno longer includeswebhookNotes
docker compose up -d webhook) and webhook DNS resolution fromlucky-nginxwas restored.Summary by CodeRabbit
Bug Fixes
Documentation