joeyutong opened a new pull request, #649: URL: https://github.com/apache/flink-agents/pull/649
## Summary - Backport #603 to `release-0.2`. - Track `lastCompletedSequenceNumber` instead of using the latest started sequence as the prune boundary. - Remove eager action-state pruning on input completion and prune only after `notifyCheckpointComplete`. - Keep the checkpoint-pruning regression coverage on the release branch. ## Root Cause The operator previously used the latest started sequence as the prune watermark and could also prune action state immediately after an input run finished. That boundary is not checkpoint-safe: a recovery from an earlier completed checkpoint can still need the durable action state for replay. ## Release-0.2 Note - The backport needed a small test-file adjustment on `release-0.2` so the cherry-picked regression helpers compile against the older branch state. ## Validation - `ActionExecutionOperatorTest` -- 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]
