Repository navigation
fix: update Jackson 2 and restore actual coverage reporting - #4
Merged
Merged
Conversation
loong10k
marked this pull request as ready for review
November 3, 2026 19:16
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.
Main pins Jackson 2.17.2, and Surefire overwrites the JaCoCo agent argument, causing coverage reporting and checks to be skipped. Upgrade the Jackson 2 BOM/databind to 2.22.4 while retaining com.fasterxml.jackson APIs and JDK 17. Pass the coverage agent through a dedicated late-evaluated property with an empty fallback for direct Surefire calls.
Preserve whitespace-only stdout as a text node and add Jackson 2 scalar/null/malformed-output regressions.
Validation: JDK 17 clean verify: 557 tests, zero failures/errors/skips. Real line coverage is 1886/2295 (82.18%), below the unchanged 90% target. Existing haltOnFailure=false still warns; this is not coverage compliance. Direct surefire:test passes all 9 stdout parser tests without prepare-agent. Dependency tree resolves databind/core 2.22.4 and annotations 2.22 via the BOM.
Upstream security patch notes: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.22.4