Repository navigation
Deploy: treat builds Vercel canceled for a newer commit as superseded - #6
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When #5 and #4 were merged a few seconds apart, Vercel canceled the build for
8549d1band deployed2a17ca3instead. The Deploy run for8549d1bthen 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.