Commit e24fc77
Fix race in kill-job! overwriting :killed with :failed
Commit :killed to the registry before destroying the process so the
exit monitor can't race ahead and overwrite it with :failed (exit 143).
Fixes the flaky background-job-lifecycle integration test. (#510)
🤖 Generated with [ECA](https://eca.dev) (nubank-anthropic/opus-4.8 - max)
Co-Authored-By: eca-agent <git@eca.dev>1 parent 970cca8 commit e24fc77
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
| 218 | + | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| 223 | + | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| |||
0 commit comments