Repository navigation
fix(ci): show review coverage in PR and MR summaries - #2107
Open
Qiyuanqiii wants to merge 4 commits into
Open
Qiyuanqiii wants to merge 4 commits into
Qiyuanqiii wants to merge 4 commits into
Conversation
Contributor
|
🔍 OpenCodeReview found 2 issue(s) in this PR.
|
Qiyuanqiii
marked this pull request as ready for review
November 26, 2026 09:49
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A partial review could leave a PR or MR showing only how many findings were posted. With zero findings it could look like an all-clear. GitHub and GitLab now put the recorded outcome and coverage at the top of the summary. The same heading appears while inline comments are being posted.
Review coverage
A review with seven completed files, one reused result and two unfinished files is shown as Partial review: 8 of 10 selected files covered. If both unfinished files reached the budget, the next line reads
Not reviewed: 2 files (budget exhausted).A run that fails before selecting files shows its recorded failure class and diagnostic below the heading, even with no warnings or findings. Review info lists the commit range and per-file results, with unfinished files and their recorded reasons first. Reused results are identified individually. Waived files stay in the selected count, and excluded files stay outside it. When coverage is missing, the summary says so.Both publishers give the summary and findings priority over the optional file table. On GitLab, the zero-finding note, initial posting note and final note each account for their own body and sticky markers before adding rows. A shortened table ends at a row boundary and includes an omission notice. GitLab Notes API
Compatibility
Type of Change
Validation
64b63db48ca0699emake check, diff and LF checks64b63db464b63db4npm run test:github-actions64b63db4The same zero-finding fixture produced a 1,705,035-character note on
f7244738, above GitLab’s 1,000,000-character limit.Verified on self-hosted GitLab CE 19.6.2 at 64b63db. The MR summary reported 2 of 3 selected files covered, identified international/quote.go as skipped because the token budget was exhausted, and confirmed that all 5 findings were posted inline.
Limitations
The size handling applies to the optional coverage table. A note whose findings and warnings alone exceed the platform limit still requires separate handling. GitLab publication was tested against the recording publisher used by the unit suite.
Checklist
8ca0699ebefore requesting maintainer review.AI/LLM Disclosure
OpenAI Codex (GPT-6.2 Astra) assisted with implementation, tests and this description. The pre-commit reviews used OpenCodeReview with the DeepSeek model reported as
deepseek-flash.Closes #2103.
follow-up #1489