Repository navigation
Releases
v2.1.0
What's Changed
- devops: disable sourcemaps by @aslushnikov in #88
- fix(sharding): count work already on shards when choosing family span by @miluoshi in #90
New Contributors
Full Changelog: v2.0.3...v2.1.0
v2.0.3
What's Changed
- fix: better support for serial suites by @aslushnikov in #87
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- fix(sharding): fix sharding algorithm corner case by @aslushnikov in #84
- fix(sharding): improve shard selection heuristic by @aslushnikov in #85
- chore: align naming with the algorithm blog post by @aslushnikov in #86
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
- docs: streamline README.md for GitLab by @aslushnikov in #81
- docs: minor fixes by @aslushnikov in #82
- fix: bring back Node 20 support by @aslushnikov in #83
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Breaking changes
-
Balanced sharding is now a reporter option, not a separate binary. The
flakiness-playwright-shardexecutable is gone. ConfigureshardBalancinginstead and keep running plainplaywright test --shard=N/M:reporter: [['@flakiness/playwright', { shardBalancing: { timingsFile: 'timings.json' }, }]]
This is built on the
Reporter.preprocess()hook released in Playwright 1.62, so balanced sharding now requires Playwright 1.62+. On older versions the reporter warns and Playwright's native sharding applies. See Balanced Sharding. -
A timings file is now required for balancing. Produce the file with
flakiness-playwright-timings buildorfetchand commit it. This also makes the shard split stable across runs. -
Node.js 22.9.0 or higher. Node 20 reached end of life, so it has been dropped from the engine range.
-
opennow defaults to'never'(was'on-failure'). The reporter prints theflakiness showcommand instead of launching a browser. Setopen: 'on-failure'to restore the old behavior.
New
- GitLab CI/CD OIDC: uploads authenticate without an access token. Declare an
id_tokens:entry namedFLAKINESS_ID_TOKENwhoseaudmatches yourflakinessProject. - Shard balancing diagnostics: each shard prints its timings coverage, predicted per-shard loads, and a balance percentage before the run, then the predicted-vs-actual delta after it. See What the reporter prints.
v2.0.0-alpha.0
What's Changed
- docs: restore title by @aslushnikov in #74
- feat: adopt the new sharding API by @aslushnikov in #75
- feat: support GitLab OIDC by @aslushnikov in #76
- devops: bump engine floor to Node 22 by @aslushnikov in #77
- feat: do not open the HTML report by default by @aslushnikov in #78
- feat: use
showReportMessageinstead ofshowReportCommandby @aslushnikov in #79 - feat(sharding): shard balancing plan + outcome by @aslushnikov in #80
Full Changelog: v1.18.0...v2.0.0-alpha.0
v1.18.0
What's Changed
- feat(flakiness-playwright-shard): support the
--listflag by @aslushnikov in #72 - docs: add a paragraph about test interferrence debugging by @aslushnikov in #73
Full Changelog: v1.17.0...v1.18.0
v1.17.0
What's Changed
- chore: split out argument parsing by @aslushnikov in #66
- fix: properly name anonymous playwright projects by @aslushnikov in #67
- feat: introduce new
--timingsflag to read test duration hints by @aslushnikov in #68 - feat: introduce a new
flakiness-playwright-timingsbinary by @aslushnikov in #69 - feat: introduce
flakiness-playwright-timings fetchsubcommand by @aslushnikov in #70 - docs: enhance balancing docs by @aslushnikov in #71
Full Changelog: v1.16.0...v1.17.0
v1.16.0
What's Changed
- feat(sharding): respect --fully-parallel when sharding by @aslushnikov in #64
Full Changelog: v1.15.0...v1.16.0
v1.15.0
What's Changed
- feat: generate default title for sharded runs by @aslushnikov in #62
- feat: support anonymous access to Durations API by @aslushnikov in #63
New Contributors
- @dependabot[bot] made their first contribution in #52
Full Changelog: v1.14.0...v1.15.0