Repository navigation
CI: reuse tested merge trees and split browser engines - #2784
Open
dustywusty wants to merge 18 commits into
Open
dustywusty wants to merge 18 commits into
dustywusty wants to merge 18 commits into
Conversation
dustywusty
requested review from
MikeRyanDev,
davidmckayv,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 12:21
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
- Only the full-ci label cancels and replaces a pull request's CI run. Any other label waits for the run in progress, then finds its checks passed on the same commit and skips them. A label run cannot skip everything up front: a skipped verify counts as passing. - 14 files in the cross-browser list ignored the engine selection and ran in full in both the Chromium and the WebKit leg, artifacts-screens (about 11 minutes) among them. They now run where Chromium is selected (ownBrowsersAsked), once. sidebar-window-buttons launches through launchBrowserEngines. A test holds every listed file to the selection. - A full browser job that runs covers the changed files in its list, so they no longer run a second time in tests (changed files). The desktop setup window's step names its file in a list the planner can read. - The queued pull request's head is fetched on a deadline of its own, and a merge group that has to go without its history says why. - The budget test builds matrix legs as GitHub does: include and exclude are lists of legs, not axes. - Comments and docs/releasing.md name the engine and shard checks.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
PRs and merge groups can reuse passing checks without treating a PR head as the temporary merge that CI actually tested. CI records the checkout commit in a run-scoped artifact; decisions compare against that commit and account for each job's coverage. The cross-browser list runs Chromium and WebKit separately across the three shards added in #2780. Reuse requires all six results, and a failed engine/shard can be rerun independently.
The final hosted run passed in 14m49s. Its changes job took 1m01s, versus 4m49s during profiling, and the redundant 18m07s changed-test run was eliminated. The engine/shard matrix's longest leg was 13m18s, with the expanded 101-file list from #2780; four other legs took about four to six minutes. The earlier combined job took 16m49s. These are individual runs with different coverage, not median speed claims.
A live merge-group decision probe using the passing results reused types, API, native, both browser gates, startup, harnesses, build and the whole test suite in 26.52s. Only component image checks remained owed for this CI-definition-changing PR; no merge or queue entry was created.
Reuse safeguards
Browser work
Both matrix legs receive the full 101-file list across their three shards. Existing Chromium-only suites therefore also run in the WebKit leg; the long artifact-screen file still sets the slowest shard's floor. The WebKit clipboard scenario runs only in the WebKit job. Four mixed suites now share a test-only launcher that honors explicit single-engine selection, preserving default/combined modes, launch options and caller-owned cleanup; WebKit runs no longer start their duplicate Chromium instances. No test is quarantined or removed.
Related operations
Where it runs
GitHub Actions, its scripts, and browser-test setup. The checkout-proof artifact lasts 14 days and contains only a commit SHA. No deployed app/server, signing configuration, dependency, API, database or release-policy.json changes.
Changelog
none
Proof