Skip to content

Prove scanner diagnostics cannot corrupt JSON findings - #70

Open
hyperpolymath wants to merge 1 commit into
mainfrom
fix/scanner-stderr-regression-20260910
Open

Prove scanner diagnostics cannot corrupt JSON findings#70
hyperpolymath wants to merge 1 commit into
mainfrom
fix/scanner-stderr-regression-20260910

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The fake panic-attack command previously emitted only stdout, so a test could pass even if the workflow accidentally mixed scanner diagnostics into the JSON findings. Emit a diagnostic on stderr and add a planted regression that combines both streams; the regression must fail while valid JSON reports still pass.

Validation: the actual workflow-step regression suite passes valid and critical reports, malformed payload rejection, stderr contamination rejection, and clone/dependency/build failure controls. Incorporates the late CodeRabbit finding on #67.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 521c4db8-08a8-4c1f-b306-79bec3050e71

📥 Commits

Reviewing files that changed from the base of the PR and between 59e782d and 6dfaddf.

📒 Files selected for processing (1)
  • tests/ci/static_analysis_gate_test.rb

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant