Skip to content

Release: Expose durable npm release phases - #80202

Closed
ciampo wants to merge 1 commit into
codex/npm-release-durable-statefrom
codex/npm-release-phase-cli
Closed

ciampo wants to merge 1 commit into
codex/npm-release-durable-statefrom
codex/npm-release-phase-cli

Conversation

@ciampo

@ciampo ciampo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Stacked on #80201. Follow-up workflow integration: #79906.

What?

Exposes the durable npm release lifecycle as prepare, publish, finalize, and all CLI phases.

Why?

The release workflow needs to run each durable phase in a separate fresh job while preserving the existing all-in-one command.

How?

  • Adds the --phase option to the four npm release commands.
  • Validates phase values and requires a prepared checkout for publish and finalize.
  • Runs only the requested lifecycle step, with all remaining the default.

Testing Instructions

npm run test:unit -- tools/release/commands/test/common.js tools/release/commands/test/packages.js --runInBand
npm run lint:js -- tools/release/cli.js tools/release/commands/packages.js tools/release/commands/test/packages.js
npm run build

Testing Instructions for Keyboard

Not applicable; this changes release tooling only.

Screenshots or screencast

Not applicable.

Use of AI Tools

Codex was used to help split and verify the implementation and draft this description. I reviewed the resulting changes.

@github-actions

github-actions Bot commented Jul 13, 2026 •

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 7.72 MB

compressed-size-action

@github-actions

github-actions Bot commented Jul 13, 2026 •

Copy link
Copy Markdown

Flaky tests detected in 38b3e5d.
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/29502134260
📝 Reported issues:

@ciampo ciampo added [Type] Build Tooling Issues or PRs related to build tooling Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts labels Jul 14, 2026
@ciampo
ciampo force-pushed the codex/npm-release-durable-state branch from 9da7012 to 18060e0 Compare July 16, 2026 11:59
@ciampo
ciampo force-pushed the codex/npm-release-phase-cli branch from 81a6ece to cc01928 Compare July 16, 2026 11:59
@ciampo
ciampo force-pushed the codex/npm-release-durable-state branch from 18060e0 to a15d561 Compare July 16, 2026 13:25
@ciampo
ciampo force-pushed the codex/npm-release-phase-cli branch from cc01928 to 38b3e5d Compare July 16, 2026 13:25
@ciampo
ciampo force-pushed the codex/npm-release-durable-state branch from a15d561 to c1f74ea Compare July 16, 2026 15:21
@ciampo

ciampo commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Closing for now since this PR is not getting much attention, but always happy to resume work at a later point in time.

(cc @jsnajdr )

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.

1 participant