Skip to content

Report review gaps in CI annotations - #80

Open
Amanyd wants to merge 1 commit into
prooflinedev:mainfrom
Amanyd:ci-annotation-gaps
Open

Amanyd wants to merge 1 commit into
prooflinedev:mainfrom
Amanyd:ci-annotation-gaps

Conversation

@Amanyd

@Amanyd Amanyd commented Nov 22, 2026

Copy link
Copy Markdown

Problem

ci review --annotations printed only unresolved findings. Text output and SARIF both report gaps when a review is incomplete, but annotations did not. With environment checks off during Kian rollout, a partial result could look like a normal findings-only result.

Fix

Annotations now report gaps using the same reason codes as SARIF, including code, environment, and review level gaps. Findings from an incomplete lane are marked (partial). A complete review prints exactly the same annotations as before.

Verification

  • cargo fmt --check
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo test --locked
  • cargo deny check

Added unit tests in src/annotations.rs and an integration test in tests/http.rs. The incomplete case exits 2 and prints the gap annotations, the (partial) finding, and unchanged JSON on stdout.

This branch has not been deployed

No deployments
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