Skip to content

Validation: SARIF gates and merge (#1483) - #36

Closed
joaodinissf wants to merge 1 commit into
codex/validation-20260926-basefrom
codex/validation-20260926-1483
Closed

joaodinissf wants to merge 1 commit into
codex/validation-20260926-basefrom
codex/validation-20260926-1483

Conversation

@joaodinissf

@joaodinissf joaodinissf commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Fork-only validation of upstream stack dsldevkit#1483

Final candidate: 230afc4d11902623937c0752a8f2f91367056688. The complete verification workflow passed.

Before publication, this exact head passed 112 local report/merge/process cases, eight mutation checks, and its applicable signed Git scope scenarios. The reusable suites also run in the fast analysis-regression job.

The changes preserve Maven failures, reject incomplete SARIF, parse CPD XML, retain rule/taxonomy metadata, and emit repository-relative source locations. The separate deliberate finding probe verified two actual annotations at the expected source line; its failing SpotBugs check is intentional.

This draft is a validation resource in the owner's fork. It does not modify the upstream PR and is not a request to merge or publish. No snapshot, release, or deployment workflow was triggered. Any upstream publication requires separate approval.

Run PMD/Checkstyle/CPD and SpotBugs in separate analysis lanes. Preserve
Maven failure status with --fail-at-end and validate every expected raw
and merged report before counting findings. Require successful invocation
metadata for PMD and SpotBugs; Checkstyle omits it, so retain its valid
format while preserving the producer process status. Parse CPD XML and
reject processing errors instead of counting lines that resemble findings.

Resolve each run's URI base chains and emit repository-relative artifact
URIs, including secondary locations. A real GitHub upload accepted preserved
base IDs but recorded package-relative paths that did not match the source
tree. Explicit relative URIs remove that consumer dependency. Resolve rule
indices before combining descriptors, preserve SpotBugs taxonomies, and
reject conflicting or unsupported metadata instead of discarding it.

Exercise extracted workflow blocks with real producer reports and negative
fixtures, and run targeted mutation checks in a fast CI job. Cover absent
reports, malformed input, incomplete analysis, notification errors, merged
output corruption, source locations, descriptors and producer exit status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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