Skip to content

Conversation

@adamziel
Copy link
Collaborator

@adamziel adamziel commented Nov 5, 2025

Motivation for the change, related issues

Adds support for previewing branches, not just PRs in the Import PR modal:

CleanShot 2025-11-05 at 15 13 58@2x

@SirLouen asked how to preview the latest trunk trunk, not a PR, and I didn't have a good answer. This change makes it easy.

Implementation details

  • Website: adds ?core-branch and ?gutenberg-branch Query API params to indicate which branch to preview.
  • Plugin proxy: Adds a ?branch= query API param that's an alternative to ?pr=.

There's no artifact validation when previewing a branch. If the build for the most recent commit is not ready yet, the next available build is used.

Testing Instructions (or ideally a Blueprint)

Try these locally and confirm they do the right thing. You can see the WordPress version number at the bottom of wp-admin and also use the file browser to confirm the files changed in specific PRs are present in the filesystem:

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