Commit 450cde7
test: fix exit code validation in test runner fixture (#792)
* Initial plan
* feat: add rust one-shot-token library implementation
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
* docs: update README for rust implementation
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
* feat: update Dockerfile and entrypoint for rust build
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
* Initial plan
* fix: correct success field calculation in test runner
- Normalize exitCode before evaluating success condition
- Previously compared original result.exitCode (possibly undefined) to 0
- Now normalizes to 0 first, then uses normalized value for success check
- Fixes issue where exit code 0 was incorrectly marked as failure
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
---------
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Co-authored-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 844a011 commit 450cde7
2 files changed
Lines changed: 422 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments