Skip to content

ci: run lean workspace checks on merge queue entries - #2560

Merged
BYK merged 1 commit into
mainfrom
ci/merge-queue-lean-checks
Nov 27, 2026
Merged

BYK merged 1 commit into
mainfrom
ci/merge-queue-lean-checks

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Gets main ready for a GitHub merge queue. #2548 removed isRequestOriginTrusted, then #2519 merged still importing it and broke main. Each PR was fine on its own; a merge queue tests them together. Same approach as getsentry/junior#4469 and getsentry/junior#4533.

Merge queue entries skip the per-project matrix. The quality job typechecks, builds, and policy-checks the whole workspace instead, which is what two PRs can break together. The test aggregator already accepts the skipped jobs.

SENTRY_AUTH_TOKEN stays off the quality job on purpose: when it's set, @sentry/mcp-cloudflare's Vite plugin creates a Sentry release.

Follow-up (admin)

After this merges, a toolkit admin adds a merge_queue rule to the repo's Default ruleset (id 5058262), with Junior's values: SQUASH, max 5 entries to build, 1 to 5 entries to merge, 5 minute wait, ALLGREEN grouping, 60 minute check timeout, and test as the required status.

First, confirm the Craft release bot (sentry-release-bot) is in the ruleset's bypass_actors, because it pushes merge-backs straight to main. No getsentry/security-as-code change is needed.

via @BYK.

--

View Session [Sentry]

Merge queue runs now select no matrix projects. The quality job instead
typechecks, builds, bundles, and policy-checks the whole workspace and
fails on untracked generated files, which catches two green pull requests
that break main together.

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from BYK November 27, 2026 15:00
@vercel

vercel Bot commented Nov 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cli Ready Ready Preview Nov 27, 2026 3:00pm UTC
sentry-local Ready Ready Preview Nov 27, 2026 3:00pm UTC

Request Review

@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 27, 2026
@BYK
BYK enabled auto-merge (squash) November 27, 2026 15:02
@BYK
BYK merged commit acaf48e into main Nov 27, 2026
41 checks passed
@BYK
BYK deleted the ci/merge-queue-lean-checks branch November 27, 2026 15:15

This branch was successfully deployed

2 active deployments
Preview – cli — b15d8636 Deployed Nov 27, 2026 by vercel[bot]
Preview – sentry-local — b15d8636 Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant