Skip to content

fix(workflow): pin release finalize sync-issues dispatch to release branch - #1154

Merged
c-vigo merged 3 commits into
devfrom
bugfix/1150-sync-issues-dispatch-ref-branch-timeout
Jul 16, 2026
Merged

c-vigo merged 3 commits into
devfrom
bugfix/1150-sync-issues-dispatch-ref-branch-timeout

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

A consumer's first final release.yml run failed at finalize with
Timed out waiting for sync-issues workflow completion and rolled back. Three
stacked problems in release-core.yml's finalize job:

  1. Dispatch ran the wrong workflow. gh workflow run sync-issues.yml passed
    no --ref, so GitHub resolved the definition on the default branch — the
    pre-devkit workflow until the first devkit release merges.
  2. TIMEOUT=120 too tight. The devkit sync workflow's first release-branch
    run (no cutoff cache → self-heal) can take minutes.
  3. Polls raced. Both gh run list calls omitted --branch, so a concurrent
    scheduled 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.
  • TIMEOUT 120 → 600.

Tests

tests/test_release_core_sync_dispatch.py pins the --ref, the two --branch
filters, and the raised timeout. Release-shape suite green.

Closes #1150

c-vigo added 3 commits July 16, 2026 16:54
…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
@c-vigo
c-vigo merged commit 9c7ad04 into dev Jul 16, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/1150-sync-issues-dispatch-ref-branch-timeout branch July 16, 2026 15:15
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