Skip to content

Offboarding: Fix setting finalizer and test if it happens in unit test - #205

Merged
notandy merged 2 commits into
mainfrom
fix-offboarding
Dec 17, 2025
Merged

Offboarding: Fix setting finalizer and test if it happens in unit test#205
notandy merged 2 commits into
mainfrom
fix-offboarding

Conversation

@fwiesel

@fwiesel fwiesel commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@fwiesel
fwiesel requested a review from notandy December 17, 2025 13:17
The decomissioning controller doesn't reconcile on the hypervisor,
so it won't get an update, which means we have to requeue it 'manually'.
@github-actions

Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller 50.09% (+0.23%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/decomission_controller.go 31.58% (+1.95%) 76 (-5) 24 52 (-5) 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/decomission_controller_test.go

@notandy

notandy commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

We will retire this whole controller probably anyway with sapcc/maintenance-controller#334

@notandy
notandy merged commit 4d63a22 into main Dec 17, 2025
6 checks passed
@fwiesel
fwiesel deleted the fix-offboarding branch July 8, 2026 07:54
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.

2 participants