Skip to content

fix: migrate playwright-go to mxschmitt/playwright-go (CDN shutdown) - #2003

Merged
osmman merged 1 commit into
mainfrom
fix/playwright-cdn-deprecation
Jul 9, 2026
Merged

fix: migrate playwright-go to mxschmitt/playwright-go (CDN shutdown)#2003
osmman merged 1 commit into
mainfrom
fix/playwright-cdn-deprecation

Conversation

@kdacosta0

@kdacosta0 kdacosta0 commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Migrate playwright-community/playwright-gomxschmitt/playwright-go (one-line change)
  • The Playwright /builds/driver CDN (azureedge) has been shut down — playwright install fails with 404
  • The module moved to mxschmitt/playwright-go which downloads the driver from npm + nodejs.org instead (PR #615)

Related PRs

🤖 Generated with Claude Code

The playwright-community/playwright-go CDN has been shut down.
The module moved to mxschmitt/playwright-go which downloads the
driver from npm + nodejs.org instead.

Refs: SECURESIGN-4984

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.06%. Comparing base (fac73b4) to head (0443851).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2003   +/-   ##
=======================================
  Coverage   54.06%   54.06%           
=======================================
  Files         235      235           
  Lines       14480    14480           
=======================================
  Hits         7828     7828           
  Misses       5838     5838           
  Partials      814      814           
Flag Coverage Δ
e2e 76.36% <ø> (ø)
unit 28.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kdacosta0
kdacosta0 marked this pull request as draft July 8, 2026 12:08
@kdacosta0
kdacosta0 marked this pull request as ready for review July 8, 2026 12:11
@kdacosta0
kdacosta0 marked this pull request as draft July 8, 2026 12:23
@kdacosta0
kdacosta0 marked this pull request as ready for review July 8, 2026 14:44
@qodo-for-securesign

Copy link
Copy Markdown

Code Review by Qodo

Grey Divider

Sorry, something went wrong

We weren't able to complete the code review on our side. Please try again

Grey Divider

Qodo Logo

@qodo-for-securesign

Copy link
Copy Markdown

PR Summary by Qodo

Fix CI Playwright install by switching to mxschmitt/playwright-go

🐞 Bug fix ⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Switch Playwright Go module used in CI to mxschmitt/playwright-go.
• Avoid failing playwright install due to the deprecated /builds/driver CDN.
• Keep e2e UI test setup unchanged aside from the install source.
Diagram

graph TD
  A["GitHub Actions: main.yml"] --> B["e2e job: Playwright install"] --> C["go run mxschmitt/playwright-go"] --> D["Download driver (npm/nodejs.org)"] --> E["Run Go e2e tests"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Use Node Playwright install in CI (npm/npx)
  • ➕ Aligns directly with upstream Playwright distribution and tooling
  • ➕ Decouples driver install from Go module behavior
  • ➖ Adds/expands Node toolchain usage in the workflow
  • ➖ Requires adjusting current Go-based install step and potentially caching strategy
2. Vendor/cache Playwright drivers internally (artifact/mirror)
  • ➕ Eliminates reliance on external availability and upstream distribution changes
  • ➕ Improves reproducibility in restricted environments
  • ➖ Operational overhead to mirror and update drivers
  • ➖ More complex workflow and storage management

Recommendation: Proceed with the current approach: switching to mxschmitt/playwright-go is the lowest-change fix that restores playwright install after the CDN shutdown while keeping the existing Go-based workflow intact. Consider a mirrored/cached driver strategy only if external download reliability becomes an ongoing issue.

Files changed (1) +1 / -1

Other (1) +1 / -1
main.ymlUpdate Playwright install command to use mxschmitt/playwright-go +1/-1

Update Playwright install command to use mxschmitt/playwright-go

• Replaces the Go module path used for 'playwright install --with-deps' in the e2e workflow step. This avoids 404s caused by the deprecated Playwright driver CDN used by the previous module.

.github/workflows/main.yml

@osmman
osmman merged commit 9f4bcd6 into main Jul 9, 2026
27 of 28 checks passed
@osmman
osmman deleted the fix/playwright-cdn-deprecation branch July 9, 2026 09:13
@osmman osmman added the test label Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants