OpenCodeReview Version
v1.9.8 (9c5e90d) linux/amd64
Operating System
Linux (x86_64)
Installation Method
GitHub Release binary
LLM Provider
Other OpenAI-compatible endpoint
Bug Description
When ocr is run with --timeout set and timeout happens I expect that ocr would finish with non-zero return code.
Having non-zero return code is critical for detecting ocr and CI harness misconfiguration on CI.
Steps to Reproduce
Set timeout and run on slow LLM:
$ ocr review --commit HEAD --concurrency 1 --timeout 10 --audience agent
[ocr] Summary: 2 file(s) reviewed, 0 comment(s), ~251232 token(s) used (input: ~232407, output: ~18825), cache(read: ~200118, write: ~0), 10m48s elapsed
[ocr] Session: 496b007a-1dc5-4a77-8b71-aaeb928f9e13
Review partially complete: 0 finding(s); 1 of 2 selected item(s) failed.
LLM retry report: 0/16 requests retried, 0 retries, 0 recovered, 1 failed, 0 cancelled
- myfile.c / main_task #13: timeout -> failed
$ echo $?
0
Expected Behavior
Logs / Error Output
Additional Context
No response
OpenCodeReview Version
v1.9.8 (9c5e90d) linux/amd64
Operating System
Linux (x86_64)
Installation Method
GitHub Release binary
LLM Provider
Other OpenAI-compatible endpoint
Bug Description
When ocr is run with --timeout set and timeout happens I expect that ocr would finish with non-zero return code.
Having non-zero return code is critical for detecting ocr and CI harness misconfiguration on CI.
Steps to Reproduce
Set timeout and run on slow LLM:
Expected Behavior
Logs / Error Output
Additional Context
No response