feat(vercel): add App Availability check#2481
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview Exports the new check from Reviewed by Cursor Bugbot for commit 662ad72. Bugbot is set up for automated code reviews on this repo. Configure here. |
packages/integration-platform/src/manifests/vercel/checks/app-availability.ts
Show resolved
Hide resolved
packages/integration-platform/src/manifests/vercel/checks/app-availability.ts
Show resolved
Hide resolved
packages/integration-platform/src/manifests/vercel/checks/app-availability.ts
Outdated
Show resolved
Hide resolved
- Treat BUILDING/QUEUED/INITIALIZING as transitional (pass, not fail) since Vercel keeps the previous READY deployment serving traffic - Emit ctx.fail() in per-project catch blocks instead of just logging, so failures are never silently swallowed as success - Add post-loop fallback for zero checked projects - Cap iteration to first 10 projects to match monitoring-alerting check and avoid Vercel rate limits - Remove unused VercelDeployment import Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
packages/integration-platform/src/manifests/vercel/checks/app-availability.ts
Show resolved
Hide resolved
packages/integration-platform/src/manifests/vercel/checks/app-availability.ts
Outdated
Show resolved
Hide resolved
CANCELED deployments don't take down the app — Vercel keeps serving the previous READY deployment. Also removed unreachable checkedCount guard since the loop always executes at least once (projects is guaranteed non-empty at that point). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 265a5e4. Configure here.
packages/integration-platform/src/manifests/vercel/checks/app-availability.ts
Outdated
Show resolved
Hide resolved
…onal CANCELED is a terminal state, not in-progress. Remove from transitionalStates and handle as its own branch with medium severity, consistent with monitoring-alerting.ts treating it as a failure. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
🎉 This PR is included in version 3.18.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

Summary
Adds an App Availability check to the Vercel code-based integration that verifies projects have active, healthy production deployments.
What it does
appAvailabilitytask templateChanges
checks/app-availability.ts- the check implementationchecks/index.ts- exports the new checkindex.ts- registers the check in the manifestContext
Customer requested App Availability monitoring for their Vercel deployments.