Repository navigation
Commit e243dbc
committed
fix: concurrent publish race and timeout-skipped record step
Bug 1: publishEntry re-reads and re-merges after writing so a concurrent
publish that edited from a stale body does not silently lose the other
writer's entry. Without compare-and-swap, two writers that both merge
from the same initial body can overwrite each other; the first writer's
verify passes before the second write lands and returns, losing the
entry. The re-merge step absorbs entries the initial write clobbered.
Bug 2: The 'Record the review' step now uses always() so a Claude
timeout (or any other step-level failure) does not skip growth
publishing. The || handler only covers a non-zero CLI exit; a GitHub
timeout kills the process without invoking it, failing the step and
gating the implicit success() condition on the record step.1 parent 25dae0d commit e243dbc
3 files changed
Lines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
295 | 310 | | |
296 | 311 | | |
297 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
0 commit comments