Skip to content

ci: run the isolated-install smoke test on the newest Node 22 - #4351

Merged
khoinguyenpham04 merged 2 commits into
mainfrom
noah/silly-moore-54c7d2
Oct 23, 2026
Merged

khoinguyenpham04 merged 2 commits into
mainfrom
noah/silly-moore-54c7d2

Conversation

@khoinguyenpham04

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes the "Smoke Isolated Install" job, which fails on every PR that runs it, and updates the Node.js requirement in the docs for new sites.

Astro 7.4.2, released on 2026-10-21, requires Node.js 22.23.4 or later so that sites run with the October 2026 Node.js security fixes. The isolated-install smoke test installs the newest Astro that the catalog's astro: ^7.3.2 allows, but actions/setup-node with node-version: 22 uses the Node.js 22.23.3 cached on the runner image. The dev server then exits with Node.js v22.23.3 is not supported by Astro! Please upgrade Node.js to a supported version: ">=22.23.4" (seen on #4350, where the rest of CI passed).

  • CI: the test-smoke-isolated setup-node step sets check-latest: true, so it installs the newest Node.js 22 release from the setup-node manifest (22.23.4). The other jobs install Astro 7.3.2 from the lockfile, which runs on the cached Node.js 22, and the jobs that test the minimum version stay on 22.16.0.
  • Docs: the pages that asked new sites for Node.js 22.22 now ask for 22.23.4: Getting started, Create a blog, Add EmDash to an existing Astro project, and Deploy to Node.js. EmDash's own engines.node stays >=22.16, and sites on Astro 7.3 or earlier still run on Node.js 22.16.

Type of change

  • Bug fix
  • Feature (requires an accepted feature plan or RFC)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Your connection to this change

  • I use EmDash and ran into the problem this PR addresses
  • I maintain a tool, dependency, or service that EmDash uses, and this change concerns that integration
  • A Maintainer approved this specific change before I opened the PR

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes (not run: no TypeScript changes)
  • pnpm lint passes (not run: no JavaScript or TypeScript changes)
  • pnpm test passes (or targeted tests for my change) (the Smoke Isolated Install job on this PR is the check)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable) (not applicable: the existing smoke test covers the fix)
  • User-visible strings in the admin UI are wrapped for translation (if applicable). Do not include messages.po changes except in translation PRs — a workflow extracts catalogs on merge to main. (not applicable: no admin UI changes)
  • I have added and reviewed the user-facing changeset (if this PR changes a published package) (not applicable: no published package changes; the docs package is private)
  • New features link to their merged design PR: https://github.com/emdash-cms/emdash/pull/... (not applicable: not a feature)
  • I have included screenshots below if this PR changes the UI (not applicable: no UI changes)

AI assistance disclosure

  • This PR includes AI-generated code or text — model/tool: Claude Opus 5.5

Screenshots / test output

Not applicable. pnpm --dir docs build passes.

Astro 7.4.2 requires Node.js 22.23.4 or later. The isolated-install
smoke test installs the newest Astro that the catalog allows, but
setup-node used the Node.js 22.23.3 cached on the runner image, so the
dev server refused to start. check-latest makes setup-node install the
newest Node 22 release from its manifest.
New sites install Astro 7.4.2 or later, which requires Node.js 22.23.4
so that sites run with the October 2026 Node.js security fixes.
EmDash's own engines floor stays at 22.16, which still works with
Astro 7.3 or earlier.
@github-actions github-actions Bot added the review/needs-review No maintainer or bot review yet label Oct 22, 2026
@changeset-bot

changeset-bot Bot commented Oct 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0d80f8f

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

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The approach is right and narrowly scoped. The Smoke Isolated Install job copies the starter templates without the lockfile, so it resolves the newest Astro the catalog range allows. Adding check-latest: true to that job's actions/setup-node step makes it use the newest Node 22 release. The other jobs and the minimum-version jobs are unaffected. The four docs pages now consistently say 22.23.4, and the caveat that v22.16.0 is enough on Astro 7.3 or earlier still holds. Both reviewers approved and found nothing that needs fixing. One non-blocking note: existing-project.mdx says Astro 7.4 or later should use 22.23.4, while the new Node floor comes from Astro 7.4.2, so the advice is slightly stricter than needed for 7.4.0 and 7.4.1. Both reviewers did a static review only and did not run CI, so they did not confirm the job now passes.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://noah-silly-moore-54c7d2.try.emdashcms.com, https://noah-silly-moore-54c7d2-emdash-playground.emdash-cms.workers.dev (commit 0d80f8f)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f7520433.try.emdashcms.com, https://f7520433-emdash-playground.emdash-cms.workers.dev 0d80f8f 2026-10-22T16:42:20.247Z Visit the dashboard ↗

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs 0d80f8f Oct 22 2026, 04:42 PM

@danielmlr danielmlr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you!

@emdashbot emdashbot Bot added review/needs-review No maintainer or bot review yet and removed review/needs-review No maintainer or bot review yet labels Oct 22, 2026
danielmlr

This comment was marked as duplicate.

@emdashbot emdashbot Bot added review/needs-review No maintainer or bot review yet and removed review/needs-review No maintainer or bot review yet labels Oct 22, 2026
@khoinguyenpham04
khoinguyenpham04 merged commit 0eefcfe into main Oct 23, 2026
45 checks passed
@khoinguyenpham04
khoinguyenpham04 deleted the noah/silly-moore-54c7d2 branch October 23, 2026 10:30
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.

2 participants