Repository navigation
feat(ci): add required gate jobs and merge queue support - #14298
Conversation
main has no required checks, and the matrix-named jobs can't be required because path-skipped jobs never report. One gate per workflow (CI, Console) needs every job, passes skips and fails on failures or cancellations, so it is the only check a ruleset has to require. It runs under always() so a cancelled run fails closed instead of reporting a skipped, passing check. Both workflows now also run on merge_group, with change detection, the changed-package diff and the database-version check diffing against the queue's base commit. What runs per change is unchanged.
|
Review complete. 🟠 1 high 📍 Findings outside the diff (1) — 🟠 1 high — defects on lines GitHub can't attach comments to🟠 High — Console E2E silently skipped on merge-queue runs · console.yml:106–110 · // .github/workflows/console.yml
106 if: >-
107 needs.changes.outputs.console == 'true'
108 && github.event_name == 'pull_request'
109 && github.event.pull_request.head.repo.full_name == github.repository
110 runs-on: gcrunner=${{ github.run_id }}-console-e2e-session/runner=smallThe PR adds The change teaches the CI and Console GitHub Actions workflows to run on
One high-severity issue: on merge-queue runs the Console E2E suite is silently skipped while the new gate reports success. Reviewed commit: 25626a5 |
🟢 Tier S · Ready to merge
Adds merge-queue triggers to the CI and Console workflows and compares changed files, packages, and database versions against the merge-group base and head. Adds always-running CI and Console gate jobs that aggregate job results while allowing skipped jobs to pass; the reporting-only benchmark is excluded from the CI gate.
📂 Walkthrough · 3
Reviewed |
Security rulesNo new WARNING or ERROR findings from security rules. 32 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
Problems this fixes
main, so a red PR can be merged with one click.mainonce both are merged. Each PR is tested against themainit started from, not themainit lands on.What this PR does
CIandConsole. Each passes when every job in its workflow passed or was skipped, and fails if any job failed or was cancelled. GitHub can require these, whereas it can't usefully require today's jobs: their names change with the test matrix, and skipped jobs would block console-only PRs forever.mainbefore merging it.The tests that run don't change, and nothing changes for anyone until the settings below are turned on.
After merging (needs a repo admin)
CIandConsolechecks onmain. This fixes problem 1.main, with "merge commit" as the method. This fixes problem 2.Next
A follow-up PR will have the merge queue run the full database test matrix (MariaDB, MongoDB and shared mode), so changes that break only those can't land.
Related: #14299