Commit 1ec5a36
committed
test(retry): verify terminal Exit is Cause.done in budget-cap test
Code-quality review (codex-5.3) flagged that the budget-cap test broke
the loop on first non-success Exit without verifying the termination
semantics. A regression that terminated via Cause.fail would still pass.
Capture the terminal exit, assert Exit.isFailure, and assert
Cause.isDone(terminal.cause) so the test specifically pins the happy
termination path (schedule completed normally) vs a defect/fail path.
Addresses review of 1b8f62d.1 parent 1b8f62d commit 1ec5a36
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
301 | 305 | | |
| 306 | + | |
302 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
303 | 313 | | |
304 | 314 | | |
305 | 315 | | |
| |||
0 commit comments