Project ID: prj_8tB87CjV1UUqEqW9PYmV7wS5Mp7MEnvironment (local, preview, production): previewProject Framework: Next 15Node/Runtime Version: 20.xPackage Manager: pnpmI'm getting a strange issue where preview deployments on a specific branch are immediately being canceled, then automatically redeployed, which ends up being successful. Once deployed, the deployment works fine.
An example of a canceled deployment: ID 9Xfz7ZajTDpX2HG8bV2QagASaivj
Running build in Washington, D.C., USA (East) – iad1Cloning github.com/***/*** (Branch: feature/***, Commit: b92a172)Error: This deployment is no longer building, it was probably canceled and/or deletedCloning completed: 305.488msFound .vercelignoreRemoved 13 ignored files defined in .vercelignoreSuccessful redeploy: ID GXByjCYWT6U1hjh6m6tA6tvxUEcW
Running build in Washington, D.C., USA (East) – iad1Cloning github.com/***/***(Branch: feature/***, Commit: b92a172)Skipping build cache, deployment was triggered without cache.Cloning completed: 1.026sFound .vercelignoreRemoved 13 ignored files defined in .vercelignoreRunning "vercel build"Vercel CLI 37.12.0I don't believe it's related to Next 15, as I do have a successful deploy right after pushing the update. What I do suspect, is that I:
- made a bad commit to the branch
- canceled the deployment
- deleted the branch on the remote
- rebased on local to fix the bad commit
- pushed again to the same branch
- continued to push to this same branch
Everything is fine on local, branch in git looks fine. It's just that the Vercel deploy error has no info so I'm unable to debug what the problem exactly is. I just tried branching off this "problem" branch and it still exhibited the same behavior. Branching off of main also did it, and that branch hasn't been touched in 2 weeks and has been deploying fine.