-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix JSON circular dependency in ASG / WarmPool #17321
Conversation
WIP because we need to verify this fails first, then we can fix it! |
f4b66bc
to
b755098
Compare
So I added a test here that we can render to JSON (that is the problem that rendering was hitting), in the first commit, and that detected this problem (good) I then removed the circular dependency from the ASG -> WarmPool, by putting a |
b755098
to
0e4de09
Compare
Actually I changed my mind and removed the CompareWithID commit from this PR as I don't think it's strictly needed, and we might want to cherry-pick this fix back to earlier kOps versions. I'll send it separately. |
/retest |
This avoids a circular dependency. I previously considered making the field private, but this is roughly equivalent and less disruptive. Co-authored-by: Peter Rifel <[email protected]>
49c139e
to
7dc29d2
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rifelpet 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 |
…-upstream-release-1.32 Automated cherry pick of #17321: tests: verify that we can marshal tasks to json
…-upstream-release-1.30 Automated cherry pick of #17321: tests: verify that we can marshal tasks to json
…-upstream-release-1.31 Automated cherry pick of #17321: tests: verify that we can marshal tasks to json
* Implement CompareWithID on WarmPool (not technically needed here)removed for safer cherry-picking