Make scaleset reconcile/delete async#3111
Conversation
|
Skipping CI for Draft Pull Request. |
65f4b5d to
83aa946
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3111 +/- ##
==========================================
- Coverage 54.77% 53.97% -0.80%
==========================================
Files 187 188 +1
Lines 19098 18853 -245
==========================================
- Hits 10460 10176 -284
- Misses 8070 8135 +65
+ Partials 568 542 -26
☔ View full report in Codecov by Sentry. |
|
@Jont828 looks good! There are still a few outstanding comments AFAICT, hidden in the collapsed middle section of this epic PR: |
766ce25 to
d544d79
Compare
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 24fa3fe276e692de983ff1b346338ddcc190636d |
nawazkh
left a comment
There was a problem hiding this comment.
Great work @Jont828! Thanks for putting this together and working this out!
Also, I am sorry for the last-minute reviews. I had started the review earlier and then get diverted and had to shift my focus.
I had some minor nits and have jotted them below.
| if err != nil { | ||
| return nil, errors.Wrap(err, "failed to get principal ID for VMSS") | ||
| } |
There was a problem hiding this comment.
Should this be updated to below?
| if err != nil { | |
| return nil, errors.Wrap(err, "failed to get principal ID for VMSS") | |
| } | |
| if err != nil { | |
| return nil, errors.Wrap(err, "failed to get resultVMSSIface") | |
| } |
There was a problem hiding this comment.
On second thought, I think we want to leave it as is. Before, we were giving the error when we failed to get the VM, which we're still doing here. The error err should explain that we failed the Get() call while the wrapper message gives context as to why we needed to fetch the VMSS to begin with.
d544d79 to
2fc5b48
Compare
2fc5b48 to
236428f
Compare
|
Just one nit 😬 |
236428f to
373518e
Compare
|
LGTM label has been added. DetailsGit tree hash: 13bae01c0dd22606daefe1fa94d7f2cc0a45169f |
|
/test pull-cluster-api-provider-azure-e2e-optional |
CecileRobertMichon
left a comment
There was a problem hiding this comment.
/lgtm
/approve
🚀
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
🚀 🚀 🚀 |
|
🚀 |
|
Awesome work!! 🚀 |
|
🚀 💯 |
What type of PR is this?
/kind feature
What this PR does / why we need it: Implementation of an async service for managed agent pools as part of an effort to make all services async. See #1610 and #1541.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #2719
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: