Skip to content

wp-build: Document rolling deployment safety - #80633

Open
MaggieCabrera wants to merge 1 commit into
WordPress:trunkfrom
MaggieCabrera:codex/release-23-2-wp-build-deployments
Open

MaggieCabrera wants to merge 1 commit into
WordPress:trunkfrom
MaggieCabrera:codex/release-23-2-wp-build-deployments

Conversation

@MaggieCabrera

Copy link
Copy Markdown
Contributor

What?

Add focused guidance for generated PHP loaders in the wp-build package, based on Gutenberg 23.2.0.

Why?

During rolling deployments, a generated entry point can become available before one of the files it loads. Generated PHP should treat that window as a temporary missing artifact instead of causing a fatal error.

Evidence:

Discussion

This is a release-learning proposal, and the new package-level instruction is intentionally open for review. Please challenge the conclusion, scope, or placement if it would not consistently help future build work. It is also fine to close this PR if the guidance is not useful—the discussion here will help us tune the release-knowledge skill before it becomes part of the release process.

@MaggieCabrera MaggieCabrera added [Package] wp-build /packages/wp-build [Type] Developer Documentation Documentation for developers labels Jul 23, 2026
@MaggieCabrera
MaggieCabrera marked this pull request as ready for review July 23, 2026 14:53
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@scruffian

Copy link
Copy Markdown
Contributor

I feel like this is pretty general guidance for any require_once calls - it's not something specific to Gutenberg.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] wp-build /packages/wp-build [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants