Skip to content

cli: show pre-existing concerns in local reviews - #584

Merged
rgushchin merged 1 commit into
sashiko-dev:mainfrom
hargar19:user/hargar/fix-local-preexisting-output
Oct 1, 2026
Merged

rgushchin merged 1 commit into
sashiko-dev:mainfrom
hargar19:user/hargar/fix-local-preexisting-output

Conversation

@hargar19

Copy link
Copy Markdown
Contributor

The Linux patch workflow routes pre-existing concerns away from patch findings so the daemon can verify them in the standalone bug pipeline. The local review renderer only inspected findings, however, and printed "No issues found." when a review preserved pre-existing concerns.

Read the concerns array when rendering local results. Report that no patch-introduced issues were found and list each candidate as pending separate verification. Keep the existing clean message when neither findings nor concerns are present.

Add regression coverage for selecting the correct clean-result message.

Signed-off-by: Hardik Garg hargar@microsoft.com

@sashiko-bot

sashiko-bot Bot commented Sep 28, 2026

Copy link
Copy Markdown

Sashiko review

✓ No issues found across 1 commit.

Full review log on sashiko.sashiko.dev

@rgushchin

Copy link
Copy Markdown
Member

Thanks for the PR! I think it should be optional (e.g. --report-preexisting). Most users in the local mode really just want to validate their change, so likely are not interested in preexisting bugs.

@hargar19

Copy link
Copy Markdown
Contributor Author

Good point, I will add a flag. Thank you, Roman.

@hargar19
hargar19 force-pushed the user/hargar/fix-local-preexisting-output branch from 1e684ce to 7f5863c Compare September 29, 2026 17:36
The Linux patch workflow routes pre-existing concerns away from patch
findings so the daemon can verify them in the standalone bug pipeline.
The local review renderer only inspected findings, however, and could
print "No issues found." without offering access to preserved concerns.

Add --report-preexisting to local reviews. Keep the default text output
focused on regressions introduced by the reviewed change, while allowing
users to list preserved candidates as pending separate verification.
JSON output remains unchanged and continues to carry the concerns array.

Document the option and cover both its default-off and enabled behavior.

Signed-off-by: Hardik Garg <hargar@linux.microsoft.com>
@sashiko-bot

sashiko-bot Bot commented Sep 29, 2026

Copy link
Copy Markdown

Sashiko review — v2

✓ No issues found across 1 commit.

Full review log on sashiko.sashiko.dev

@hargar19
hargar19 force-pushed the user/hargar/fix-local-preexisting-output branch from 7f5863c to 3ea73c3 Compare September 29, 2026 17:44
@sashiko-bot

sashiko-bot Bot commented Sep 29, 2026

Copy link
Copy Markdown

Sashiko review — v3

✓ No issues found across 1 commit.

Full review log on sashiko.sashiko.dev

@rgushchin
rgushchin merged commit 8807f7f into sashiko-dev:main Oct 1, 2026
3 checks passed
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.

2 participants