feat(test-runner): annotate serial suites for custom sharding - #42164
feat(test-runner): annotate serial suites for custom sharding#42164Simon Knott (Skn0tt) wants to merge 2 commits into
Conversation
Custom preprocess sharders had to read private Suite._parallelMode to keep describe.serial tests together. Inherit a `serial` annotation onto those tests instead, same way skip/fixme static annotations work. Fixes: microsoft#42143 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6f44ba5d-b235-4f5d-9bab-af7b496cb8d0
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6f44ba5d-b235-4f5d-9bab-af7b496cb8d0
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "MCP"2 failed 8061 passed, 1284 skipped Merge workflow run. |
Test results for "tests 1"1 failed 4 flaky51240 passed, 1190 skipped Merge workflow run. |
🔴 One failure is caused by this PRHi, I'm the Playwright bot and I took a look at the CI failures.
DetailsOverall: one real, deterministic failure produced by this PR's own change; the MCP failures are unrelated low-rate flakes with history on other SHAs. Caused by this PR
Pre-existing flake / infra
The earlier MCP report's failures ( Triaged by the Playwright bot - agent run |
🟢 CI is clear — the remaining failures are pre-existing flakesHi, I'm the Playwright bot and I took a look at the CI failures. The one real, PR-caused break ( DetailsOverall: no failure in the latest reports is caused by this PR. The serial-annotation change did break Pre-existing flake / infra
Earlier MCP failures ( Triaged by the Playwright bot - agent run |
Fixes #42143 with a solution that doesn't give prominent public API. At the same time it doesn't give the
parallelMode === 'default'bit, which is also useful to sharding implementations. Gotta API-review this critically.