{
  "slug": "playwright-test-groups-can-configure-test-locks-1c4331696554",
  "title": "Playwright test groups can configure test locks",
  "tools": [
    "playwright"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-07T20:40:43.000Z",
  "announced_at": "2026-10-07T20:40:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When tests in a file or group access a shared resource that cannot be used concurrently, add a named lock with `test.describe.configure({ lock: 'user-settings' });`. Tests sharing that lock will not run at the same time.",
    "examples": [
      "test.describe.configure({ lock: 'user-settings' });"
    ],
    "gotchas": [
      "Version: v1.64.0",
      "lock: A string or array of strings naming locks; tests sharing a lock name do not run concurrently. Repeated `test.describe.configure()` calls add locks without removing existing ones.",
      "Prerequisite: Use Playwright Test v1.64.0 or later; the release note introduces the `lock` option in that version."
    ]
  },
  "why_it_matters": "Configure a test file or group to use a test lock while running tests.",
  "sources": [
    "https://github.com/microsoft/playwright/releases/tag/v1.64.0",
    "https://playwright.dev/docs/test-parallel"
  ],
  "rank": 0.93043,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "gap-20261007",
    "verdict_id": "gap-20261007:gap-20261007-bdf5b973c35fe6e6-4:gate",
    "evidence_hash": "d55d809be2ea27eaa2466c245352f93486b5b4d563d8e70bca21767e52f93303"
  },
  "review": {
    "draft_hash": "a75bab9a0db054dbc1042f64ea07aaec29d23fbf0b2a09e8c264488f8f074f4b",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T20:40:43.000Z",
    "decision": "gap-20261007:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
