Skip to main content
Run the existing hand-written Playwright suites alongside e2e-inc/e2e for 14 days, from 27 November 2026 to 11 December 2026 (ICT, UTC+7). Playwright remains authoritative during the pilot. The e2e runs are report-only and use strict-cache replay in CI. An eligible result requires a suite owner’s explicit acknowledgment before any retirement. See the framework setup.

Pilot suites

Collect reports and update history

Run each suite against the same commit and fixture for both frameworks. Use one report per suite, framework, and CI attempt. Give both frameworks the same runId for that attempt, including any rerun attempt number. Use the tested commit’s full SHA, the run start timestamp with its offset, and ci: true for CI results. Use the Playwright JSON reporter to preserve retry outcomes. If you use JUnit, set PLAYWRIGHT_JUNIT_INCLUDE_RETRIES=1. Use a consistent report format per framework across runs so test identities stay comparable. For e2e, collect .e2e/report.json and .e2e/junit.xml. The JSON report supplies runner wall time and model-call accounting. The optional junit field validates the companion report without counting the cases again. An e2e JUnit-only input can supply outcomes, with model-call coverage marked unknown. Use durationMs to supply measured wall time when the report lacks it. Save a manifest such as tmp/e2e/pilot-manifest.json. Report paths resolve relative to the manifest.
Keep the workshop policy in each summary invocation, including when you summarize history alone. A policy-only manifest can omit runs. Set runtimeCapMs in the suite policy when the owner has agreed to an absolute CI runtime cap. Run from the repository root. On the first invocation, omit --history. Reuse --history-out as the next invocation’s input. Use one writer for the history and archive the raw artifacts before CI retention expires.
During collection, omit --as-of to use the current time. Use the pilot end date to reproduce the final decision. Date-only values start at midnight ICT. The tool deduplicates identical snapshots by run ID, timestamp, suite, and framework and rejects conflicting snapshots. It accepts a JSON array, a single JSON snapshot, or NDJSON. The output history keeps the current 14-day window. Omit --markdown-out to write the Markdown summary to stdout, or append the saved file to $GITHUB_STEP_SUMMARY. The model-call assertion exits nonzero on a positive or unknown total in any CI snapshot supplied.

Record maintenance and triage failures

Add one entry per break and framework to .e2e/pilot-maintenance-log.json. Keep the schema reference and add the suite ID, framework, full tested commit SHA, offset-qualified recordedAt, and a short note on what broke. Record actual repair minutes in minutesToFix, including re-recording for e2e or editing selectors for Playwright. Use zero for a confirmed break that needed no repair. Classify failureCategory as real-regression, ui-change-false-failure, or infra-flake. Triage each failing Playwright CI run and include its runId on the ledger entries. A real regression needs a stable regressionId. If both frameworks caught it on the same CI attempt, record the same ID on both entries. Use the same suite, SHA, and run ID. A passing candidate or an unmatched detection counts as a miss. If any baseline failure remains untriaged, leave the suite in Playwright.

Apply the retirement criteria

Use the per-suite decision and its criterion results in the JSON summary. Aggregates describe the pilot as a whole. Apply these gates to each suite.

Retire or restore one suite

  1. Keep Playwright authoritative for any result other than ELIGIBLE_FOR_RETIREMENT_ACK. Continue collecting or repairing evidence for INSUFFICIENT_DATA or KEEP_PLAYWRIGHT.
  2. For an eligible suite, attach the summary, tested SHA, and artifact links to the decision record. Obtain an explicit acknowledgment from the suite owner.
  3. Retire that suite in a scoped change. Keep a revertable reference to its Playwright spec, job, and fixture settings. Verify the replacement on the exact change with strict-cache CI and zero model calls.
  4. If the replacement misses a regression or breaks the CI criteria, revert the suite retirement. Restore the baseline job and spec, set e2e back to report-only for that suite, and run both suites on the same SHA. Reapply the gates and obtain a fresh acknowledgment before retiring it again.
Run the pilot metrics regression tests with node --test scripts/e2e/pilot-metrics.test.mjs. They cover report parsing, history deduplication, metric formulas, the calendar hold, and CLI output and exit behavior.