Re-apply Jackson 2.18.6 upgrade with round-trip test coverage#599
Open
darklight3it wants to merge 5 commits intodmelfi/improve-serialization-testingfrom
Open
Re-apply Jackson 2.18.6 upgrade with round-trip test coverage#599darklight3it wants to merge 5 commits intodmelfi/improve-serialization-testingfrom
darklight3it wants to merge 5 commits intodmelfi/improve-serialization-testingfrom
Conversation
01edeed to
1f4c1fc
Compare
M-Elsaeed
approved these changes
Mar 27, 2026
rarepolz
approved these changes
Mar 27, 2026
added 4 commits
March 27, 2026 15:18
…e errors when running aws-lambda-java-serialization
72e08f9 to
97f7cb0
Compare
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.
Issue #, if available:
Related to #594
Description of changes:
Upgrading
Jacksonin the serialization package from2.15.4to2.18.6. The previous update was reverted because of a suspected regression onaws-lambda-serializationhere.The root cause of the failure was not in the published artifact. I confirmed this running the new suite of tests introduced in #598 against the
1.3.0version ofaws-lambda-serialization.The real root cause was in
aws-lambda-java-serializzation.yml, specifically in:Both package and install execute the
shadegoal frommaven-shade-plugin, responsible for avoiding dependency collision with user code.This plugin executes a non idempotent action in
DateTimeModule. Specifically moving the registering namespace in the following way:Thus not registering the correct event imported from the
aws-lambda-java-eventslibrary. The tests are now failing because the default Joda Time jackson serializer changed the constructor signature.Target (OCI, Managed Runtime, both):
Both
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.