Do not build a re-review on a run that looked at nothing #36
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 305 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.342
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #36"
general
weight: 0.35
sylvioalves
A re-review is narrowed to what changed since the run named in the summary comment, read from that run's record. A release before 0.6 wrote a review into the record also when every model request had failed: no stage with a result, no tokens used, "No issues found". 0.6 takes such a record for an earlier review.
What happened
The key of the Zephyr deployment was expired on 23 November from 11:57 to 14:23 UTC. In that time 21 runs reviewed nothing, on 17 pull requests, and each recorded a review.
On zephyrproject-rtos/zephyr#117493 the run in that window was for a push that changed two files. The next push was reviewed by 0.6, which narrowed itself to the two files of the new push and said of the rest that it "was reviewed then". The two files of the push before were never reviewed. Two more pull requests have the same gap so far, and ten more are still at the head of their empty run, so their next push would get it.
What changes
A record in which no stage that reviews the change gave a result is not an earlier review. The run that finds one reviews the whole change, as it does when there is no usable record. Verification, the hard cases and the report do not count as such stages: they check candidates and the comments of an earlier review. A record that does not say how its stages ended is taken as before.
0.6 writes no such record when nothing at all gave a result: a run without a review leaves no marker for the next one to follow. It still writes one when every pass over the change was lost while there were comments of an earlier review to settle, since verification and the hard cases then run on those comments alone. So this is for the records that are already there, and for that case.
Checked against the two real records of that pull request: the empty one is refused, the genuine one of the next day is accepted.
Not covered
A run is still skipped when the summary comment of an empty run names the same head or the same change (
skip_reviewed), since that is decided from the comment alone. Until such a pull request changes, its comment stands. Theai-review-fulllabel does not help there: it is consulted only after the skip check, and in the Zephyr workflow that label does not start a run. With this change, such a pull request gets a full review at its next push that changes the diff. To get one before that, its summary comment has to be deleted and the review started again.