Skip to content

Upgrade to Jackson 3, built against conductor-common 4.0.0-alpha.1 - #169

Closed
bradyyie wants to merge 3 commits into
mainfrom
feat/spring-boot-4-jackson-3
Closed

bradyyie wants to merge 3 commits into
mainfrom
feat/spring-boot-4-jackson-3

Conversation

@bradyyie

Copy link
Copy Markdown
Contributor

Migrates the SDK to Jackson 3 (tools.jackson 3.1.5) and bumps the spring-boot4 module to Boot 4.1.1. ObjectMapperProvider keeps signature and wire-format parity with org.conductoross:conductor-common:4.0.0-alpha.1 (built from conductor-oss/conductor branch feat/spring-boot-4-upgrade) so both jars are interchangeable on a shared classpath. All 1349 unit tests pass. Targets release 7.0.0-alpha.1.

…ot4 module, version 7.0.0-SNAPSHOT

Jackson 3 ships under tools.jackson; annotations stay on the com.fasterxml 2.x
line (2.21). jsr310/jdk8 datatypes and afterburner are part of Jackson 3 core,
so those module dependencies are removed.
Package sweep com.fasterxml.jackson.{databind,core,module} -> tools.jackson.*.
ObjectMapperProvider now builds an immutable JsonMapper and keeps signature and
wire-format parity (WRITE_DATES_AS_TIMESTAMPS) with conductor-common
4.0.0-alpha.1 so both jars stay interchangeable on a shared classpath.
JsonSerializer/SerializerProvider -> ValueSerializer/SerializationContext in
the ai module; JsonProcessingException -> unchecked JacksonException; mapper
mutation sites moved to the builder.
@nthmost-orkes

nthmost-orkes commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Closing this in favor of #189, which lands the same Jackson 3 migration against the version line we actually shipped. Want to be explicit about why, because the work here is solid and most of the ideas carry forward.

What changed under this PR since it was opened:

  • The version scheme was reversed. This PR targets conductor-common:4.0.0-alpha.1 (from the feat/spring-boot-4-upgrade branch) and release 7.0.0-alpha.1. On 2026-10-26 the server line was renumbered: the Spring Boot 4 / Jackson 3 work ships as the 3.34.0 minor, not 4.0.0 (Upgrade to Spring Boot 4.1.1 and Jackson 3 conductor#1573, shipped GA 2026-11-18). This PR's last commit is 2026-10-20, six days before that call, so it's built against an artifact (4.0.0-alpha.1) that is no longer the shipping common. The published Jackson 3 common is org.conductoross:conductor-common:3.34.0 (on Maven Central since the quota lifted on 2026-11-23).
  • main moved a lot. Gradle dependency locking (Enable Gradle dependency locking + clear the CVEs it revealed #184), the file-storage SDK, and the integration-test commit (b8f5f06) all landed after 2026-10-20. This PR is currently CONFLICTING/DIRTY and would need a full rebase plus lockfile regeneration to come back.

What #189 does: same tools.jackson migration (BOM 3.1.7, matching the server's Spring Boot BOM line), ObjectMapperProvider on the immutable JsonMapper.builder() template with wire-format parity, across conductor-client + conductor-client-ai + agent-examples + e2e. Rebased to current HEAD, dependency lockfiles regenerated, ./gradlew build -x test green with lock enforcement, 994 client tests + the ai suite passing.

What from here carries forward on top of #189 (credit to @bradyyie):

  • The spring-boot4 module bump to Boot 4.1.1.

Correction: I initially listed de-vendoring conductor-common as a carry-forward too. On closer look it's not viable -- the client's vendored com.netflix.conductor.common.* is a slim SDK fork, not a thin copy of the server's common. 19 of the 58 vendored classes have no counterpart in conductor-common:3.34.0 (Orkes service-registry models, the common.run.tasks.* typed-task POJOs, MetadataUtils), and the shared-name classes are ~1/3 the size (e.g. Task 376 vs 1153 lines), so swapping would change the wire format and pull server-side concerns into the SDK. The split-package concern is better addressed by relocating the client classes to org.conductoross.conductor.* (conductor-oss/conductor#752-style), which doesn't touch the published common.

Thanks for pushing this first and proving out the ObjectMapperProvider parity approach -- that's the part everything else hangs off of. Tracking the remainder under #187.

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.

2 participants