Repository navigation
fix(workflow): pin release finalize sync-issues dispatch to release branch - #1154
Merged
Merged
Conversation
…ranch The finalize job dispatched sync-issues.yml with no --ref, so GitHub ran the default-branch (pre-devkit) workflow, and both gh run list polls had no --branch filter, so a concurrent scheduled run could be mistaken for the dispatched one. On a consumer's first final release this timed out and rolled back. Pin --ref release/$VERSION on the dispatch, --branch release/$VERSION on both polls, and raise TIMEOUT 120 -> 600. Refs: #1150
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.
Summary
A consumer's first final
release.ymlrun failed at finalize withTimed out waiting for sync-issues workflow completionand rolled back. Threestacked problems in
release-core.yml'sfinalizejob:gh workflow run sync-issues.ymlpassedno
--ref, so GitHub resolved the definition on the default branch — thepre-devkit workflow until the first devkit release merges.
TIMEOUT=120too tight. The devkit sync workflow's first release-branchrun (no cutoff cache → self-heal) can take minutes.
gh run listcalls omitted--branch, so a concurrentscheduled run could be mistaken for the dispatched one.
Fix (adopts all three, validated live on the consumer workaround)
--ref "release/$VERSION"on the dispatch (correct on every run).--branch "release/$VERSION"on both polls.TIMEOUT120 → 600.Tests
tests/test_release_core_sync_dispatch.pypins the--ref, the two--branchfilters, and the raised timeout. Release-shape suite green.
Closes #1150