Skip to content

ci(release): automatically promote verified PR candidates - #105

Merged
JUNERDD merged 3 commits into
mainfrom
ci/release-candidate-reuse
Nov 6, 2026
Merged

JUNERDD merged 3 commits into
mainfrom
ci/release-candidate-reuse

Conversation

@JUNERDD

@JUNERDD JUNERDD commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

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:

Check Result
Local checks actionlint, scoped formatting, Node/Python syntax, staged and introduced-commit secret scans passed.
Full PR candidate CI Passed after one targeted Intel retry. Elapsed from first start to final success: 60:37 (first attempt 32:33, retry 26:07, intervening gap 1:57). Ordinary checks, both native Release builds, macOS 15 verification, Intel smoke and feed signing passed.
Pre-merge rehearsal Passed in 1:28, using a rehearsal-only PR hint with no source run ID.
Actual main automatic-discovery rehearsal Passed in 1:09, with only mode=rehearsal: no PR hint or source run ID.
Formal-source eligibility Read-only discovery in release mode at the actual merged commit selected and verified the same candidate. No publication was invoked.

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.

@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
atd-agent Ready Ready Preview Nov 6, 2026 7:10pm UTC

@JUNERDD
JUNERDD marked this pull request as ready for review November 6, 2026 20:18
@JUNERDD
JUNERDD merged commit bf9304b into main Nov 6, 2026
29 of 30 checks passed
@JUNERDD
JUNERDD deleted the ci/release-candidate-reuse branch November 6, 2026 20:18

This branch was successfully deployed

1 active deployment
Preview — 45b016e7 Deployed Nov 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant