Skip to content

fix: migrate playwright-go to mxschmitt/playwright-go v0.6100.0 - #80

Merged
kdacosta0 merged 1 commit into
release-1.4from
fix/pin-playwright-go-post-cdn-deprecation
Jul 8, 2026
Merged

fix: migrate playwright-go to mxschmitt/playwright-go v0.6100.0#80
kdacosta0 merged 1 commit into
release-1.4from
fix/pin-playwright-go-post-cdn-deprecation

Conversation

@kdacosta0

@kdacosta0 kdacosta0 commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Migrate from deprecated playwright-community/playwright-go to mxschmitt/playwright-go v0.6100.0
  • The Playwright /builds/driver CDN (azureedge) has been shut down by Microsoft — driver archives were progressively deleted, causing 404 errors on macOS and Windows during playwright install
  • v0.6100.0 assembles the driver from npm (playwright-core) + nodejs.org (Node.js binary) instead of the deprecated CDN (PR #615)

Changes

  • go.modplaywright-community/playwright-go v0.6000.0mxschmitt/playwright-go v0.6100.0
  • test/rekorsearchui/rekor_search_sign_verify_test.go — updated import path
  • scripts/Makefile — updated go run install command

Other repos that also need updating

Tracked in SECURESIGN-4984:

  • pipelinestasks/integration-test/sigstore-e2e.yaml:152
  • secure-sign-operator.github/workflows/main.yml:674
  • releases.github/workflows/cross-platform-tests.yml:442
  • sigstore-e2e (main branch) — .github/workflows/e2e.yml:134

References

Test plan

  • Verify go run github.com/mxschmitt/playwright-go/cmd/playwright@v0.6100.0 install --with-deps works on macOS, Windows, Linux
  • Run cross-platform-tests workflow against a cluster

🤖 Generated with Claude Code

The Playwright /builds/driver CDN (azureedge) has been shut down by
Microsoft. Driver archives for macOS and Windows were deleted, causing
404 errors during `playwright install`.

v0.6100.0 assembles the driver from npm + nodejs.org instead of the
deprecated CDN (mxschmitt/playwright-go#615).

The module path also moved from playwright-community to mxschmitt.

Refs: SECURESIGN-4984

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@qodo-for-securesign

Copy link
Copy Markdown

PR Summary by Qodo

Migrate playwright-go dependency to mxschmitt/playwright-go v0.6100.0

🐞 Bug fix ⚙️ Configuration changes 🕐 10-20 Minutes

Grey Divider

AI Description

• Migrate from deprecated playwright-community/playwright-go to mxschmitt/playwright-go v0.6100.0.
• Fix Playwright driver install failures caused by azureedge CDN driver archive removals.
• Update imports and setup script to use the new module path.
Diagram

graph TD
  M["scripts/Makefile"] --> C["playwright install cmd"] --> Mod["mxschmitt/playwright-go v0.6100.0"] --> Ext{{"npm (playwright-core) + nodejs.org"}}
  G["go.mod"] --> Mod
  T["rekor_search_sign_verify_test.go"] --> Mod

  subgraph Legend
    direction LR
    _file["File"] ~~~ _mod["Go module"] ~~~ _ext{{"External source"}}
  end
Loading
High-Level Assessment

This is the right approach: migrating to mxschmitt/playwright-go v0.6100.0 directly addresses the upstream CDN shutdown that breaks installs on macOS/Windows, while keeping the Playwright integration pattern unchanged. Considered alternatives (pinning older versions or scripting a custom driver download/cache) either keep the broken CDN dependency or add ongoing maintenance burden without clear benefit.

Files changed (4) +5 / -5

Bug fix (1) +1 / -1
rekor_search_sign_verify_test.goUpdate Playwright import to mxschmitt module path +1/-1

Update Playwright import to mxschmitt module path

• Replaces the Playwright-Go import path to align with the new module namespace, keeping test behavior consistent while unblocking installs.

test/rekorsearchui/rekor_search_sign_verify_test.go

Other (3) +4 / -4
go.modSwitch Playwright-Go module requirement to mxschmitt v0.6100.0 +1/-1

Switch Playwright-Go module requirement to mxschmitt v0.6100.0

• Replaces the deprecated github.com/playwright-community/playwright-go dependency with github.com/mxschmitt/playwright-go at v0.6100.0 to avoid CDN-based driver install failures.

go.mod

go.sumUpdate checksums for Playwright-Go module migration +2/-2

Update checksums for Playwright-Go module migration

• Adds go.sum entries for github.com/mxschmitt/playwright-go v0.6100.0 and removes the corresponding checksums for the deprecated playwright-community module.

go.sum

MakefileUpdate Playwright install command to new module path +1/-1

Update Playwright install command to new module path

• Adjusts the setup target to run the Playwright installer from github.com/mxschmitt/playwright-go instead of the deprecated module path.

scripts/Makefile

@qodo-for-securesign

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

@kdacosta0

Copy link
Copy Markdown
Member Author

@kdacosta0
kdacosta0 merged commit 2d15abf into release-1.4 Jul 8, 2026
3 checks passed
@kdacosta0
kdacosta0 deleted the fix/pin-playwright-go-post-cdn-deprecation branch July 8, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants