mateczagany opened a new pull request, #1217:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1217
## What is the purpose of the change
`StatusRecorder` does not break out of the for loop after successful status
update in `patchAndCacheStatus`, resulting in a `StatusConflictException`
exception if the spec was modified between the calls, as it will think that the
status was modified externally.
## Brief change log
- Fix the loop to always properly exit on successful status write
- Add tests
## Verifying this change
- It's a trivial fix with new test to verify it
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
no
- Core observer or reconciler logic that is regularly executed: yes
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
---
##### Was generative AI tooling used to co-author this PR?
- [x] Yes (please specify the tool below)
Generated-by: Claude Opus 5.5
--
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]