The per-id retries in #472 ask about a finding up to three times, and the third try sends each critical/high finding on its own. If the model accepts requests but never answers, every call waits for the client's 300 s timeout. A scan could then make up to about 720 calls, where it used to make at most about 60. Now, when every call in flight fails at once, the triage treats the model as down. It keeps the verdicts it already has and records the rest as skipped: no answer. An unreadable answer (garbage or truncated JSON) still counts as an answer, so those findings are asked about again as before.
Tests:
The model-down test now expects 1 call (before: 5).
New test: the model goes down after four chunks. 40 findings are confirmed, 5 are recorded as skipped (no answer), and 5 calls are made.
cargo fmt, cargo clippy -p compliance-agent --all-targets -- -D warnings and cargo test -p compliance-agent --lib (632 passed) all pass.
Follow-up to #472 for #462.
The per-id retries in #472 ask about a finding up to three times, and the third try sends each critical/high finding on its own. If the model accepts requests but never answers, every call waits for the client's 300 s timeout. A scan could then make up to about 720 calls, where it used to make at most about 60. Now, when every call in flight fails at once, the triage treats the model as down. It keeps the verdicts it already has and records the rest as `skipped: no answer`. An unreadable answer (garbage or truncated JSON) still counts as an answer, so those findings are asked about again as before.
Tests:
- The model-down test now expects 1 call (before: 5).
- New test: the model goes down after four chunks. 40 findings are confirmed, 5 are recorded as skipped (no answer), and 5 calls are made.
`cargo fmt`, `cargo clippy -p compliance-agent --all-targets -- -D warnings` and `cargo test -p compliance-agent --lib` (632 passed) all pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
The per-id retries of #472 ask about a finding up to three times, the
critical/high ones on their own. A model that accepts requests and never
answers would hold each call for the client's 300 s timeout: up to 720
calls instead of 60. When every call in flight fails at once, the model
is taken as down; what it answered so far is kept, the rest is recorded
as "skipped: no answer". An unreadable answer still counts as an answer
and is asked about again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang
merged commit 0c0eedb242 into main2026-10-05 22:48:16 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Follow-up to #472 for #462.
The per-id retries in #472 ask about a finding up to three times, and the third try sends each critical/high finding on its own. If the model accepts requests but never answers, every call waits for the client's 300 s timeout. A scan could then make up to about 720 calls, where it used to make at most about 60. Now, when every call in flight fails at once, the triage treats the model as down. It keeps the verdicts it already has and records the rest as
skipped: no answer. An unreadable answer (garbage or truncated JSON) still counts as an answer, so those findings are asked about again as before.Tests:
cargo fmt,cargo clippy -p compliance-agent --all-targets -- -D warningsandcargo test -p compliance-agent --lib(632 passed) all pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB