bpattarkine opened a new pull request, #1430: URL: https://github.com/apache/flink-agents/pull/1430
Related to #1425 and #1426. ### Purpose of change Share the recovery marker union state definition across checkpoint registration, runtime restore, and the offline Kafka cleanup tool. Those paths use the same persisted state name and type information, with a single place to coordinate a future format change. The descriptor factory gives each registration a fresh descriptor. ### Tests 21 focused Java tests passed across `DurableExecutionManagerTest`, `KafkaActionStateCleanupToolTest`, `KafkaActionStateRecoveryMarkerTest`, and `ActionExecutionOperatorMigrationTest`. The cleanup tool test reads a checkpoint written with an independently declared `recoveryMarker` state and `Object` type information. Runtime Spotless passed with JDK 17. ### API The union state retains its name, distribution mode, and Flink type information. This refactor preserves Kryo serialization for recovery markers and the existing requirement to enable `pipeline.generic-types`. ### Documentation - [ ] `doc-needed` - [x] `doc-not-needed` - [ ] `doc-included` ### Was this patch authored or co-authored using generative AI tooling? - [x] Yes - [ ] No Generated-by: Codex CLI 0.171.0 (GPT-6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
