Pin Playwright to 1.56.1 and add NPM package update tracking#4103
Merged
Pin Playwright to 1.56.1 and add NPM package update tracking#4103
Conversation
- Add DefaultPlaywrightVersion constant in pkg/constants/constants.go - Update getPlaywrightDockerImageVersion() to use the constant - Update renderPlaywrightMCPConfig functions to use the constant - Update all tests to expect 1.56.1 instead of latest - Update dependabot-go-checker.md workflow to check for playwright updates - Add Phase 1.5 for checking @playwright/mcp NPM package updates - Add example issue format for playwright package updates Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Pin Playwright to version 1.56.1 in constants.go
Pin Playwright to 1.56.1 and add NPM package update tracking
Nov 15, 2025
pelikhan
approved these changes
Nov 15, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR pins the @playwright/mcp package to version 1.56.1 using a centralized constant and extends the dependency monitoring workflow to track NPM package updates. The change improves version consistency across the codebase and enables automated monitoring of the Playwright MCP package.
Key changes:
- Introduced
DefaultPlaywrightVersionconstant inpkg/constants/constants.gofor centralized version management - Replaced all hardcoded
"latest"references with the constant across production code - Enhanced the Dependabot workflow to include NPM package update checks with detailed instructions and example output
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
pkg/constants/constants.go |
Added DefaultPlaywrightVersion = "1.56.1" constant with appropriate documentation |
pkg/workflow/mcp_servers.go |
Updated getPlaywrightDockerImageVersion() to use the new constant instead of hardcoded "latest" |
pkg/workflow/mcp-config.go |
Updated JSON config rendering to reference the constant in two locations |
pkg/workflow/mcp_renderer.go |
Updated TOML config rendering to reference the constant |
pkg/workflow/version_field_test.go |
Updated test assertions to expect "1.56.1" instead of "latest" |
pkg/workflow/mcp_config_shared_test.go |
Updated test expectations for both test cases to verify "1.56.1" version |
pkg/workflow/mcp_config_refactor_test.go |
Updated test assertions in JSON and TOML test cases |
pkg/workflow/custom_engine_test.go |
Updated assertions in two integration tests for domain configuration |
.github/workflows/dependabot-go-checker.md |
Added Phase 1.5 with NPM package checking instructions and Example 3 for Playwright updates |
.github/workflows/dependabot-go-checker.lock.yml |
Regenerated lock file with updated workflow name and new NPM monitoring instructions |
.github/workflows/unbloat-docs.lock.yml |
Regenerated with pinned Playwright version "1.56.1" |
.github/workflows/daily-multi-device-docs-tester.lock.yml |
Regenerated with pinned Playwright version "1.56.1" |
.github/workflows/cloclo.lock.yml |
Regenerated with pinned Playwright version "1.56.1" |
.github/workflows/blog-auditor.lock.yml |
Regenerated with pinned Playwright version "1.56.1" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pins the
@playwright/mcppackage to version 1.56.1 using a centralized constant and updates the dependency checker workflow to monitor NPM package updates.Changes
Constants and version management
DefaultPlaywrightVersion = "1.56.1"inpkg/constants/constants.go"latest"strings with constant reference in:pkg/workflow/mcp_servers.go-getPlaywrightDockerImageVersion()pkg/workflow/mcp-config.go- JSON config renderingpkg/workflow/mcp_renderer.go- TOML config renderingDependency tracking workflow
.github/workflows/dependabot-go-checker.mdto include NPM package checks@playwright/mcpupdates via NPM registryTest updates
"1.56.1"instead of"latest".lock.ymlfiles with pinned versionExample
Before:
After:
Compiled workflows now generate:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.