Skip to content

ci(desktop): a dispatched release waits on a first-parent commit - #1398

Merged
abrichr merged 1 commit into
mainfrom
ci/release-first-parent
Oct 20, 2026
Merged

abrichr merged 1 commit into
mainfrom
ci/release-first-parent

Conversation

@abrichr

@abrichr abrichr commented Oct 20, 2026

Copy link
Copy Markdown
Member

The 0.21.1 Desktop release (run 39353112022) refused after 60 minutes. On a dispatch, the gate picks the newest commit that changed packages/desktop and waits for its Packages push run. It picked c95e6f0, a commit inside the merged #1382 branch. A commit inside a merged branch never gets a Packages push run on main, so the gate polled 0 missing pending until it timed out.

Fix: choose the subject from main's first-parent history (git log -1 --first-parent). Those commits are the ones pushed to main, so each has a Packages push run. The next step still requires that main hasn't changed Desktop since that commit, and that the tip's tree matches it.

Test: tests/test_desktop_release_subject.py fails without the fix and passes with it.

🤖 Generated with Claude Code

The release gate waits for the Packages push run of the newest commit that
changed Desktop. On a dispatch it chose that commit from full history, which
can be a commit inside a merged branch; such a commit never gets a Packages
push run on main, so the 0.21.1 release waited 60 minutes for c95e6f0 and
refused. Follow main's first-parent history instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@abrichr
abrichr merged commit 40a4939 into main Oct 20, 2026
42 checks passed
@abrichr
abrichr deleted the ci/release-first-parent branch October 20, 2026 02:47
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