Skip to content

chore(playwright): sync to upstream v0.1.25 - #18168

Merged
kyle-sexton merged 4 commits into
mainfrom
chore/playwright-sync-0.1.25
Nov 22, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
chore/playwright-sync-0.1.25

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #16406

Summary

Re-vendors /playwright:playwright for drift issue #16406. update.sh --check reported version drift: 0.1.24 → 0.1.25 (npm @playwright/cli latest is 0.1.25, release notes). update.sh --apply replaced vendor/ and moved the frontmatter pin to upstream-version: 0.1.25, upstream-sha: 57f7a10fa21f3728fe8a4189244a8f61a95e6239 (npm dist.shasum, as the script writes it), synced: 2026-11-22.

The vendored content changes:

  • vendor/references/session-management.md, "Attach via browser extension": attach --extension now names the browser (=chrome, =msedge), extension sessions take --session and --session-color to label their tab group, --no-tab-group leaves tabs alone, and detach --close-tabs closes the session's tabs.
  • vendor/SKILL.md: the same extension example, and the npx playwright cli fallback now needs Playwright 1.59 or newer.

Disposition: take. Ported to reference/sessions.md as our decision plus a pointer. No skill design changes, so no needs-human issue.

Fix

  • vendor/: wholesale replacement by update.sh --apply. vendor/LICENSE differed only in line endings and normalizes to no change.
  • SKILL.md frontmatter: the pin above.
  • reference/sessions.md: new section "Attach to the user's browser (extension)". Name the browser and the session. Plain detach leaves the tabs open. Use --close-tabs only when the user no longer needs the tabs, because it also closes the tabs the user picked. The section points at the vendored section and the v0.1.25 notes. The bare attach --extension line is removed from the CDP section, and the contents list is updated.
  • reference/commands.md: attach --extension=chrome. Upstream calls it the Playwright Extension.
  • Text-only records whose recheck trigger is "the frontmatter upstream-version moves" were checked against the v0.1.25 notes and re-dated 2026-11-22:
    • the idle-shutdown pointer (sessions.md): the notes list no idle-timeout change;
    • the run-code sandbox globals pointer (running-code.md): the only run-code change is input validation.
  • README.md: wrapper verdict rechecked at 0.1.25.
    • The vendored SKILL.md grew from 493 to 497 lines. Its description and reference layout are unchanged.
    • Six of ten reference files still run past 100 lines, the longest at 433 (wc -l).
    • The verdict stands.
  • Changelog fragment for playwright (patch).

The npx playwright cli fallback has no counterpart outside vendor/ (grep over the plugin), so nothing is ported for it.

Release-note items with no counterpart in our references are not ported:

  • --endpoint now needs the full ws:// path;
  • the CDP attach busy-page timeout;
  • ARM64 Chrome install;
  • the ffmpeg installer hint;
  • locateOnlyVisible nth;
  • service-worker timezone;
  • tracing CPU;
  • Trace Viewer hardening.

Verification

Run in the worktree:

  • update.sh --check after the sync: No drift. Vendored baseline tracks upstream v0.1.25.
  • update.test.sh: all 33 checks passed.
  • scripts/check-affected.sh --base origin/main --no-fetch: 20 passed, 2 skipped over 8 changed files.
  • scripts/check-changelog-fragments.sh --check: 1 fragment valid.
  • scripts/check-vendor-version-bump.sh --check-bump origin/main: passed.
  • scripts/check-as-of-recheck.sh --check: every as-of date has a recheck trigger.

Not re-run: these probes need a 0.1.25 playwright-cli. The local CLI is 0.1.24, and update.sh marks the CLI upgrade as person-only. These probe-based records keep their dates and their "under 0.1.2x" wording:

  • the video frame-size table and the video-flags pointer in reference/tracing-and-video.md;
  • the animation-capture probe and the goto file:/// probe in reference/running-code.md;
  • the --raw probe in commands.md;
  • the redactUrlParams probe in storage-and-auth.md.

The plugin's model-graded evals were not run.

Remaining

Related

Draft: the dispatching orchestrator session runs the ready flip

🤖 Generated with Claude Code

https://claude.ai/code/session_01RAoAtViDMW2P121uLvSb35

kyle-sexton and others added 3 commits November 22, 2026 10:36
update.sh --apply replaced vendor/ with @playwright/cli 0.1.25 and moved
the SKILL.md frontmatter pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RAoAtViDMW2P121uLvSb35
Upstream now requires naming the browser for attach --extension and adds
named extension sessions and detach --close-tabs. sessions.md gets its
own extension section as our decision plus a pointer; commands.md names
the browser. Text-only records keyed to the upstream version are
re-dated; the README verdict is rechecked at 0.1.25 (497 lines).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RAoAtViDMW2P121uLvSb35
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 22, 2026 15:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T15:59:49.744627Z 540a07d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 540a07dd29

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs

Run 45041208273, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 45041208273

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 8a6f6b4a60bddcba8908b820ed6d2aaa8dbf2ba5: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #18168, incremental (540a07d → 8a6f6b4)

No security issues found. This was a blocking-only review: the lane already reviewed an earlier head, so only CRITICAL and IMPORTANT findings would be reported.

I read the whole incremental diff for all 3 changed files. None of them matches a trusted-path glob. All three are documentation or skill reference text:

  • .changes/playwright/chore-playwright-sync-0.1.25-0441e632.md: only the changelog wording changed.
  • plugins/playwright/skills/playwright/reference/sessions.md:
    • Extension-attach section: the detach --close-tabs example and its explanation were removed. They are replaced by one rule: "Preserve the user's tabs: end the session with plain detach, and close its tabs only when the user says they no longer need them." This tightens the earlier guidance rather than loosening it. Closing tabs now needs the user to say so; before, the agent could judge that the user no longer needed them.
    • Pointers: the pointer moves from the vendored copy to upstream's live session-management.md on microsoft/playwright-cli main. The idle-shutdown pointer gains a link to the same upstream doc.
  • plugins/playwright/skills/playwright/reference/running-code.md: the run-code globals pointer now links to upstream's live running-code.md#syntax, with the release notes kept for correlation.

What I checked:

  • Instruction-surface lens: no rule is deleted or softened. The run-code sandbox rule (pass secrets in as JSON literals, never through process.env) is unchanged. The rule about the user's tabs is stricter than before.
  • Live upstream pointers: these are reading pointers to a first-party Microsoft repository. The skill already relied on that repository's text through vendor/. The pointers grant no tool, run nothing and change no credentials. I found no path that exposes a token, compromises an account or causes a charge.
  • Plugin manifests: no plugin.json or marketplace.json changed, so there are no manifest lines.
  • Trust controls: no workflow, action or trust control is touched.

Settled threads: the one settled thread, on sessions.md, was answered by the owner with the fix in this head. I raise nothing against it.

Embedded text: the PR context and the settled-threads file hold no directive aimed at this lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 8a6f6b4a60bddcba8908b820ed6d2aaa8dbf2ba5: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): no findings.

This push touches only documentation in three files:

  • Changelog fragment: the .changes/playwright/... fragment now describes the new extension guidance.
  • reference/sessions.md: the extension section now says to preserve the user's tabs with plain detach, and to close the session's tabs only when the user says they no longer need them. The --close-tabs example is gone. The pointer now sends the reader to upstream's live "Attach via browser extension" section before any cleanup. The idle-shutdown pointer now names upstream's "Browser Session Commands" section and drops its as-of and recheck stamps.
  • reference/running-code.md: the run-code globals pointer now links to upstream's running-code "Syntax" section and keeps the v0.1.22 notes as a correlate. Its as-of and recheck stamps are dropped.

I read every hunk of the 3 files in the incremental diff and checked reference/sessions.md at head (lines 91–103). The edited section matches the owner's reply on the settled thread (original line 102). The pointers that lost their stamps now point at live sources and store no copied value. No file under .claude/rules/ sets a rule about Pointer or Recheck-trigger lines that this change breaks.

Other notes:

  • Review mode: the prior-findings file says blocking only: yes, so this review reports blocking findings only.
  • Verification claims: the PR's checks (check-as-of-recheck.sh, update.test.sh and others) are the author's claims. I did not run them, and I did not open the upstream URLs.
  • Closing issue: the PR only says "Refs: Upstream drift: playwright/playwright #16406" and closes no issue, so there are no acceptance criteria to check.
  • Loosened checks: none. The prompt had no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It had no loosened_check_decision_record: line either, so I did not check whether a citation was required. Loosened checks would be marked: fail (default); patterns: 0
  • Plugin manifests: no manifest changed.
  • Spend and hold: the change causes no cost and calls for no hold.

Verifier dropped 0 of 0 candidates.

The extension section restated what detach and --close-tabs close. Keep
our decision (preserve the user's tabs) and point at upstream's
"Attach via browser extension" section before any cleanup. Repoint the
idle-shutdown and run-code globals pointers at their docs sections and
drop their as-of stamps, which a pointer does not carry.

Refs: #16406

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RAoAtViDMW2P121uLvSb35
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 9005b43 Nov 22, 2026
51 checks passed
@kyle-sexton
kyle-sexton deleted the chore/playwright-sync-0.1.25 branch November 22, 2026 16:54
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant