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

🐛 Fix provision condition time lag #1005

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Conversation

janiskemper
Copy link
Contributor

What this PR does / why we need it:
There has been a time lag in the condition that shows the provisioning status of the HetznerBareMetalHost. It was only updated after a new reconcilement has started, not during the reconcilement where the state actually changed.

This commit places the update of the condition to the start of the respective functions to ensure it is up to date.

TODOs:

  • squash commits
  • include documentation
  • add unit tests

@janiskemper janiskemper requested a review from guettli October 12, 2023 06:57
guettli
guettli previously approved these changes Oct 12, 2023
There has been a time lag in the condition that shows the provisioning
status of the HetznerBareMetalHost. It was only updated after a new
reconcilement has started, not during the reconcilement where the state
actually changed.

This commit places the update of the condition to the start of the
respective functions to ensure it is up to date.
@janiskemper janiskemper force-pushed the fix-provision-condition branch from 9e3d7ae to 7074876 Compare October 20, 2023 09:00
@janiskemper janiskemper marked this pull request as ready for review October 20, 2023 09:04
@syself-bot syself-bot bot added the area/code Changes made in the code directory label Oct 20, 2023
@janiskemper janiskemper merged commit d5fbead into main Oct 20, 2023
13 checks passed
@janiskemper janiskemper deleted the fix-provision-condition branch October 20, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Changes made in the code directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants