Skip to content

ci: stop the trpc-v12 Vercel project deploying main - #7739

Merged
Nick-Lucas merged 1 commit into
mainfrom
fix-trpc-v12-job-main-branch-trigger
Oct 28, 2026
Merged

Nick-Lucas merged 1 commit into
mainfrom
fix-trpc-v12-job-main-branch-trigger

Conversation

@Nick-Lucas

@Nick-Lucas Nick-Lucas commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Every push to main and every PR into main since 2026-10-25 has a failing Vercel – trpc-v12 status (e.g. main @ e237729, #7737, #7735, #7731).

trpc-v12 is the v12 docs project. Its root directory is next/www, which only exists on the v12 branch, and its deploy rules live in v12:next/www/vercel.json. Preview deployments were turned on for the project on 2026-10-20. Since then, branches without that file (all of main) 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 to main and a v11 pull request show as skipped rather than failed".

Fix

Add next/www/vercel.json on main with git.deploymentEnabled: false. This mirrors how v12:www/vercel.json stops the v11 www project from deploying v12. Vercel then creates no trpc-v12 deployment for main commits or for branches cut from main. next/ isn't in the pnpm workspace, so nothing else picks the file up. On v12 it ends up at v11/next/www/vercel.json, which no project reads.

Verify

This PR's head commit contains the file, so it should get no Vercel – trpc-v12 status, while the other Vercel projects still deploy.

πŸ€– Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

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]>
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack β†’

Caution

Review failed

The pull request is closed.

Finishing Touches
πŸ§ͺ Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix Β· Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❀️ Share

Comment @coderabbitai help to get the list of available commands.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
next-prisma-starter Ready Ready Preview Oct 28, 2026 10:35pm UTC
og-image Ready Ready Preview Oct 28, 2026 10:35pm UTC

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Oct 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trpc/client

npm i https://pkg.pr.new/@trpc/client@7739

@trpc/next

npm i https://pkg.pr.new/@trpc/next@7739

@trpc/openapi

npm i https://pkg.pr.new/@trpc/openapi@7739

@trpc/react-query

npm i https://pkg.pr.new/@trpc/react-query@7739

@trpc/server

npm i https://pkg.pr.new/@trpc/server@7739

@trpc/tanstack-react-query

npm i https://pkg.pr.new/@trpc/tanstack-react-query@7739

@trpc/upgrade

npm i https://pkg.pr.new/@trpc/upgrade@7739

commit: 5acb605

@Nick-Lucas
Nick-Lucas marked this pull request as ready for review October 28, 2026 22:47
@Nick-Lucas
Nick-Lucas requested a review from a team as a code owner October 28, 2026 22:47
Copilot AI balanced review requested due to automatic review settings October 28, 2026 22:47
@Nick-Lucas
Nick-Lucas enabled auto-merge October 28, 2026 22:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Nick-Lucas
Nick-Lucas disabled auto-merge October 28, 2026 22:48
@Nick-Lucas
Nick-Lucas merged commit 3779556 into main Oct 28, 2026
49 of 50 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 30, 2026

This branch was successfully deployed

5 active deployments
Preview – www β€” 5acb6052 Deployed Oct 28, 2026 by vercel[bot]
Preview – examples-todomvc β€” 5acb6052 Deployed Oct 28, 2026 by vercel[bot]
Preview – og-image β€” 5acb6052 Deployed Oct 28, 2026 by vercel[bot]
Preview – next-prisma-starter β€” 5acb6052 Deployed Oct 28, 2026 by vercel[bot]
Preview – trpc-next-app-dir β€” 5acb6052 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants