Repository navigation
ci: stop the trpc-v12 Vercel project deploying main - #7739
Conversation
The trpc-v12 project deploys the v12 docs site from root directory next/www, which only exists on the v12 branch. Since preview deployments were enabled on that project, every push to main and every PR into main gets a preview deployment that fails for want of a root directory, posting a failed "Vercel β trpc-v12" status. Give main a next/www/vercel.json that disables git deployments, the same way v12's www/vercel.json opts out of the v11 www project. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Caution Review failedThe pull request is closed. Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@trpc/client
@trpc/next
@trpc/openapi
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Problem
Every push to
mainand every PR intomainsince 2026-10-25 has a failingVercel β trpc-v12status (e.g.main@ e237729, #7737, #7735, #7731).trpc-v12is the v12 docs project. Its root directory isnext/www, which only exists on thev12branch, and its deploy rules live inv12:next/www/vercel.json. Preview deployments were turned on for the project on 2026-10-20. Since then, branches without that file (all ofmain) get a preview deployment that has no root directory and fails. The v12 decision doc (next/.agent-docs/decisions/docs-website-on-vercel.md) had this as open: "check that a push tomainand a v11 pull request show as skipped rather than failed".Fix
Add
next/www/vercel.jsononmainwithgit.deploymentEnabled: false. This mirrors howv12:www/vercel.jsonstops the v11wwwproject from deployingv12. Vercel then creates notrpc-v12deployment formaincommits or for branches cut frommain.next/isn't in the pnpm workspace, so nothing else picks the file up. Onv12it ends up atv11/next/www/vercel.json, which no project reads.Verify
This PR's head commit contains the file, so it should get no
Vercel β trpc-v12status, while the other Vercel projects still deploy.π€ Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.