karmada icon indicating copy to clipboard operation
karmada copied to clipboard

Align federated CloneSet's observedGeneration semantics with its native

Open veophi opened this issue 1 year ago • 10 comments

What type of PR is this?

/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes: Part of https://github.com/karmada-io/karmada/issues/4870, https://github.com/karmada-io/karmada/issues/5021

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

`karmada-controller-manager`: Mark `.status.observedGeneration` of CloneSet with `.metadata.generation` only when all members' statuses are algined with its resource template generation.

veophi avatar Jun 17 '24 10:06 veophi

/assign @yike21

RainbowMango avatar Jun 17 '24 10:06 RainbowMango

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 28.22%. Comparing base (25f9fdd) to head (f2ad6e5). Report is 4 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5057      +/-   ##
==========================================
- Coverage   28.22%   28.22%   -0.01%     
==========================================
  Files         632      632              
  Lines       43553    43553              
==========================================
- Hits        12293    12291       -2     
- Misses      30364    30366       +2     
  Partials      896      896              
Flag Coverage Δ
unittests 28.22% <ø> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Jun 17 '24 10:06 codecov-commenter

/lgtm Maybe we can update these testdata files in another pr.

yike21 avatar Jun 18 '24 01:06 yike21

Maybe we can update these testdata files in another pr.

It would be best if we could add this in the same PR. Other PRs can also follow this template to facilitate testing.

XiShanYongYe-Chang avatar Jun 18 '24 01:06 XiShanYongYe-Chang

Maybe we can update these testdata files in another pr.

It would be best if we could add this in the same PR. Other PRs can also follow this template to facilitate testing.

done. /cc @XiShanYongYe-Chang @yike21

veophi avatar Jun 25 '24 02:06 veophi

Hi @veophi, would you mind changing your commit user to English? It might be a more common setting.

XiShanYongYe-Chang avatar Jun 25 '24 02:06 XiShanYongYe-Chang

Hi @veophi, would you mind changing your commit user to English? It might be a more common setting.

ok

veophi avatar Jun 25 '24 02:06 veophi

/cc @yike21

XiShanYongYe-Chang avatar Jun 25 '24 08:06 XiShanYongYe-Chang

Thanks for your contribution! @veophi /lgtm

yike21 avatar Jul 08 '24 13:07 yike21

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

karmada-bot avatar Jul 09 '24 01:07 karmada-bot