Validation: real SpotBugs source annotations - #40
Closed
joaodinissf wants to merge 1 commit into
Closed
joaodinissf wants to merge 1 commit into
joaodinissf wants to merge 1 commit into
Conversation
Use the candidate merger and an actual SpotBugs finding report alongside a clean sibling. Point the preserved source bases at the committed fixture and require successful Code Scanning processing. This fork-only harness replaces the build workflow to avoid another full reactor build; it has read-only content access and no publishing or deployment steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joaodinissf
force-pushed
the
codex/validation-20260926-1486
branch
from
September 26, 2026 11:31
d80364a to
6fe8869
Compare
joaodinissf
force-pushed
the
codex/validation-20260926-annotations
branch
from
September 26, 2026 11:31
98939b0 to
2439265
Compare
| @@ -0,0 +1,2 @@ | |||
| package com.example; | |||
| public class Example { public static void main(String[] args) { String s = null; System.out.println(s.length()); } } | |||
| @@ -0,0 +1,2 @@ | |||
| package com.example; | |||
| public class Example { public static void main(String[] args) { String s = null; System.out.println(s.length()); } } | |||
This was referenced Sep 26, 2026
Base automatically changed from
codex/validation-20260926-1486
to
codex/validation-20260926-1484
September 26, 2026 12:02
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.
Fork-only annotation validation
Exercise the candidate SARIF merger using an actual SpotBugs 4.10.4 finding report, a clean sibling report, and the original two-line Java source committed in this draft.
The workflow requires successful Code Scanning processing. Expected results:
NP_ALWAYS_NULLandNP_LOAD_OF_KNOWN_NULL_VALUE, both resolved to line 2 of.github/tests/analysis/annotation-source/com/example/Example.java.This separate harness replaces the build workflow to avoid an additional full reactor build. It uses read-only content permissions and security-event upload permission; it has no package, release, or deployment steps. The four candidate stack branches are unchanged. This draft is not a request to merge or publish.