Commit aace0e1
Handle AlreadyExists race in cluster image build (#337)
`build_cluster_image` does a check-then-build that can race when
parallel
test sessions try to build the same image. The `images.get()` check
passes
for both, then one build succeeds and the other gets a `BuildError` with
`AlreadyExists`. This showed up as every test failing in a CI cluster
job:
https://github.com/chrisguidry/docket/actions/runs/22020705636/job/63639829973
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 61bc093 commit aace0e1
1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
185 | 191 | | |
186 | 192 | | |
187 | 193 | | |
| |||
0 commit comments