Skip to content

Conversation

@ryanzhang-oss
Copy link
Contributor

Description of your changes

Add a ready-to-join condition in memberCluster to avoid the race condition of the member agent giving up after getting denied access to the hub cluster resources.

Fixes #

I have:

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

How has this code been tested

Integration test

Special notes for your reviewer

@codecov
Copy link

codecov bot commented Jul 20, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@57d94ac). Click here to learn what that means.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##             main     #181   +/-   ##
=======================================
  Coverage        ?   63.08%           
=======================================
  Files           ?       10           
  Lines           ?      921           
  Branches        ?        0           
=======================================
  Hits            ?      581           
  Misses          ?      311           
  Partials        ?       29           
Impacted Files Coverage Δ
...trollers/membercluster/membercluster_controller.go 81.36% <75.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57d94ac...3eb94f5. Read the comment docs.

Copy link
Contributor

@circy9 circy9 left a comment

Choose a reason for hiding this comment

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

Please fix the last minor comment

@circy9 circy9 merged commit dad750f into Azure:main Jul 21, 2022
@ryanzhang-oss ryanzhang-oss deleted the add-ready-to-join branch August 22, 2022 22:38
britaniar pushed a commit to britaniar/fleet that referenced this pull request Sep 16, 2025
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