Project ID: prj_8tB87CjV1UUqEqW9PYmV7wS5Mp7M
Environment (local, preview, production): preview
Project Framework: Next 15
Node/Runtime Version: 20.x
Package Manager: pnpm
I’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) – iad1
Cloning github.com/***/*** (Branch: feature/***, Commit: b92a172)
Error: This deployment is no longer building, it was probably canceled and/or deleted
Cloning completed: 305.488ms
Found .vercelignore
Removed 13 ignored files defined in .vercelignore
Successful redeploy: ID GXByjCYWT6U1hjh6m6tA6tvxUEcW
Running build in Washington, D.C., USA (East) – iad1
Cloning github.com/***/***(Branch: feature/***, Commit: b92a172)
Skipping build cache, deployment was triggered without cache.
Cloning completed: 1.026s
Found .vercelignore
Removed 13 ignored files defined in .vercelignore
Running "vercel build"
Vercel CLI 37.12.0
I 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.