Skip to content

Preserve lock-resolved browser provenance in release archives - #2198

Merged
chubes4 merged 1 commit into
mainfrom
fix/2197-release-browser-provenance
Aug 2, 2026
Merged

Preserve lock-resolved browser provenance in release archives#2198
chubes4 merged 1 commit into
mainfrom
fix/2197-release-browser-provenance

Conversation

@chubes4

@chubes4 chubes4 commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace the non-publishable package-lock.json with npm-supported npm-shrinkwrap.json, so release consumers retain the exact resolved dependency graph
  • make release assembly use npm ci, include lifecycle inputs, and emit browser provenance for the resolved Playwright/Chromium revision, platform/architecture, and dependency-manifest SHA-256
  • preflight the Playwright-owned Chromium executable at the shared launch boundary with an exact owned-install command

Closes #2197. Related to #2185.

Verification

  • npm run test:playwright-browser-provenance
  • npm run test:browser-runner-template
  • npm run test:editor-actions
  • npm run test:editor-validate-blocks
  • npm run build
  • npm run test:release-package-coverage
  • npm run check reached the shared smoke suite and failed at command-registry-smoke: wordpress.collect-workload-result outputShape should mention outputSchema id. The failure is outside this patch; all focused contracts above passed.

AI assistance: gpt-5.6-sol via OpenCode was used to diagnose, implement, test, and verify this browser-provenance repair. Chris Huber remains responsible for every line.

…nt, test, and verify this browser-provenance repair. Chris Huber remains responsible for every line.
@chubes4
chubes4 merged commit f0afb5e into main Aug 2, 2026
4 checks passed
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.

Preserve lock-resolved browser provenance in release archives

1 participant