Repository navigation
RC-451 Smoke-test SARIF ruling actions (do not merge) - #6446
romainbrenguier wants to merge 12 commits into
Conversation
Ruling Diff SummaryDetected changes in 5 rule files: 7 issues removed, 24 issues added. S106 (
|
|
⚖️ Ruling update ready for review: #6447 |
|
Validation succeeded: Ruling Diff Comment passed, the Linux SARIF artifact and HTML diff uploads passed, and Ruling Update and Notify created automatic baseline PR #6447. The synthetic reports pass the LITS SARIF 2.1.0 schema. Ruling comparison failures are intentional because this draft does not contain regenerated baselines. Keep this smoke-test stack out of #6445. |
|
⚖️ Ruling update ready for review: #6447 |
6e62bb7 to
0464ab5
Compare
b5f5347 to
35b147d
Compare
f238755 to
fcbca51
Compare
|
⚖️ Ruling update ready for review: #6447 |
35b147d to
61fcaad
Compare
CI failed: Ruling-test mismatch in the RC-451 SARIF smoke-test PR: JavaRulingTest fails on Windows for guava (23 differences), eclipse_jetty_incremental (6), and apache_commons_beanutils (2), likely tied to the edited expected SARIF fixtures; a Linux ruling log is truncated with no visible failure.OverviewTwo unique error templates across 13 logs. The Windows ruling job shows a real JavaRulingTest failure (3 of 7 tests), classified as test-related and possibly change-related. The Linux ruling job excerpt shows no visible failure, so its status is unclear because the relevant section is truncated. FailuresJavaRulingTest assertNoDifferences mismatches on Windows (confidence: medium)
Linux ruling job: no visible failure in truncated log (confidence: low)
Summary
Code Review ✅ Approved🟡 Medium risk · Replacing expected SARIF findings with synthetic smoke-test data changes ruling comparisons and could conceal discrepancies in generated analyzer results. Adds two synthetic SARIF 2.1.0 smoke-test reports for S106 and S112 under the expected/ paths to exercise the ruling actions, using existing commons-beanutils and guava source locations. No issues found. Verification Rules 1/1 met PRs 4 inspectedFunctional validation No results Rules 1 passed 2 not applicable
Broader impact PRs 4 inspectedCross-PR 4 PRs inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
⚖️ Ruling update ready for review: #6447 |
1596019 to
d518899
Compare




Purpose
Stacked on #6445 (base: romain/rc-451). This is a disposable draft PR to exercise the SARIF actions introduced by the migration. Do not merge these synthetic expectations.
Changes
Expected CI behavior
Local validation
Agent workflow
Tool link: https://github.com/SonarSource/languages-experimental-tooling/tree/romain/my-tickets/personal/romain-brenguier
PR updated using
uv run update_with_claude.py --prompt "Rebase the branch (not merge) on https://github.com/SonarSource/sonar-java/pull/6445. Keep only the only relevant commit (Exercise...)" -a "None" -g "codex"Summary by Gitar
java:S9438finding forBeanMap.javaline 42 to commons-beanutils expected SARIF outputThis will update automatically on new commits.