Skip to content

Stop replica defaulting loop from blocking suspension propagation - #499

Merged
scotwells merged 1 commit into
mainfrom
codex/fix-suspension-propagation
Oct 19, 2026
Merged

scotwells merged 1 commit into
mainfrom
codex/fix-suspension-propagation

Conversation

@scotwells

@scotwells scotwells commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Default an unset WorkloadDeployment replica target on the Karmada copy to the deployment minimum before propagation.
  • Keep the project deployment unchanged and preserve explicit replica targets.

Why

The suspension E2E run showed the annotation on the Karmada WorkloadDeployment but not on the cell after 90 seconds. The cell initializes an unset replica target, while the Karmada desired copy leaves it unset. Repeated cell updates and Work resource-version conflicts prevented the updated annotation from reaching the cell.

Related PR

  • datum-cloud/compute#497 includes this fix in its branch so the exec TTL PR's CI can pass. Merge this PR first to keep the suspension fix independently reviewable.

Verification

  • go test ./internal/controller -run TestUpsertDownstreamDeploymentReplicaTarget -count=1
  • Full Go tests, lint, and Chainsaw E2E pass on CI run 39328444292 and the PR's companion checks.

@scotwells
scotwells marked this pull request as ready for review October 19, 2026 22:45
@scotwells
scotwells requested a review from a team as a code owner October 19, 2026 22:45
@scotwells
scotwells merged commit 0aa32db into main Oct 19, 2026
12 of 13 checks passed
@scotwells
scotwells deleted the codex/fix-suspension-propagation branch October 19, 2026 22:55
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