Skip to content

Handle WP.org SVN missing tag warnings#79257

Merged
ramonjd merged 1 commit into
trunkfrom
fix/svn-missing-tag-check
Jun 17, 2026
Merged

Handle WP.org SVN missing tag warnings#79257
ramonjd merged 1 commit into
trunkfrom
fix/svn-missing-tag-check

Conversation

@ramonjd

@ramonjd ramonjd commented Jun 17, 2026

Copy link
Copy Markdown
Member

What?

Follow up to #78476

Updates the Gutenberg plugin upload workflow so a missing WordPress.org SVN tag is recognized when svn list reports W160013 and E200009, not only E160013.

Why?

During the Gutenberg 23.4.0 stable release, the workflow checked whether tags/23.4.0 already existed before committing to the plugin SVN repository. The tag did not exist, but WP.org SVN returned:

svn: warning: W160013: URL 'https://plugins.svn.wordpress.org/gutenberg/tags/23.4.0' non-existent in revision ...
svn: E200009: Could not list all targets because some targets don't exist

The workflow only treated E160013 as "tag missing", so it failed before the release commit could run.

How?

Both stable upload paths now treat E160013, W160013, E200009, or non-existent output from svn list as exists=false. Other SVN errors still print the error and fail the workflow.

Testing Instructions

  • Confirmed the observed WP.org SVN missing-tag output matches the new pattern.
  • Confirmed an unrelated connection error does not match and remains fatal.
  • Ran git diff --check.

actionlint was not installed locally, so I could not run full workflow linting.

@ramonjd ramonjd requested review from mikachan and paulopmt1 June 17, 2026 07:08
@ramonjd ramonjd marked this pull request as ready for review June 17, 2026 07:08
@ramonjd ramonjd requested a review from desrosj as a code owner June 17, 2026 07:08
@ramonjd ramonjd self-assigned this Jun 17, 2026
@github-actions

github-actions Bot commented Jun 17, 2026

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: ramonjd <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: arthur791004 <[email protected]>

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

@ramonjd ramonjd added [Type] Build Tooling Issues or PRs related to build tooling Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts labels Jun 17, 2026
@ramonjd ramonjd requested a review from Copilot June 17, 2026 07:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the release workflow’s SVN-tag existence check so WP.org’s “missing tag” responses are correctly treated as exists=false, allowing the upload steps to proceed instead of failing early.

Changes:

  • Expand the “missing tag” detection in svn list error output to include W160013, E200009, and non-existent (in addition to E160013).
  • Apply the same detection logic to both stable upload paths (trunk+tag and tag-only).

@andrewserong andrewserong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure we can manually test this, but the change looks good to me and matches the error/warning messages we saw today.

Looks worth trying to me!

@ramonjd ramonjd enabled auto-merge (squash) June 17, 2026 07:30
@ramonjd ramonjd merged commit 551b136 into trunk Jun 17, 2026
54 of 58 checks passed
@ramonjd ramonjd deleted the fix/svn-missing-tag-check branch June 17, 2026 07:35
@github-actions

Copy link
Copy Markdown

Flaky tests detected in 50ebd13.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/27671783504
📝 Reported issues:

@github-actions github-actions Bot added this to the Gutenberg 23.5 milestone Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants