Commit 9006bd9
fix(ci): widen release-darwin poll budget + early-bail on release-go failure
Both release-go.yml and release-darwin.yml fire on the same tag push.
release-go runs goreleaser (CGO + Kuzu + Cosign + SBOM) — typically
4–8 minutes before the Release object appears. release-darwin tried 3
polls × 30s = 90s total and timed out every time:
Release v0.X.Y not yet visible, waiting 30s (1/3)...
Release v0.X.Y not yet visible, waiting 30s (2/3)...
Release v0.X.Y not yet visible, waiting 30s (3/3)...
::error::Release v0.X.Y never appeared; release-go.yml may have failed
Both v0.3.0 and v0.4.0 needed a manual `gh run rerun` to recover.
Fix:
* Bump poll budget to 30 × 30s = 15 minutes (release-go's worst case
plus headroom).
* On every poll iteration, also check the release-go workflow run
status for this tag via `gh run list`. If it concluded as
failure/cancelled/timed_out, bail with an actionable error instead
of riding the full 15-min timeout to nowhere.
* Pin `--repo "$REPO"` on every gh command so the macOS runner's
inferred repo (from `gh auth status`) can never disagree with the
actual workflow context.
Verified the YAML still parses; functional verification will land with
the next tag push.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 24fef39 commit 9006bd9
1 file changed
Lines changed: 37 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
99 | 109 | | |
100 | 110 | | |
101 | 111 | | |
102 | | - | |
103 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
104 | 129 | | |
105 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
106 | 135 | | |
107 | 136 | | |
108 | 137 | | |
| |||
0 commit comments