Skip to content

fix(review): fail closed on incomplete coverage - #41

Merged
pierrick-fonquerne merged 2 commits into
mainfrom
fix/ai-review-fail-closed
Aug 13, 2026
Merged

fix(review): fail closed on incomplete coverage#41
pierrick-fonquerne merged 2 commits into
mainfrom
fix/ai-review-fail-closed

Conversation

@pierrick-fonquerne

Copy link
Copy Markdown
Contributor

Summary

  • Reject an empty review-service credential before any remote request.
  • Retry transient service failures with a bounded 30-second request timeout and three attempts maximum.
  • Publish an incomplete review result before returning a failing job status.

Root cause

An empty credential produced a 401 response for every specialist while the process still ended successfully after publishing the incomplete result.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace --all-features --no-fail-fast
  • cargo build --release --manifest-path tools/ai-review/Cargo.toml

@pierrick-fonquerne
pierrick-fonquerne marked this pull request as ready for review August 13, 2026 22:18
@pierrick-fonquerne
pierrick-fonquerne merged commit 228b05d into main Aug 13, 2026
5 checks passed
@pierrick-fonquerne
pierrick-fonquerne deleted the fix/ai-review-fail-closed branch August 13, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant