You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
- release.yml was triggered 4 separate times (once per workflow completion)
- Each run was independent, causing potential duplicate releases
Solution:
- Added check-all-workflows job that verifies all 4 required workflows
(wheels, wheels-docker, wstest, main) have completed successfully
- Uses GitHub API to query workflow runs for the current commit SHA
- Exits early (skips all jobs) if any workflow is still pending
- Only proceeds with full release when ALL workflows complete
Behavior:
- Run 1 (first workflow completes): Check fails, exit early
- Run 2 (second workflow completes): Check fails, exit early
- Run 3 (third workflow completes): Check fails, exit early
- Run 4 (fourth workflow completes): Check passes, full release proceeds
Benefits:
- Single consolidated release (no duplicates)
- Efficient artifact collection from all 4 workflows
- Clear logging shows which workflows are pending
- Idempotent and race-condition safe
0 commit comments