Skip to content

feat: stopped update run implementation#364

Merged
britaniar merged 16 commits intokubefleet-dev:mainfrom
britaniar:stoppedUpdateRun
Dec 11, 2025
Merged

feat: stopped update run implementation#364
britaniar merged 16 commits intokubefleet-dev:mainfrom
britaniar:stoppedUpdateRun

Conversation

@britaniar
Copy link
Member

@britaniar britaniar commented Dec 4, 2025

Description of your changes

I have:

  • Updates the update run condition to be stopped when state is "Stop"

  • Updates the overall existing conditions to match the current update run generation at the beginning of the reconcile to match k8s ObservedGeneration functionality.

  • Updated integration tests and e2e tests.

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

  • Integration test
  • E2E test

Special notes for your reviewer

"Stopping" implementation will be in a follow up PR (lets cluster finish updating and then updates the stage conditions).

@britaniar britaniar marked this pull request as ready for review December 4, 2025 23:09
@britaniar britaniar requested a review from Arvindthiru December 5, 2025 17:30
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

❌ Patch coverage is 84.00000% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/controllers/updaterun/controller.go 84.00% 6 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Signed-off-by: Britania Rodriguez Reyes <britaniar@microsoft.com>
Copy link
Member

@Arvindthiru Arvindthiru left a comment

Choose a reason for hiding this comment

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

LGTM

@britaniar britaniar merged commit ed6177d into kubefleet-dev:main Dec 11, 2025
13 of 15 checks passed
@britaniar britaniar deleted the stoppedUpdateRun branch December 11, 2025 01:12
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.

4 participants