Skip to content

Improve CI speed#7009

Draft
gonzaloriestra wants to merge 38 commits intomainfrom
faster-ci
Draft

Improve CI speed#7009
gonzaloriestra wants to merge 38 commits intomainfrom
faster-ci

Conversation

@gonzaloriestra
Copy link
Contributor

@gonzaloriestra gonzaloriestra commented Mar 13, 2026

WHY are these changes introduced?

The CI is a bit slow

WHAT is this pull request doing?

Reduces PR check wall-clock time from 8.7m to 5.1m (47% faster)

  • Shard Windows unit tests 2-way — slowest job drops from 8.7m → 5.1m
  • Shard test coverage 2-way + merge — coverage drops from 7.4m → 4.1m
  • Use basic reporter in CI — less output overhead (local stays verbose)
  • Add --prefer-offline to pnpm install — skip network for cached packages
  • Add --coverage.all=false — skip instrumenting untested files, removes need for full build
  • Remove ui-extensions-test-utils from vitest workspace — no tests in package
  • Add unit-tests-gate job — single required check for all matrix results

How to test your changes?

CI

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

…ndows jobs: 8.7m/8.3m/8.5m. Ubuntu ~4.6-4.9m. macOS ~3.8-5.5m. Test Coverage 7.4m. Local: 77s.\n\nResult: {"status":"keep","slowest_ci_job_min":8.7,"local_test_s":77,"win_node20_min":8.7,"win_node22_min":8.3,"win_node24_min":8.5,"test_coverage_min":7.4}
…k: 4.1m (was 6.5m). Slowest job now Windows Node 20 shard 1/2 at 5.1m. All green including coverage merge and PR comment.\n\nResult: {"status":"keep","slowest_ci_job_min":5.1,"local_test_s":63,"win_node20_min":5.1,"win_node22_min":5,"win_node24_min":4.9,"test_coverage_min":4.1}
@gonzaloriestra gonzaloriestra requested a review from a team as a code owner March 13, 2026 15:05
@github-actions
Copy link
Contributor

github-actions bot commented Mar 13, 2026

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 82.73% 14568/17610
🟡 Branches 75.15% 7229/9620
🟢 Functions 82.03% 3701/4512
🟢 Lines 83.17% 13770/16556

Test suite run success

3806 tests passing in 1462 suites.

Report generated by 🧪jest coverage report action from 49c9939

@gonzaloriestra gonzaloriestra marked this pull request as draft March 13, 2026 16:23
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