Skip to content
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

Various minor fixes #825

Merged
merged 7 commits into from
Dec 4, 2023
Merged

Various minor fixes #825

merged 7 commits into from
Dec 4, 2023

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Nov 30, 2023

No description provided.

@hiddeco hiddeco requested a review from darkowlzz November 30, 2023 12:04
@hiddeco hiddeco force-pushed the various-minor-fixes branch 2 times, most recently from cf1b678 to 1427495 Compare November 30, 2023 21:08
This ensures that on repetitive failures, the number of snapshots does
not grow indefinitely due to there not being any in a superseded or
deployed state.

Signed-off-by: Hidde Beydals <[email protected]>
@hiddeco hiddeco force-pushed the various-minor-fixes branch from 1427495 to 688b636 Compare December 1, 2023 11:27
@hiddeco hiddeco marked this pull request as ready for review December 1, 2023 11:27
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This ensures that any unfulfilled dependencies for which we requeue do
not prematurely bump the observed generation by introducing typed
errors.

These typed errors ensure that the logic to bump the observed generation
can continue to be the same, while ignoring them just in time before
returning the final error.

Signed-off-by: Hidde Beydals <[email protected]>
@hiddeco hiddeco force-pushed the various-minor-fixes branch 3 times, most recently from 2277499 to 8afea70 Compare December 1, 2023 15:57
This ensures that if there is no target to roll back to due to all of
them being in a failed state, the controller stalls instead of ending up
in a loop of upgrade attempts.

Signed-off-by: Hidde Beydals <[email protected]>
@hiddeco hiddeco force-pushed the various-minor-fixes branch from 8afea70 to 51563d6 Compare December 1, 2023 16:21
This avoids having a confusing "stale" Remediated condition when a new
release has been attempted.

Signed-off-by: Hidde Beydals <[email protected]>
Copy link
Contributor

@darkowlzz darkowlzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually tested the fixes.
Everything LGTM!

@hiddeco hiddeco merged commit 0bde327 into main Dec 4, 2023
6 checks passed
@hiddeco hiddeco deleted the various-minor-fixes branch December 4, 2023 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants