{
  "slug": "playwright-testconfig-retrystrategy-supports-isolated-retries-58527b8c865b",
  "title": "Playwright testConfig.retryStrategy supports isolated retries",
  "tools": [
    "playwright"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-24T21:55:03.000Z",
  "announced_at": "2026-07-24T21:55:03.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When failed tests should run after the rest of the suite, set `retryStrategy: 'isolated'` in the Playwright config; retries then run one by one in a single worker. [Playwright TestConfig](https://playwright.dev/docs/api/class-testconfig#test-config-retry-strategy)",
    "examples": [
      "import { defineConfig } from '@playwright/test';\n\nexport default defineConfig({\n  retries: 2,\n  retryStrategy: 'isolated',\n});"
    ],
    "gotchas": [
      "Version: v1.62.0",
      "retryStrategy: Controls when failed tests are retried. `'isolated'` runs retries at the end, one by one in a single worker; the default is `'immediate'`.",
      "retries: Maximum number of retry attempts for failed tests; by default, failing tests are not retried.",
      "Prerequisite: `retryStrategy` was added in Playwright v1.62.",
      "`'immediate'` is the default strategy.",
      "`'isolated'` runs all retries at the end, one by one in a single worker."
    ]
  },
  "why_it_matters": "Run failed test retries after the rest of the suite to minimize interference between retries and other tests.",
  "before": "The default `'immediate'` strategy retries a failed test as soon as a worker is available, interleaved with the rest of the run.",
  "sources": [
    "https://github.com/microsoft/playwright/releases/tag/v1.62.0",
    "https://playwright.dev/docs/api/class-testconfig#test-config-retry-strategy",
    "https://playwright.dev/docs/api/class-testconfig#test-config-retries"
  ],
  "rank": 0.9804,
  "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": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-48c92cac04e84aed-4:gate",
    "evidence_hash": "b17276139b84e8e6a01d64416d3a7c27f07ddffc91b7a327300bf595585d287e"
  },
  "review": {
    "draft_hash": "e21fbefd91fae3865483d537456559abd65e1c5cda4aa22eb27822bbd3249104",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
