Skip to content

ci: run required checks in the merge queue - #7676

Merged
KATT merged 1 commit into
mainfrom
ci/merge-queue-checks
Oct 18, 2026
Merged

KATT merged 1 commit into
mainfrom
ci/merge-queue-checks

Conversation

@KATT

@KATT KATT commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

🎯 Changes

The merge queue never merges anything: none of the workflows that produce required status checks trigger on merge_group, and most main.yml jobs were gated to pull_request. Only the Vercel checks report on the queue commit, so entries sit until they're kicked out with checks_timed_out β€” this happened twice each to #7672 and #7675.

  • main.yml: trigger on merge_group; build, typecheck, typecheck-www and all E2E jobs now run for pull_request or merge_group. Release using pkg.pr.new is skipped in the queue.
  • lint.yml: trigger on merge_group; lint/fix steps still run, but instead of the autofix.ci commit (which can't push to a queue branch) the job fails if git diff is non-empty.
  • semantic-pr.yml: trigger on merge_group with the job skipped there (the title is already validated on the PR), so the required test title check reports as passing.

Once merged, #7672 and #7675 can be re-queued.

βœ… Checklist

  • I have followed the steps listed in the Contributing guide.
  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made.

Made with Cursor

Summary by CodeRabbit

  • Chores
    • Automated linting, builds, type checks, and end-to-end tests now run for merge-queue changes as well as pull requests.
    • Merge-queue lint runs verify that fixes leave no outstanding changes; automatic fix commits remain limited to pull requests.
    • Temporary releases are skipped for merge-queue changes, and pull-request title validation continues to run only for pull requests.

@KATT
KATT requested a review from a team as a code owner October 18, 2026 13:13
Copilot AI balanced review requested due to automatic review settings October 18, 2026 13:13
@vercel

vercel Bot commented Oct 18, 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 18, 2026 1:14pm UTC
og-image Ready Ready Preview Oct 18, 2026 1:14pm UTC

Request Review

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.

🟒 Approval recommended

The workflow triggers and job conditions support the intended merge-queue behavior with no blocking issues identified.

No open issues πŸŽ‰

What changed in this PR

Enables required CI checks on merge-queue commits so queued pull requests can proceed.

Changes:

  • Adds merge_group triggers to all three workflows.
  • Runs build, typecheck, and E2E jobs in the queue while skipping temporary releases.
  • Fails queue lint checks when autofixes are needed and skips redundant title validation.
File Description
.github/​workflows/​semantic-pr.yml Reports the title check as skipped for queue commits.
.github/​workflows/​main.yml Enables queue validation jobs and skips temporary releases.
.github/​workflows/​lint.yml Checks queue commits without attempting autofix commits.

Review effort: Balanced

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack β†’

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration
  • Configuration used: Repository: trpc/trpc/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 73b18c74-625c-493c-82c6-38d4174cb20c
πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between 6d92747 and 44e6d63.

πŸ“’ Files selected for processing: 3
  • .github/workflows/lint.yml
  • .github/workflows/main.yml
  • .github/workflows/semantic-pr.yml

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 workflows add merge-queue event handling. Build, typecheck, end-to-end, and lint checks run for merge queues, while autofix commits and semantic PR tests remain limited to pull requests.

Changes: Merge-queue CI

Layer / File(s) Summary
Build and test jobs for merge queues
.github/workflows/main.yml
The build, typecheck, and end-to-end jobs now run for pull requests and merge queues. The temporary release job is excluded from merge-queue events.
Lint behavior by event
.github/workflows/lint.yml
The workflow now runs for merge-queue events. It creates autofix commits only for pull requests and runs git diff --exit-code for merge-queue events.
Semantic PR check reporting
.github/workflows/semantic-pr.yml
The workflow now triggers for merge-queue events. Its test job remains limited to pull requests.

Priority: ⬆️ High

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: juliusmarminge, nick-lucas

Merge Risk: βšͺ Minimal Β· up to 44e6d

The required build, E2E, and lint checks are configured to run for merge-queue commits. No actionable merge blocker was established; normal CI validation remains appropriate.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly summarizes the main change: required CI checks now run in the merge queue.
Description check Passed The description explains the problem, lists the workflow changes, and includes the checklist. The optional issue reference and test updates are not provided, but the description is otherwise complete.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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 functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 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

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

@pkg-pr-new

pkg-pr-new Bot commented Oct 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trpc/client

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

@trpc/next

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

@trpc/openapi

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

@trpc/react-query

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

@trpc/server

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

@trpc/tanstack-react-query

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

@trpc/upgrade

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

commit: 44e6d63

Merged via the queue into main with commit b829324 Oct 18, 2026
52 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 19, 2026

This branch was successfully deployed

5 active deployments
Preview – www β€” 44e6d63a Deployed Oct 18, 2026 by vercel[bot]
Preview – examples-todomvc β€” 44e6d63a Deployed Oct 18, 2026 by vercel[bot]
Preview – og-image β€” 44e6d63a Deployed Oct 18, 2026 by vercel[bot]
Preview – trpc-next-app-dir β€” 44e6d63a Deployed Oct 18, 2026 by vercel[bot]
Preview – next-prisma-starter β€” 44e6d63a Deployed Oct 18, 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