karmada icon indicating copy to clipboard operation
karmada copied to clipboard

fix(detector): fix pp and rb inconsistent

Open CharlesQQ opened this issue 7 months ago • 6 comments

What type of PR is this?

What this PR does / why we need it:

When continuously updating the ·spec.suspension.dispatching· field of pp, the field of rb may be inconsistent with pp.

Which issue(s) this PR fixes: fixes https://github.com/karmada-io/karmada/issues/6379

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


CharlesQQ avatar Apr 25 '25 09:04 CharlesQQ

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign rainbowmango for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 Apr 25 '25 09:04 karmada-bot

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

Codecov Report

Attention: Patch coverage is 65.85366% with 28 lines in your changes missing coverage. Please review.

Project coverage is 48.55%. Comparing base (c31c8e4) to head (38b8e12). Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
pkg/detector/detector.go 63.15% 21 Missing and 7 partials :warning:

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6322      +/-   ##
==========================================
+ Coverage   48.44%   48.55%   +0.10%     
==========================================
  Files         677      677              
  Lines       56067    56138      +71     
==========================================
+ Hits        27164    27257      +93     
+ Misses      27123    27096      -27     
- Partials     1780     1785       +5     
Flag Coverage Δ
unittests 48.55% <65.85%> (+0.10%) :arrow_up:

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.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Apr 26 '25 05:04 codecov-commenter

Is this the complete solution for #5996?

RainbowMango avatar Apr 28 '25 12:04 RainbowMango

If I remember correctly, we haven't worked out an ideal solution yet, right? How about talk about it at next community meeting?

RainbowMango avatar Apr 28 '25 13:04 RainbowMango

talk about it at next community meeting?

We will discuss this issue at our next community meeting.

CharlesQQ avatar Apr 28 '25 14:04 CharlesQQ

Is this the complete solution for https://github.com/karmada-io/karmada/issues/5996?

No, this PR is only to solve the third case

CharlesQQ avatar Apr 29 '25 02:04 CharlesQQ