Repository navigation
ci(release): compress native downloads in parallel by platform - #5281
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): 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)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 753aa34da3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - name: Download Desktop renderer from the verified push CI | ||
| if: inputs.renderer-ci-run-id != '' | ||
| uses: actions/download-artifact@v8 |
There was a problem hiding this comment.
Declare the stable desktop renderer reuse
For stable releases, release.yml now supplies renderer-ci-run-id, so this branch packages the renderer built by the Linux CI job instead of rebuilding it on each target platform. The commit's behavior table only describes native compression/downloads and states that other packaging is unchanged, omitting the changed desktop release path, its affected desktop users/release maintainers, and its rollback or guard coverage; add this behavior to the table and document the cross-platform artifact assumption.
AGENTS.md reference: AGENTS.md:L89-L89
Useful? React with 👍 / 👎.
* 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 #5280. Generating the native manifest took 3:28–3:54 in three official releases because the publisher recompressed all platforms serially.
Bug Reproduction Steps
Inspect the per-archive timestamps in 2.7.2.
Root Cause
Platform compression and global publication used one runner even though compression inputs are independent.
Code Changes
Six read-only Linux jobs each verify one ZIP checksum, then run the existing producer unchanged (
zstd -19, tar.gz and sidecars). The publisher waits for every job and actual npm publication, merges exactly one fragment per supported target/tag and only uploads the public asset names. The matrix uses the native target registry. Extra runner minutes and artifact transfer trade for reduced wall time.Behavior Changes and Affected Users
Exercised archive generation, checksums, final merge and missing/mismatched inputs locally. No signed release dispatched.
Checklist