Allow explicit "latest" version for Playwright while defaulting to pinned version#4101
Merged
pelikhan merged 2 commits intoq-pin-playwright-version-08c145387afb3b72from Nov 15, 2025
Merged
Conversation
Changes made: - Remove condition that blocked "latest" from being used when explicitly set by user - Change default from "latest" to empty string (pinned version used as fallback) - Update TOML rendering to respect user-specified versions - Update all tests to expect pinned version (1.56.1) as default - Add new test to verify explicit "latest" is respected - Update lock files to use pinned version for existing workflows The user can now: - Omit version → gets pinned version 1.56.1 (secure default) - Set version: "latest" → gets latest (explicit choice respected) - Set version: "1.55.0" → gets specific version (already worked) This addresses the feedback to allow users to pick "latest" when they explicitly want it, while maintaining security by defaulting to a pinned version. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update to address feedback on pinning Playwright version
Allow explicit "latest" version for Playwright while defaulting to pinned version
Nov 15, 2025
ad8b678
into
q-pin-playwright-version-08c145387afb3b72
84 of 91 checks passed
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.
Feedback requested allowing users to explicitly choose
version: "latest"for Playwright. The code was blocking "latest" even when explicitly specified, forcing the pinned version in all cases.Changes
args.ImageVersion != "latest"condition that prevented explicit "latest" usageBehavior
Compiled workflows now default to
@playwright/mcp@1.56.1instead of@playwright/mcp@latest, with users able to override to "latest" when desired.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.