-
Notifications
You must be signed in to change notification settings - Fork 137
[rel-v0.62] Fix preservation reconciliation to prevent deviation from regular flow for non-preservation-bound machines and prevent machines getting stuck in creation flow beyond CreationTimeout #1111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gardener-prow
merged 20 commits into
gardener:rel-v0.62
from
thiyyakat:preservation-hot-fix
Jul 1, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4db7dfc
Add gate to ensure preservation code is only run for machines with pr…
thiyyakat 60af619
Uncordon node only if Machine is preservation-bound, and in Running p…
thiyyakat cea40c2
Return updated machine object from preservation functions to prevent …
thiyyakat de02bfd
Handle IsNotFound error in the defer function.
thiyyakat a3b7133
Fix tests and defer function.
thiyyakat daaa433
Add tests and code to ensure the flow for non-preservation bound mach…
thiyyakat 5f143c5
Add tests to cover uncordoning of machine when machines recover to Ru…
thiyyakat 4188e83
Uncordon machines in `stopMachinePreservationIfActive` to allow retry.
thiyyakat 5a57dd4
Introduce struct preserveStateInfo to persist preservation state acro…
thiyyakat 0d7c29b
Remove "" as a valid preservation value
thiyyakat 5e258e0
Add helper functions and simplify defer
thiyyakat 0c147c9
Ensure machine preservation was not stopped before uncordoning node i…
thiyyakat e027119
Minor code changes and test refactoring to ensure conflict errors are…
thiyyakat 200ce00
Address review comment: Rename `PreserveMachineAnnotationValuePreserv…
thiyyakat 08b6cd3
Correct docstring for `PreserveMachineAnnotationValueFalse`
thiyyakat cf6d15f
Log node name in `uncordonNodeIfCordoned`.
thiyyakat cb105e7
Address review comments
thiyyakat 91b9476
Address review comments - part 2
thiyyakat 5ab7c92
Return machine object even on error so no accidental nil ptr de-refer…
thiyyakat 8cb22d2
Address review comment: modify `getPreserveStateInfo` to return a val…
thiyyakat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.