Skip to content

feat(test runner): add built-in exclusive lock - #43445

Merged
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-43351
Oct 16, 2026
Merged

Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-43351

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • A test with { lock: 'exclusive' } starts only when no other tests are running, and no other tests start until it finishes. Other tests keep running in parallel with each other.
  • Isolated retries reuse the same lock instead of a separate job set.

Fixes #43351

A test with { lock: 'exclusive' } starts only when no other tests are
running, and no other tests start until it finishes. Isolated retries
now use the same lock instead of a separate job set.

Fixes: microsoft#43351
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

3 flaky ⚠️ [chromium-library] › library/video.spec.ts:762 › screencast › should work with video+trace `@chromium-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-library] › library/browsercontext-cookies-third-party.spec.ts:257 › third party 'Partitioned;' cookies `@firefox-playwright-x64-ubuntu24-64-core-node22`
⚠️ [firefox-library] › library/browsercontext-cookies-third-party.spec.ts:470 › top level 'Partitioned;' cookie and same origin iframe `@firefox-playwright-x64-ubuntu24-64-core-node22`

23567 passed, 710 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

5154 passed, 614 skipped


Merge workflow run.

@toduyemi

Copy link
Copy Markdown

omg thank you!!! <3

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.

[Feature]: Allow retryStrategy: 'isolated' in test.describe.configure() for tests requiring zero background workers

3 participants