-
Notifications
You must be signed in to change notification settings - Fork 929
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
Cleanup deprecated methods in wait package #3835
Comments
So it's pending for #3730 if i'm understand correctly. /assign |
Yes, exactly. |
Hi @liangyuanpeng I added some examples to the issue description, considering that the amount of changes may be relatively large, I have split these tasks into some interactive tasks. Hope this may make the review process more easier. |
Can I work on this? |
@Affan-7 Sure. How about taking the first one as a start? Just reserved this for you. |
Thanks @RainbowMango. /assign @Affan-7 |
@RainbowMango Thanks for tasks list and i'm taking the |
Please check the kubernetes/kubernetes#119762 before working for Seems like the |
Thanks @liangyuanpeng for the update, While migrating the |
Can I work on this? |
@RainbowMango anything I can do? |
@wlq1212 @Rei1010 Sure, thank you both in advance. There are two tasks left, please feel free to help with that. I'll let you know once we are able to do it. |
Have create PR kubernetes/kubernetes#122119 to cherrypick kubernetes#119762 for kubernetes v1.27, once it's merge, we can keeping going. |
@Affan-7 @liangyuanpeng We can get back on this now as we already updated the Kubernetes dependencies to v1.29+ which includes the fix we want. Please feel free to let me know if you can work on this. @wlq1212 @Rei1010 Please let me know(just leave your comments here) if you want help, there are two items without assignments, you can pick anyone you like. |
@zhzhuang-zju Would you like to help with this? |
Sure, I would. |
seems like i missed the ping, let's keep going 🔨 |
What would you like to be added:
wait.Poll
towait.PollUntilContextTimeout
(withimmediately = false
) (@Affan-7, Migrate deprecated wait.Poll function #3906 )For example:
wait.PollImmediate
towait.PollUntilContextTimeout
(withimmediately = true
) (@liangyuanpeng, migrate wait.PollImmediate to wait.PollUntilContextTimeout #3921)For example:
wait.PollUntil
toPollUntilContextCancel
(@zhzhuang-zju, #4947)This might be a little bit challenging, we need to transition channel to context. Probably could leverage ContextForChannel.
Why is this needed:
The
wait.PollImmediate
,wait.Poll
, etc methods were deprecated in Kubernetes v1.27 (#107826), lint check is falling during update the dependencies of Kubernetes at #3730.This kind of check has been disabled by #3730 to avoid huge modifications.
The text was updated successfully, but these errors were encountered: