Skip to content

Fix AddCronTrigger Jackson deserialization#167

Merged
timtebeek merged 1 commit intomainfrom
tim/fix-ci-failures
Mar 24, 2026
Merged

Fix AddCronTrigger Jackson deserialization#167
timtebeek merged 1 commit intomainfrom
tim/fix-ci-failures

Conversation

@timtebeek
Copy link
Member

Summary

  • Add @JsonCreator to AddCronTrigger's public constructor so Jackson can deserialize it
  • Fixes all 15 AddCronTriggerTest failures on main introduced by the Lombok Best Practices commit (c51d7fe)
  • Matches the pattern already used by ForbiddenUsesRecipe

Test plan

  • ./gradlew test --tests "org.openrewrite.github.AddCronTriggerTest" passes locally

Add @JsonCreator to the public constructor so Jackson can
deserialize AddCronTrigger, fixing all AddCronTriggerTest failures
introduced by the Lombok Best Practices commit.
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Mar 24, 2026
@timtebeek timtebeek merged commit af573c2 into main Mar 24, 2026
1 check passed
@timtebeek timtebeek deleted the tim/fix-ci-failures branch March 24, 2026 20:18
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant