Skip to content

Conversation

@shahsimpson
Copy link
Contributor

@shahsimpson shahsimpson commented May 27, 2025

Summary

We're introducing Pages Build Image V3 that will use LTS Nodejs.

Screenshots (optional)

Screenshot 2025-05-27 at 12 29 53 PM
Screenshot 2025-05-27 at 12 29 59 PM
Screenshot 2025-05-27 at 12 30 08 PM

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented May 27, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Introduced the V3 Pages Build Image that utilizes LTS Node.js, along with migration instructions and limitations for the new build system.

  • Updated the build system from V2 to V3 using LTS Node.js.
  • Revised migration instructions for transitioning to V3.
  • Outlined limitations specific to the V3 build system.

Modified Files

  • src/content/docs/pages/configuration/build-image.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@shahsimpson shahsimpson changed the title V3 Pages Build image DRAFT: V3 Pages Build image May 27, 2025
@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/pages/ @cloudflare/workers-docs, @GregBrimble, @WalshyDev, @aninibread, @irvinebroque, @cloudflare/pcx-technical-writing, @ToriLindsay
* @cloudflare/pcx-technical-writing

@github-actions
Copy link
Contributor

github-actions bot commented May 27, 2025

@shahsimpson shahsimpson force-pushed the pages-v3-build-system branch from fafd532 to 90dc2bb Compare May 27, 2025 18:57
Copy link
Contributor

@Cherry Cherry left a comment

Choose a reason for hiding this comment

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

Awesome to see this, thanks folks!

Will Golang also be getting a version bump? The version in the v2 image (1.21.0) is also EOL as of August 2024.
The version of some tools is also extremely outdated, including Hugo (0.118.2) that's from 2023.

@shahsimpson shahsimpson merged commit f70aed3 into production May 30, 2025
11 checks passed
@shahsimpson shahsimpson deleted the pages-v3-build-system branch May 30, 2025 13:01
@shahsimpson shahsimpson changed the title DRAFT: V3 Pages Build image V3 Pages Build image May 30, 2025
@irvinebroque
Copy link
Contributor

@Cherry - wanted to get this change out there quickly since Node.js is the most critical dependency in the build image, relied on on the happy path of deploying a Worker & most frameworks, while others are less used.

We'll sort through a policy for how we handle other tools here. Not sure it makes sense to treat all tools the same here, and there are some tools (ex: Hugo, like you point out) that in 2025 arguably don't make a ton of sense to be installed by default given usage — and don't have a clear EOL/LTS policy like Node.js does. Would love feedback — but don't think ideal to be constantly creating new versions of the build image for lesser dependencies.

https://developers.cloudflare.com/pages/configuration/build-image/

Github has the following policy:

https://github.com/actions/runner-images?tab=readme-ov-file#support-policy

Tools and versions will typically be removed 6 months after they are deprecated or have reached end-of-life.

@Cherry
Copy link
Contributor

Cherry commented May 30, 2025

Thanks @irvinebroque. I'm in complete agreement that there's different priorities here for languages vs tools, however I think it's quite concerning that Cloudflare, a security company, is shipping EOL versions of things like golang in their new "v3" build image released today.

The original v2 image blog post stated this: https://blog.cloudflare.com/moderizing-cloudflare-pages-builds-toolbox/

We know that this update has been a long-standing request from our users (we thank you for your patience!) but part of this rollout is ensuring that we are now in a better position to make regular updates to Cloudflare Pages' build system. You can expect these default languages and tools to now keep pace with the rapid rate of change seen in the world of web development.

If Pages build image instead decides to move to a policy like GitHub Actions, which is entirely valid and makes sense, it needs to massively improve communication to folks with emails, in-dash alerts, etc. - GitHub Actions are very very loud when changes to things like ubuntu-latest are about to happen, or default Node.js version switches, giving people months of warning via email, in runner logs, etc. I would very much welcome such a change with the Pages build image, again provided that comms are top quality and carefully considered.

My concern here is that today Cloudflare is releasing a new "v3" build image, with absolutely no changes that I can see other than Node.js bumped by a new env var that's been introduced called CF_PAGES_LTS. Every other tool is at the same version, including ones that are long outdated or EOL (with known security issues). Node.js is the most popular without a doubt, but tools like Hugo are still widely used, and default versions for languages especially should not be EOL for the newest v3 image released today. Will we be seeing a v4 in the coming weeks bumping these versions too, or will they be outdated forever?

I've been raising the impending Node.js LTS timeline (as well as other tools) since October 2024 - it's extremely disappointing and concerning that this was something that had to be seemingly wrapped up quickly instead of done correctly at some point over the last few quarters like the original v2 build image blog promised.

sdnts pushed a commit to sdnts/cloudflare-docs that referenced this pull request Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants