-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[draft] adding build image policies for Workers Builds and Pages #26840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yomna-shousha
wants to merge
2
commits into
production
Choose a base branch
from
yomna/build-image-policies
base: production
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+71
−0
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/content/changelog/workers/2025-12-01-build-image-policies-dev-plat.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| title: Build image policies for Workers Builds and Cloudflare Pages | ||
| description: Workers Builds and Cloudflare Pages now have documented build image policies outlining deprecation timelines and version update procedures. | ||
| products: | ||
| - workers | ||
| date: 2025-12-01 | ||
| --- | ||
|
|
||
| We've published build image policies for [Workers Builds](/workers/ci-cd/builds/build-image) and [Cloudflare Pages](/pages/configuration/build-image) that establish: | ||
|
|
||
| - **Minor version updates** happen automatically without notice | ||
| - **Major version updates** require at least 3 months advance notice when language runtimes or tools approach their end-of-life dates | ||
| - **Build image version deprecation** (Pages only): Build image versions are supported for at least 2 years and will receive at least 6 months notice before removal | ||
|
|
||
| When deprecations or major updates are announced, you'll receive notifications via the Cloudflare Changelog, dashboard notifications, and email. | ||
|
|
||
| To avoid unexpected build failures, we recommend [pinning specific versions](/workers/ci-cd/builds/build-image/#overriding-default-versions) for production applications and monitoring the [Cloudflare Changelog](https://developers.cloudflare.com/changelog/), as well as the dashboard, and your emails. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,3 +88,22 @@ Workers Builds are run in the following environment: | |
| | --------------------- | ------------ | | ||
| | **Build Environment** | Ubuntu 24.04 | | ||
| | **Architecture** | x86_64 | | ||
|
|
||
|
|
||
| ## Build Image Policy | ||
|
|
||
| ### Default Version Updates | ||
|
|
||
| Default versions of languages and tools are updated regularly to their latest stable releases. | ||
|
|
||
| - **Minor version updates**: Default versions are updated to the latest minor version without notice (e.g., Node.js 22.15.0 → 22.16.0). If you need a specific minor version, [override the default version](/workers/ci-cd/builds/build-image/#overriding-default-versions). | ||
|
|
||
| - **Major version updates**: When a language runtime or tool approaches its end-of-life (EOL) date, e.g. Node.js, we update to the latest supported version. We will provide at least 3 months advance notice via | ||
| - [Cloudflare Changelog](https://developers.cloudflare.com/changelog/) | ||
| - Dashboard notification to affected projects upon announcement | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "affected" is ambiguous here - i could take that to mean
|
||
|
|
||
| ### Best Practices | ||
|
|
||
| To avoid unexpected build failures: | ||
| - **Pin specific versions** for production applications by [overriding default versions](/workers/ci-cd/builds/build-image/#overriding-default-versions) | ||
| - Monitor the [Cloudflare Changelog](https://developers.cloudflare.com/changelog/) for upcoming updates | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We update to the latest supported version or to the oldest supported version?
Ex — we are saying Node.js 24 or 26?