Repository navigation
build: balance CI test shards by measured spec duration - #53564
Merged
Merged
Conversation
1 task done
* build: balance CI test shards by measured spec duration split-tests.js assigned spec files round-robin by `it(` count, which put api-browser-window-spec.ts and api-autoupdater-darwin-spec.ts on the same macOS x64 shard (29 test-minutes) while its siblings got 13 and 7.5. - split-tests.js packs files largest-first into the lightest shard using per-platform seconds from script/spec-weights.json; files without a weight get the median, and with no weights it falls back to `it(` count. - The spec runner writes per-file wall time to spec/artifacts/ spec-timings.json on CI (already uploaded with the test artifacts), and script/gen-spec-weights.js folds a downloaded set of those into spec-weights.json. - Seed weights are derived from the test logs of build run 33716702873. * test: isolate window.open zoomFactor spec in its own partition The setWindowOpenHandler zoomFactor test opens http://localhost at zoomFactor 2.0 in the default session, which records a persisted per-host zoom level for localhost. With the weighted shard split this spec now shares a shard with api-web-contents-spec, whose 'cannot persist zoom level after navigation with webFrame' test loads localhost in the default session and expects a zoom level of 0. (cherry picked from commit 8baab86)
MarshallOfSound
force-pushed
the
sam/bp-53441-42-x-y
branch
from
September 5, 2026 01:07
ff173b5 to
8262fa0
Compare
codebytere
approved these changes
Sep 5, 2026
|
No Release Notes |
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.
Backport of #53441.
See that PR for details. The weights are main's; regenerate them from this branch's own test timings after a run.
Notes: none