Repository navigation
Turn off the Playwright visual regression lane - #38194
Conversation
The visual lane ran only after merge (merge queue, nightly, dispatch), so every rendering change left stale baselines and failed the nightlies until someone refreshed them. Force the lane's switch to false on every event. The specs, baselines and the paths filter stay in place, so the previous expression turns it back on.
The cache-assets guard test asserted the old visual expression; assert the lane is the constant 'false' instead. Add a decision record for turning the lane off and amend the 2026-10-23 record, whose visual half no longer holds.
The PR template, the pr-checklist skill and the Playwright README still asked authors to refresh visual baselines. The lane no longer runs, so remove the requirement and point at the decision record.
Code Review ✅ Approved 🟡 Medium risk 2 closed / 2 findingsDisabling the Playwright visual lane on every event removes automated rendering-regression detection, so UI changes could ship with unnoticed visual defects. Turns off the Playwright visual regression lane on ✅ 2 closed✅ Bug: Constant
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source
Summary
Turns off the Playwright visual regression lane on
mainfor every event: merge queue, the nightly schedule, release-nightly dispatches and manual runs.The lane runs only after merge, never on PR checks, so any change that alters rendering lands with stale baselines. The nightly then fails until someone refreshes them on CI. The 2.1 release nightly on 18 Nov failed all 7 visual shards (36 tests) for this reason.
check-changes.outputs.visualinplaywright-e2e-reusable.ymlis now the constant'false'.build-visual-uiand the visual shard plans skip as they already do on a PR without visual changes.playwright-cidoes not depend onbuild-visual-uisucceeding.yarn playwright:visualand thevisualpaths filter are untouched. Restoring the previous expression (kept in git history) turns the lane back on.pr-checkliststep and checklist bullet that required refreshed baselines, and the.github/playwright/README.mdlane description are updated. Authors no longer need to refresh or list baselines.ADR:2026-11-19-the-playwright-visual-lane-is-off-until-baselines-are-checked-before-merge, is added, and the 2026-10-23 record is amended. The guard test intest_playwright_cache_assets.pynow asserts the lane is off.docs/generated/api-reference.mdpicks up the missingPOST /v1/search/queryrow, refreshed by the pre-commit generated-doc hook.Testing
check-changes.outputs.visual(build-visual-uiif:andVISUAL_LANEinplan-playwright). Both treat'false'as "lane off".🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
Turns off the Playwright visual lane for every CI event and removes the requirement to refresh screenshot baselines.
No new actionable issues found in the changes since the previous review.
Reviews (8) · Last reviewed commit: "docs(pr): drop the visual baseline requi..." · Reviewed by Greptile