Skip to content

Conversation

lengrongfu
Copy link
Contributor

@lengrongfu lengrongfu commented Oct 2, 2023

Fixes: #9176

@k8s-ci-robot
Copy link

Hi @lengrongfu. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lengrongfu lengrongfu force-pushed the fix/toml-version-upgrade-bug branch 3 times, most recently from 92e171b to e176682 Compare October 4, 2023 02:18
@thaJeztah
Copy link
Member

The only thing I was wondering here is: main branch is for containerd v2, and IIRC there would be some breaking changes in the config; from that perspective, do we need the backward compatibility (not sure what the scope of breaking changes is in the config; is it only deprecating fields or also other breaking changes?)

@fuweid
Copy link
Member

fuweid commented Oct 4, 2023

Hi @thaJeztah

The only thing I was wondering here is: main branch is for containerd v2, and IIRC there would be some breaking changes in the config;

I think we can consider to keep this backward compatibility because we can use 5s to setup the value instead of 5000000000. It's easy to setup the value. What do you think?

@henry118
Copy link
Member

henry118 commented Oct 4, 2023

The extra work required to maintain this compat seems quite small. So i guess it's better to keep the current user experience?

@thaJeztah
Copy link
Member

thaJeztah commented Oct 4, 2023

Yes, sounds good to me; I wasn't 100% sure of the impact, so wanted to be sure we were not taking on maintenance for things that would already have (partially) breaking changes; so thought I'd at least mention 👍

@lengrongfu lengrongfu force-pushed the fix/toml-version-upgrade-bug branch from e176682 to 578f0c7 Compare October 7, 2023 01:54
@lengrongfu
Copy link
Contributor Author

/retest

@k8s-ci-robot
Copy link

@lengrongfu: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io>
@lengrongfu lengrongfu force-pushed the fix/toml-version-upgrade-bug branch from 578f0c7 to 3ddcd61 Compare October 9, 2023 06:21
Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM on green

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

containerd: toml: cannot decode TOML string into struct field nri.Config.PluginRegistrationTimeout of type time.Duration
6 participants