Skip to content

ci: upgrade Playwright to 1.61.0 and re-float Node to lts/*#2303

Merged
asblanco merged 6 commits into
mainfrom
STACKS-902/upgrade-playwright-refloat-node
Jun 22, 2026
Merged

ci: upgrade Playwright to 1.61.0 and re-float Node to lts/*#2303
asblanco merged 6 commits into
mainfrom
STACKS-902/upgrade-playwright-refloat-node

Conversation

@asblanco

@asblanco asblanco commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

STACKS-902 Upgrade Playwright so CI can return to a floating Node pin

Upgrades Playwright to 1.61.0 and re-floats CI's Node pin to lts/*, restoring a current, patched toolchain after the STACKS-901 exact-version (24.15.0) stopgap.

Acceptance criteria:

  • AC 1 – Current runtime — Playwright-dependent CI jobs run on a current Node (no exact 24.15.0 pin) and pass.
  • AC 2 – Aligned visual environment — Playwright and the visual-test browser environment are on matching, current versions (playwright@1.61.0 + mcr.microsoft.com/playwright:v1.61.0-jammy).
  • AC 3 – Trustworthy baselines — Visual-regression baselines are regenerated and reviewed so the suite passes without masking real visual regressions.

Manual testing

  1. Confirm CI is green on this PR — in particular Unit Tests, A11y Tests, and Unit Tests (stacks-svelte) (Playwright install completes in minutes, no multi-hour hang) and Visual Regression Tests.
  2. Review the regenerated baselines. The render shift is Webkit-only (1235 baselines) from the newer browser; Chromium and Firefox are byte-identical. To view the image diffs locally:
    git config diff.lfs.textconv cat
    The baseline .ico files then diff as images; spot-check a sample to confirm benign render differences rather than masked regressions.
  3. The 120 s-notice-*-longTextlongtext baseline renames align filenames with the snapshot name emitted by notice.visual.test.ts; the camelCase files were stale orphans the current suite no longer produces.

Bump the playwright override 1.55.1 -> 1.61.0 (current stable) and align
the visual-test Docker image to v1.61.0-jammy. Playwright 1.61.0 fixes the
`playwright install` extraction hang on Node 24.16.0+, so re-float the exact
24.15.0 pin (STACKS-901 stopgap) to the '24' major. Pin the major rather
than lts/* so the runtime can't silently jump to the next LTS major.

Visual-regression baselines are regenerated separately from the CI
amd64/jammy run, since local arm64 rendering differs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a12ac69

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit a12ac69
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/6a3958ddf451bf00089ad546
😎 Deploy Preview https://deploy-preview-2303--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

asblanco and others added 4 commits June 22, 2026 16:33
Regenerated from the CI amd64/jammy run (PR #2303 artifact):
- Update 1235 Webkit baselines shifted by the Playwright 1.61.0 / Webkit
  browser bump. Chromium and Firefox renders are byte-identical (unchanged).
- Rename 120 stale notice `longText` baselines to `longtext` to match the
  snapshot name emitted by notice.visual.test.ts; the camelCase files were
  orphans the current suite no longer produces (committed from a
  case-insensitive checkout). Done on a case-sensitive volume.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…float-node' into STACKS-902/upgrade-playwright-refloat-node
@asblanco asblanco changed the title [STACKS-902] Upgrade Playwright to 1.61.0 and re-float Node to major 24 [STACKS-902] Upgrade Playwright to 1.61.0 and re-float CI Node to lts/* Jun 22, 2026
@asblanco asblanco marked this pull request as ready for review June 22, 2026 15:06
@asblanco asblanco requested a review from a team as a code owner June 22, 2026 15:06
@asblanco asblanco self-assigned this Jun 22, 2026
@asblanco asblanco changed the title [STACKS-902] Upgrade Playwright to 1.61.0 and re-float CI Node to lts/* ci: upgrade Playwright to 1.61.0 and re-float Node to lts/* Jun 22, 2026
Comment thread .prettierrc
Comment on lines +9 to +17
"overrides": [
{
"files": ".github/**/*.{yml,yaml}",
"options": {
"tabWidth": 2,
"singleQuote": true
}
}
]

@asblanco asblanco Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to add this otherwise my editor was reformatting the whole file to 4 tabs (line 2). I thought it's ok to add this as part of the PR, but let me know otherwise

@asblanco asblanco enabled auto-merge (squash) June 22, 2026 15:33
@asblanco asblanco merged commit fa206a2 into main Jun 22, 2026
17 checks passed
@asblanco asblanco deleted the STACKS-902/upgrade-playwright-refloat-node branch June 22, 2026 15:54
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