Skip to content

[reviewer] Report confidence + shipping impact, and summarize overall PR risk - #4128

Merged
brentvatne merged 2 commits into
mainfrom
brentvatne/review-confidence-and-pr-risk
Jul 31, 2026
Merged

[reviewer] Report confidence + shipping impact, and summarize overall PR risk#4128
brentvatne merged 2 commits into
mainfrom
brentvatne/review-confidence-and-pr-risk

Conversation

@brentvatne

@brentvatne brentvatne commented Jul 31, 2026

Copy link
Copy Markdown
Member

Porting over some changes to the ai-review output format. The goal is to surface risk for the overall PR and associated with each suggestion, and to keep detailed information within summary/details sections.

… PR risk

Ports two reviewer-prompt sections from the euxy adopter repo (euxy 30e6117,
refined by 4f1e0f8), re-anchored on this repo's house-calibrated severity
anchors rather than copied.

Findings now carry Confidence (is this real) and Impact if shipped (what it
costs) as separate axes at the head of `rationale`, with the detailed reasoning
folded into a <details> block. The house anchors sit at Medium impact: an
exit-code regression, a --json/--non-interactive contract violation, a
SystemError/UserError misclassification, a broken CHANGELOG entry. The
coordinator folds `suggestion` into the rationale so the reporter cannot strand
the fix below the collapsed block.

The cross-cutting reviewer, or the always-run security reviewer when a PR is
small enough to skip the cross-cutting pass, also emits one internal
`__overall_pr_risk__` finding. The coordinator turns it into an
`**Overall PR risk: Low|Medium|High.**` summary opener and then drops it. High
risk names this repo's real blast radius: credential storage and retrieval,
build and submit pipelines, env:exec, update publishing, and any change to an
existing command's flags or output contract.
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.64%. Comparing base (4617db1) to head (bb681bd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4128   +/-   ##
=======================================
  Coverage   62.64%   62.64%           
=======================================
  Files         999      999           
  Lines       45175    45175           
  Branches     9483     9483           
=======================================
  Hits        28294    28294           
  Misses      15433    15433           
  Partials     1448     1448           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brentvatne brentvatne added the ai-review Commits pushed to PRs with this label be automatically reviewed. label Jul 31, 2026
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@github-actions

Copy link
Copy Markdown

🤖 AI code review

Decision: Approve

The specialist reviewers reported no critical or warning findings.

No findings.


This review is advisory — it never blocks a merge and never auto-approves.

@brentvatne
brentvatne merged commit edb47e2 into main Jul 31, 2026
13 checks passed
@brentvatne
brentvatne deleted the brentvatne/review-confidence-and-pr-risk branch July 31, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Commits pushed to PRs with this label be automatically reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant