Repository navigation
ci(release): automatically promote verified PR candidates - #105
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version-bump PRs previously validated code before main repeated the complete release build. Build signed arm64/x64 candidates during same-repository PR CI, then let the existing main release trigger automatically discover and promote the verified candidate for the merged PR.
Only version-bump PRs targeting main enable signed candidates; this integration branch also opts in at 0.10.7 for validation. Ordinary unchanged-version PRs and forks do not take that path. Signed candidates replace the existing ad hoc Intel packaging rehearsal, avoiding duplicate Intel builds on release/* PRs.
Promotion requires the latest complete PR CI to pass and checks PR identity/current head, the required native build/DMG/macOS 15/Intel smoke steps, immutable artifact ID/digest, source receipt, actual build commit, full repository tree and versions. An unfinished/failed latest CI or an invalid existing candidate stops promotion. Missing or expired candidates use the normal full-build path. An explicit source run remains supported. Formal promotion requires the PR's actual merged commit.
The shared workflow preserves main's combined build/DMG jobs, release verification, and #104's Xcode timing summaries, passive DMG phase events and seven-day diagnostic logs. #104's diagnostic scripts are unchanged. Rust release caching, DMG splitting/supervision and new timeout policies are excluded.
Validation of head 45b016e and merged main bf9304b:
Both rehearsals selected PR #105 / CI 42277194755 / immutable artifact 13537067668. The candidate was built at ee3385d; merged main bf9304b has the identical full tree 0205f64d5e28981a7e47912285c3bcc35bc384c6. Both rehearsals verified the archive, receipt, manifest and add-on digests, uploaded and checked all ten release assets, and deleted their drafts. Independent authenticated reads confirmed both draft IDs and rehearsal tags return HTTP 404. Existing v0.10.7 metadata and asset IDs, sizes and digests remained unchanged. Candidate builds, formal publication and mirrors were skipped.
The initial Intel failure remains an unresolved intermittent DMG packaging issue: two hdiutil detach calls each took about 120 seconds and failed, then the existing ten-minute DMG step limit interrupted the third. The targeted retry retained the other successful jobs; its detach completed in 3.4 seconds and DMG packaging in 1:25. This PR does not fix that failure. Promotion timings measure reuse after a candidate exists, not a compiler-speed or end-to-end CI speedup.
Before the final 0.10.8 version-bump PR, refresh its branch from main containing this change and wait for its whole candidate CI. Feature development may proceed with the version unchanged. This PR changes no product version; actual formal publication and download mirroring have not been exercised.