Repository navigation
chore(scripts): auto-update config schema and env docs in README - #553
Closed
Alok Pandey (alok-108) wants to merge 1 commit into
Closed
Alok Pandey (alok-108) wants to merge 1 commit into
Alok Pandey (alok-108) wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #550
Follows up on Dmitry Gozman (@dgozman)'s feedback in #551 (comment) ("I don't think we need a test, but rather an auto-updater.") by extending
scripts/update.jsinstead of adding a README test.Summary
scripts/update.jsto auto-updateREADME.mdin addition to syncingskills/playwright-cli/:<!--- Config generated by scripts/update.js -->): resolves upstreampackages/playwright-core/src/tools/mcp/config.d.tsfor the pinnedplaywright-corecommit (via sibling../playwrightgit history if present, orraw.githubusercontent.com/<gitHead>/ local../playwright) and regenerates the TypeScriptConfigschema block.<!--- Env generated by scripts/update.js -->): derives active options fromtools.decorateMCPCommandinplaywright-core/lib/coreBundle, filters againstPLAYWRIGHT_MCP_*environment variables present incoreBundle, and preserves the CLI default (headless by default) forPLAYWRIGHT_MCP_HEADLESS.README.mdand runnode scripts/update.jstwice to verify idempotency and refresh both sections againstplaywright-core@1.66.0-alpha-2026-11-18(removingsaveVideo,outputMode,PLAYWRIGHT_MCP_SAVE_TRACE,PLAYWRIGHT_MCP_SAVE_VIDEO, and"Playwright MCP Bridge").README.mdsync step underscripts/update.jsin.claude/skills/dev/roll.md.Verification
node --check scripts/update.jsnode scripts/update.js(run twice, verified idempotent onREADME.md)git diff --checknpx playwright test --workers=1 --reporter=list:9 passed (27.9s)