Opened 4 weeks ago
Last modified 12 days ago
#65224 reopened enhancement
Add support for testing unmerged changes from Gutenberg
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | has-patch fixed-major commit dev-feedback |
| Focuses: | Cc: |
Description
It's currently impossible to test unmerged changes from the Gutenberg repository because changes are published to the GitHub Container Registry only when trunk, wp/*, or release/* branches are updated.
Publishing built assets for pull requests and introducing new mutable tags is being explored upstream.
This ticket is to track the necessary changes for wordpress-develop to support these.
Change History (5)
This ticket was mentioned in PR #11809 on WordPress/wordpress-develop by @desrosj.
4 weeks ago
#1
@westonruter commented on PR #11809:
4 weeks ago
#2
I'm going to push up a commit that adds the JS files to what is checked by TypeScript.
#3
@
4 weeks ago
Tested on: Ubuntu 24.04, Node v20.19.5, npm 10.8.2
- Set gutenberg.sha to pr-78211 and ran npm run gutenberg:download
- Mutable tag resolved correctly, downloaded and built without any errors. blocks generated, all files copied successfully.
Note: See
TracTickets for help on using
tickets.
Allows the value of
gutenberg.shainpackage.jsonto be either a Git SHA (current behavior) or a mutable tag (trunk,release-X.Y,wp-X.Y,pr-<N>) published by the Gutenbergbuild-plugin-zipworkflow.While the committed value should always remain a SHA, the mutable-tag form is intended for use by contributors when needing to test an unmerged pull request from https://github.com/wordpress/gutenberg, or looking to always track the latest changes from a given stream.
Note: the changes in
srccan be ignored, they were committed by the workflow that ensures all built file changes are included because the upstream PR was created fromtrunkand this repo is currently pinned to thewp/7.0branch.Trac ticket: Core-65224.
## Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Opus 4.7
Used for: Initial analysis and PR.