Skip to content

chore(www): skip trpc-v12's builds of main - #7798

Merged
trpc-bot merged 1 commit into
mainfrom
v12-vercel-skip-trpc-v12
Nov 2, 2026
Merged

trpc-bot merged 1 commit into
mainfrom
v12-vercel-skip-trpc-v12

Conversation

@KATT

@KATT KATT commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Why

  • The trpc-v12 Vercel project builds main's branches too, for example cursor/*.
  • Vercel reads vercel.json from the commit it builds, so the v12 branch's own skip rule can't stop builds of main's commits. The rule has to be on main as well.

What

  • www/vercel.json on main gets this ignoreCommand, which skips the build when the project is trpc-v12:
"ignoreCommand": "[ \"$VERCEL_PROJECT_ID\" = prj_ZOOws1jtnft6a9uEXDOhLBqvWOcu ]"
  • trpc.io's own www project is unaffected.

Links

  • No page changes.

Alternatives considered

  • An Ignored Build Step set in the Vercel dashboard. We keep build rules in vercel.json instead.

Testing

  • On this branch's own push, trpc-v12 skipped the build and trpc.io's www project built it.
Open in Web Open in Cursor 

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

Summary by CodeRabbit

  • Chores
    • Updated deployment configuration to skip builds when the project ID matches a specified value. This change affects deployment processing only; no end-user features or interface changes are included.

trpc-v12 (v12.trpc.io) now has `www` as its root directory, like
trpc.io's `www` project, so every push to main would build main's site
there too. Vercel reads vercel.json from the commit it builds, so the
skip has to be in main's: the Ignored Build Step exits 0 (skip) for
trpc-v12's project ID and 1 (build) for any other. v12's own vercel.json
already deploys trpc-v12 only from v12 and skips trpc.io's project.

Co-authored-by: Alex / KATT <[email protected]>
@KATT
KATT requested a review from a team as a code owner November 2, 2026 10:02
@vercel

vercel Bot commented Nov 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
www Ready Ready Preview Nov 2, 2026 10:02am UTC
6 Skipped Deployments
Project Deployment Actions Updated
trpc-v12 Ignored Ignored Nov 2, 2026 10:02am UTC
examples-todomvc Skipped Skipped Nov 2, 2026 10:02am UTC
next-prisma-starter Skipped Skipped Nov 2, 2026 10:02am UTC
next-prisma-websockets-starter Skipped Skipped Nov 2, 2026 10:02am UTC
tanstack-start-sse-chat Skipped Skipped Nov 2, 2026 10:02am UTC
trpc-next-app-dir Skipped Skipped Nov 2, 2026 10:02am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between cb7660a and c46d4b9.

Files selected for processing: 1
  • www/vercel.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The Vercel configuration adds an ignoreCommand that checks whether VERCEL_PROJECT_ID matches prj_ZOOws1jtnft6a9uEXDOhLBqvWOcu.

Changes: Vercel deployment configuration

Layer / File(s) Summary
Ignore command
www/vercel.json
Adds an ignoreCommand that compares VERCEL_PROJECT_ID with prj_ZOOws1jtnft6a9uEXDOhLBqvWOcu.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • trpc/trpc#7754: Configures Vercel behavior for the www project; this change adds another Vercel deployment setting.

Suggested reviewers: nick-lucas

Merge Risk: Minimal · up to c46d4

The deployment configuration skips builds only for the intended Vercel project and allows other projects to build normally.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the main change: skipping trpc-v12 builds of the main branch. It matches the added Vercel ignore command.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

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

@pkg-pr-new

pkg-pr-new Bot commented Nov 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trpc/client

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

@trpc/next

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

@trpc/openapi

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

@trpc/react-query

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

@trpc/server

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

@trpc/tanstack-react-query

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

@trpc/upgrade

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

commit: c46d4b9

@trpc-bot
trpc-bot added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 1ceffc0 Nov 2, 2026
52 of 54 checks passed
@trpc-bot
trpc-bot deleted the v12-vercel-skip-trpc-v12 branch November 2, 2026 11:22
cursor Bot pushed a commit that referenced this pull request Nov 2, 2026
Brings main up to 2458418: the examples on @shared/ui (#7789, #7792,
#7794, #7795, #7796), tooling/subtree (#7786), trpc-v12's skip of main's
builds (#7798) and giscus comments on blog posts (#7791).

- tooling/subtree stays at the root, beside tooling/ui, which it reads.
  Its tsconfig extends v11/tsconfig.json and v11's Vitest runs its tests.
  v11-subtree.yml takes main's standalone step with v11/examples paths.
- The examples' Tailwind @source paths to tooling/ui get one more ../.
- Rename detection paired next-minimal-starter's next.config.ts and
  _app.tsx with .test/ssg-infinite-serialization's identical copies, so
  main's changes go back to next-minimal-starter.
- next-app-dir's new postcss.config.mjs goes to v11/, not beside the
  root's vercel.json stub.
- post.tsx keeps v12's typed currentTarget on main's rewrite.
- www/vercel.json keeps v12's; www/package.json takes both sides;
  pnpm-lock.yaml is v12's, reinstalled.

Co-authored-by: Alex / KATT <[email protected]>
KATT added a commit that referenced this pull request Nov 2, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Why

- trpc.io's Vercel project (`www`) now builds the `v12` branch too.
v12.trpc.io is its domain for that branch, so the separate `trpc-v12`
project is being deleted.
- `main`'s `www/vercel.json` has an `ignoreCommand` (#7798) that only
skipped builds on `trpc-v12`. Once that project is gone, it does
nothing.

## What

- Remove the `ignoreCommand` from `www/vercel.json`:

```diff
-  "ignoreCommand": "[ \"$VERCEL_PROJECT_ID\" = prj_ZOOws1jtnft6a9uEXDOhLBqvWOcu ]",
```

- `www` builds `main` as before: it never matched that project ID.
- Merge this after `trpc-v12` is deleted. Until then, `trpc-v12` builds
`main`'s commits again. That breaks nothing, but it wastes build
minutes.

## Links

- None. No pages change.

## Alternatives considered

- Leave it in. It's harmless once the project is gone, but it names a
project that no longer exists.

## Testing

- This branch's own push: `Vercel – www` built and deployed it, as
before.
- `Vercel – trpc-v12` also built it, which is why this should wait until
that project is deleted.
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-45edf798-bb98-4051-8943-405003a152b3?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-45edf798-bb98-4051-8943-405003a152b3&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

<!-- codesmith:footer -->
---
<a
href="https://app.blacksmith.sh/trpc/codesmith/trpc/pr/7808?autoLogin=true&ref=codesmith_pr_footer"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img
alt="View with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png"
width="162" height="28"></picture></a> <a
href="https://backend.blacksmith.sh/track/enable-autofix?expires=1796214283&installation_model_id=443568&pr_number=7808&ref=codesmith_pr_footer&repository=trpc%2Ftrpc&return_to=https%3A%2F%2Fgithub.com%2Ftrpc%2Ftrpc%2Fpull%2F7808&signature=d4e12a0985dce0c7df84666f634fa8acc505bfc5e2c1686b8a64f6a769e34fb7"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img
alt="Autofix with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png"
width="190" height="28"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you
need.</sup>

<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Changes**
  * Deployments are no longer skipped based on the specified project ID.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Cursor Agent <[email protected]>
@github-actions

github-actions Bot commented Nov 3, 2026

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 Nov 3, 2026

This branch was successfully deployed

1 active and 3 inactive deployments
Preview – www — c46d4b93 Deployed Nov 2, 2026 by vercel[bot]
Preview – trpc-next-app-dir — c46d4b93 Deployed Nov 2, 2026 by vercel[bot]
Preview – examples-todomvc — c46d4b93 Deployed Nov 2, 2026 by vercel[bot]
Preview – next-prisma-starter — c46d4b93 Deployed Nov 2, 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.

3 participants