Skip to content

Ci speedup#1259

Open
MattiSG wants to merge 4 commits into
mainfrom
ci-speedup
Open

Ci speedup#1259
MattiSG wants to merge 4 commits into
mainfrom
ci-speedup

Conversation

@MattiSG

@MattiSG MattiSG commented Jun 30, 2026

Copy link
Copy Markdown
Member

Depends on #1258.

Speedup and failure rate decrease by stopping to run integration tests cross-platform

This changeset stops running metadata and declaration validation on macOS and Windows. This is based on the idea that engine tests definitely should be cross-platform, but smoke-testing downstream dependencies does not need to be cross-platform: cross-platform behavioural consistency is guaranteed by the engine tests, integration testing is not necessary cross-platform. If this hypothesis does not hold in production and we get defect reports, we can revert this changeset.

Expected speedup: at least 1 minute per run (18% speedup), up to 2m30 (40%) per run.

Indeed, Windows runs around ~1m15 for both metadata and declarations validation, while macOS and Ubuntu run in around ~42s.
With perfect parallelism, that's 2 x 30s saved; with totally failing parallelism, that's 2 x 75s saved. The reality will probably be somewhere in between.

Preliminary run result shows no evident speed gain (5m17s, the lowest in the range of previous runs but still in the same range).

Test cross-platform on Node latest instead of oldest

For some reason, we were testing on macOS and Windows only on the oldest supported version of Node instead of the most recent. This changeset inverts that behaviour.

@MattiSG MattiSG requested a review from Ndpnt June 30, 2026 09:05
MattiSG added 4 commits June 30, 2026 11:23
Decrease risks with flaky tests, decrease consumption, speed up CI
Engine tests should be cross-platform, but smoke-testing downstream dependencies does not need to be cross-platform
Instead of oldest supported Node version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant