jennifer-xiong25 opened a new pull request, #1072: URL: https://github.com/apache/flink-kubernetes-operator/pull/1072
## Summary - Move `setLastReconciledSpec()` to after `startTransition()` and `startSavepointRedeployTransition()` succeed, so it's not stamped if the transition fails - Previously, `lastReconciledSpec` was set before the transition call — if the transition failed or was later aborted, `lastReconciledSpec` reflected the new spec while the active child still ran the old one. Subsequent deploys would see no diff and fall into PATCH_CHILD (in-place upgrade) instead of a proper B/G transition - Add assertion in `verifySavepointFetchFailureRecovery` confirming `lastReconciledSpec` does not contain the failed spec change ## Context Slack thread: https://shopify.enterprise.slack.com/archives/C0ALAR1TLP8 ## Test plan - [x] `verifySavepointFetchFailureRecovery` passes with new assertion - [x] Full B/G controller test suite passes (72 tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
