Commit 500b2a7
fix(impl-merge): let a re-dispatch finish the bookkeeping of an already-merged PR
The merge step has long treated "already merged" as success and continued
to promotion, labels, issue close and the Postgres sync — the whole point
of dispatching the workflow again after a run that crashed post-merge.
It never got there: the completeness check before it fetched the PR
branch, and `gh pr merge --delete-branch` had removed that branch at the
merge, so the re-run died on `couldn't find remote ref`.
Seen on #11295 (2026-09-05): the GCP auth step failed 5 s after the
squash, the images stayed in staging while the metadata on main already
pointed at production, and the re-dispatch could not repair it.
The check now reads the files from origin/main when the PR is merged,
which is where the squash commit put them, and no longer tries to close
a merged PR when they are absent. The babysit skill gets the gotcha and
the status-cycle rule (compare landed pairs against production images).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LfPAdJKa4JWzvsEUQZUuhs1 parent 601d305 commit 500b2a7
3 files changed
Lines changed: 54 additions & 8 deletions
File tree
- .claude/skills/babysit-pipeline
- .github/workflows
- changelog.d
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
262 | 275 | | |
263 | 276 | | |
264 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 171 | | |
174 | 172 | | |
175 | 173 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
179 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
180 | 201 | | |
181 | 202 | | |
182 | 203 | | |
| |||
185 | 206 | | |
186 | 207 | | |
187 | 208 | | |
188 | | - | |
189 | | - | |
| 209 | + | |
| 210 | + | |
190 | 211 | | |
191 | 212 | | |
192 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments