Repository navigation
ci(release): build native binaries alongside npm publication - #5280
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)
#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 #5278. Official native binaries currently wait for the npm job before the six platform builds even start (3–4 minutes in the recent joint releases).
Bug Reproduction Steps
Compare the start of Native release artifact with the end of Release in 2.7.2.
Root Cause
Producing the binaries and authorizing their publication shared a single dependency on Changesets' published-package output.
Code Changes
The tested version-PR commit now supplies the planned CLI tag to both lanes.
candidate → {npm, native matrix} → publish native assets. The native matrix signs and tests that SHA; uploading stays downstream of both, requires actual npm publication and fails closed for mismatched tags. A speculative build can finish unused if npm fails. A retained tag at an older commit does not start native jobs.Behavior Changes and Affected Users
Validated release planning and workflow expressions locally. No production dispatch.
Checklist