fix(renovate): track the Playwright image tag through npm #340
No reviewers
Labels
No labels
dependencies
major
security-pin
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
trails-cool/trails!340
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate-playwright-image-tracks-npm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Renovate could not update the Playwright container image, so Playwright PRs arrived with only the lockfile changed and failed both browser jobs. #320 is the example: lockfile on 1.65.0, image still on
v1.64.1-noble.Cause. The image was in the
playwrightgroup as a docker dependency. MCR publishes no release dates, so the globalminimumReleaseAge: "3 days"kept every image update pending and filtered it out of the branch. From a debug lookup:Fix.
mcr.microsoft.com/playwright:v<version>-noblein.forgejo/workflows/*.ymlas the npm packageplaywright. The image tag now gets the same release dates, the same age gate and the same selected version as the lockfile entry, in the samerenovate/playwrightbranch.ci.ymlis corrected.Verification
Local run on this branch:
renovate --platform=local --dry-run=lookupwith thegithub-actionsandcustom.regexmanagers.1.64.1→1.65.0,updateType: minor,branchName: renovate/playwright,pendingVersions: ["1.65.1"]. This is the same version the Dependency Dashboard shows for the npm packages.skipReason: disabled.Not verified:
pnpm typecheck,lint,testandtest:e2ewere not run locally; the change touches onlyrenovate.json5and a workflow comment.Risk and rollback
pnpm dedupecan still move the lockfile to a newer Playwright than Renovate selected (the #38 case). The guard step in the browser jobs still catches that.-noble, the regex stops matching and the tag stops moving. The guard step then fails on the next Playwright bump.🤖 Generated with Claude Code