Skip to content

Deploy: treat builds Vercel canceled for a newer commit as superseded - #6

Merged
AdminGodZ merged 1 commit into
mainfrom
deploy-superseded
Nov 20, 2026
Merged

AdminGodZ merged 1 commit into
mainfrom
deploy-superseded

Conversation

@AdminGodZ

Copy link
Copy Markdown
Owner

When #5 and #4 were merged a few seconds apart, Vercel canceled the build for 8549d1b and deployed 2a17ca3 instead. The Deploy run for 8549d1b then failed ("Vercel could not deploy"), which leaves a red production deployment on GitHub although the site was fine.

Now, when Vercel's status is a failure whose description mentions a cancel and the commit is no longer the head of main, the run ends with a notice ("Superseded: Vercel canceled this deployment for the newer commit …") and succeeds; the newer commit's own run checks the live site. Real build failures, and a cancel of the current head, still fail. The error message now includes Vercel's description.

Checked: actionlint; the new lookup against the real commits gives 8549d1b → failure, "Canceled from the Vercel Dashboard", superseded; 2a17ca3 → success, not superseded.

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
broadside Ready Ready Preview Nov 20, 2026 8:48am UTC

@AdminGodZ
AdminGodZ merged commit c214d35 into main Nov 20, 2026
4 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