feat(test-runner): support read and read-write lock modes - #42619
Pavel Feldman (pavelfeldman) wants to merge 1 commit into
Conversation
Test results for "tests 1"6 flaky50120 passed, 1235 skipped Merge workflow run. |
Test results for "MCP"1 failed 7735 passed, 1228 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a look at the failing CI here. 🟢 Nothing here looks caused by this PRThe one real failure — DetailsThis PR is scoped to the read/read-write lock feature ( Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
Summary
lockaccepts{ name, mode }wheremodeis'read'or'read-write'(default); plain strings stay'read-write'.'read'holders run together, a'read-write'holder runs alone. Read locks are not granted ahead of a queued'read-write'job waiting for the same lock, so writers are not starved.'read-write'mode when any of its tests needs it.oneOfschema errors prefer the variant whose type matched, so a badmodeis reported instead of a generic type mismatch.Fixes #42594