Repository navigation
ci(release): build only publishable npm workspace closures - #5284
Conversation
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
* ci(release): compress native downloads in parallel by platform * ci(release): reuse the tested desktop renderer for stable installers (#5282) * ci(release): reuse the tested desktop renderer for stable installers * ci(release): share the verified CLI web bundle across native targets (#5283) * ci(release): share the verified CLI web bundle across native targets * ci(release): build only publishable npm workspace closures (#5284)
* ci(release): build native binaries alongside npm publication * ci(release): compress native downloads in parallel by platform (#5281) * ci(release): compress native downloads in parallel by platform * ci(release): reuse the tested desktop renderer for stable installers (#5282) * ci(release): reuse the tested desktop renderer for stable installers * ci(release): share the verified CLI web bundle across native targets (#5283) * ci(release): share the verified CLI web bundle across native targets * ci(release): build only publishable npm workspace closures (#5284)
#5278) * ci(release): skip the Electron PTY rebuild for standalone CLI installs * test(release): handle PTY test registration explicitly * ci(release): build native binaries alongside npm publication (#5280) * ci(release): build native binaries alongside npm publication * ci(release): compress native downloads in parallel by platform (#5281) * ci(release): compress native downloads in parallel by platform * ci(release): reuse the tested desktop renderer for stable installers (#5282) * ci(release): reuse the tested desktop renderer for stable installers * ci(release): share the verified CLI web bundle across native targets (#5283) * ci(release): share the verified CLI web bundle across native targets * ci(release): build only publishable npm workspace closures (#5284)
* ci(release): avoid duplicate pnpm cache writes in joint releases * test(release): mark cache fixture registration as intentional * ci(release): skip the Electron PTY rebuild for standalone CLI installs (#5278) * ci(release): skip the Electron PTY rebuild for standalone CLI installs * test(release): handle PTY test registration explicitly * ci(release): build native binaries alongside npm publication (#5280) * ci(release): build native binaries alongside npm publication * ci(release): compress native downloads in parallel by platform (#5281) * ci(release): compress native downloads in parallel by platform * ci(release): reuse the tested desktop renderer for stable installers (#5282) * ci(release): reuse the tested desktop renderer for stable installers * ci(release): share the verified CLI web bundle across native targets (#5283) * ci(release): share the verified CLI web bundle across native targets * ci(release): build only publishable npm workspace closures (#5284) * fix(release): resume verified CLI native uploads on same-commit retries
Requirement or Bug
Stacked on #5283. The stable npm publish job built every private application, including the Desktop installer frontend, even after the CLI npm bundle was ready.
Bug Reproduction Steps
Inspect the 2.7.2 npm build log: Desktop still builds after the CLI has finished.
Root Cause
The npm publisher called the repository-wide build intended for CI, rather than building its publishable workspaces.
Code Changes
Read pnpm's workspace metadata, select every non-private npm workspace, and build each with its transitive workspace dependencies in pnpm's normal order. This does not hardcode today's single public package or trust a possibly incomplete Changesets release plan. The install, release catalog, CLI prebuild (including its Web frontend), OIDC and actual Changesets publish stay as before. Push CI still builds the full repository.
Behavior Changes and Affected Users
Validated the workflow command against the actual workspaces and CLI bundle smoke. No npm publication or signed release dispatched.
Checklist