LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtOct 19, 2026, 2:58 PM
updatedAtOct 19, 2026, 3:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/19863
authorneo-opus-ada
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 19, 2026, 3:24 PM

Playwright 1.64.1 adds a disabled feature our launch-args copy lacks

Closed v13.3.0/archive-v13-3-0-chunk-2 enhancementdependenciesaitesting
neo-opus-ada
neo-opus-ada commented on Oct 19, 2026, 2:58 PM

Context

Dependabot PR #19859 (five dev-dependency updates) is red on one unit arm, the same way on all three attempts (run 39218250707). The failing test is test/playwright/unit/e2e/glState.spec.mjs › "#19675 every launch profile keeps Playwright's disabled features in its one --disable-features", assertion the copy matches the installed Playwright: it expected AvoidCorsURLLoaderRestartOnRedirect and the copy has no such entry. The other 54 checks are green.

The Problem

Playwright 1.64.1 adds AvoidCorsURLLoaderRestartOnRedirect to its disabledFeatures. That is its fix for microsoft/playwright#43242: Chromium 155 aborts preflighted cross-origin redirects while Fetch interception is enabled. Chrome keeps only the last --disable-features, and our launch profiles pass one after Playwright's. So PLAYWRIGHT_DISABLED_FEATURES has to repeat Playwright's list, or our E2E browser quietly turns the feature back on. The guard caught the drift, which is what it is for. Because the copy must equal the installed Playwright, the copy update and the bump have to land together. Neither one can land on dev alone.

The Architectural Reality

  • test/playwright/e2e/utils/gpuIntent.mjs — PLAYWRIGHT_DISABLED_FEATURES ("copied verbatim from its chromiumSwitches"). BASE_LAUNCH_ARGS combines it with our three features into one --disable-features.
  • test/playwright/unit/e2e/glState.spec.mjs — the #19675 arm reads the installed playwright-core/lib/coreBundle.js list and requires equality.
  • Design authority: the PLAYWRIGHT_DISABLED_FEATURES JSDoc: "glState.spec.mjs fails when the installed Playwright's list stops matching." The copy exists because of the #19675 measurement: a list of ours re-enabled Playwright's disabled storage partitioning. The same work measured --overscroll-history-navigation=0 as dead, so dropping our own --disable-features is not an option.
  • package.json declares "@playwright/test": "^1.63.0", so only package-lock.json moves: @playwright/test, playwright and playwright-core go to 1.64.1.
  • Upstream at v1.64.1 (packages/playwright-core/src/server/chromium/chromiumSwitches.ts): the one addition comes right after BlockOriginHeaderModificationOnRedirect.

The Fix

One PR: move the lock to Playwright 1.64.1 (npm update @playwright/test, lock only), and add 'AvoidCorsURLLoaderRestartOnRedirect' to PLAYWRIGHT_DISABLED_FEATURES after 'BlockOriginHeaderModificationOnRedirect', the position upstream gives it. After the merge, Dependabot rebases #19859 down to its other four updates (js-yaml, mermaid, sass, webpack), and the automerge workflow merges them on green.

The fix does not go onto Dependabot's branch: the reusable automerge decision refuses any sender but Dependabot, so a foreign push would turn #19859 into a manual merge carrying agent code.

Acceptance Criteria

  • package-lock.json resolves @playwright/test, playwright and playwright-core to 1.64.1, and nothing else moves.
  • The #19675 arm passes against the installed 1.64.1. It is red with dev's copy and 1.64.1 installed (#19859's run), green at head.
  • The unit job and the E2E jobs pass at head.
  • Post-merge validation: #19859 rebases to four updates, goes green and auto-merges.

Out of Scope

  • Changing the copy-plus-drift-test design. Deriving the list at config load from the installed bundle, the way the spec already does, would make future list changes free. That is the call of #19675's owner, and this ticket works with either design.
  • js-yaml, mermaid, sass and webpack: they stay in #19859.

Related

#19859 · #19675 / #19676 (the copy and its guard) · neomjs/neo-agent-skills#194 (the other red Dependabot PR, found in the same sweep)

Live latest-open sweep: latest 20 open issues read 2026-10-19T13:00Z, no equivalent found. A2A sweep: claims since 12:37Z, none overlapping. MC sweep: Playwright bump red unit test the copy matches the installed Playwright disable-features glState gpuIntent, 6 results, prior decision = #19675's copy design (kept). Own-assignment sweep: 7 open, none overlapping.

Origin Session ID: 17ba709b-6759-4aa3-b484-e78a178b7f19 Retrieval Hint: "PLAYWRIGHT_DISABLED_FEATURES copy drift Playwright bump"

tobiu referenced in commit b1ed084 - "chore(deps-dev): Playwright 1.64.1, and the launch profiles repeat its new disabled feature (#19863) (#19864) on Oct 19, 2026, 3:24 PM
tobiu closed this issue on Oct 19, 2026, 3:24 PM