Repository navigation
fix: PR quality coverage and risk scoring - #634
Conversation
|
Just a heads-up: I received this comment on my PR, and I think it's related to the changes introduced in this PR. From a contributor's perspective, the message is quite unclear. If I received it without any context, I wouldn't know what it means or whether I need to take action. I think the message should explicitly explain:
This would make the feedback much more actionable and easier to understand. |
|
@POLAARK thanks for your feedback
Is it more clear like this ? |
|
On larger PRs, the report could still take up a lot of the conversation, even with the current 20-row cap. I’d keep it expanded by default, with:
This keeps the useful results immediately visible while preserving the measurements, ordering and complete-results artifact. Linking each function location to the analyzed commit would also make the report easier to act on. I’m also testing a fixed repository map inspired by Isobar. It complements the function-level report by showing where changes sit in the codebase and whether they spread across components. That gives reviewers a quick overview before following the flagged functions into the diff. Red marks changed files; green marks static links, not proven runtime impact or a risk grade. The map would have its own I’d suggest a separate follow-up PR for the Isobar integration, reusing the existing reporting workflow and publisher. The table-folding change could fit here if you’re happy with that scope. The screenshots below show the same merged-PR pilot in four states: both sections open, quality folded, map folded, and both folded. The measurements and ordering are unchanged. |
|
It's seems alright yes ! |
|
@eipasteur, I reduced to 10 items plus a show more/less (or all purple if more than 10) |


PR quality comments could discard coverage because of Node minor-version differences, exaggerate small complexity increases, and fail on older PR branches that do not contain the reporting scripts.
n/a.This prepares useful reviewer signals ahead of automated PR reviews.
Validation: all 154 script tests passed, plus lint, formatting and secret checks. Regression tests cover older PR heads, revision-bound coverage, comment publication, sorting, and missing coverage. Full frontend suites on PR #575’s base (971 tests) and PR revision (998 tests) also passed.