Skip to content
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

[2024-05-06] Bump dependency updates identified by dependabot #17973

Merged
merged 5 commits into from
May 9, 2024

Conversation

henrybear327
Copy link
Contributor

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

This pull request completes this week's etcd dependency updates following our dependency roster and dependency management instructions

Summary of actions

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
…olang.org/grpc/otelgrpc from 0.50.0 to 0.51.0

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
@k8s-ci-robot
Copy link

Hi @henrybear327. Thanks for your PR.

I'm waiting for a etcd-io 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-sigs/prow repository.

@henrybear327
Copy link
Contributor Author

Hey @ivanvc,

I need some help resolving the static analysis failure regarding the protobuf. :(

After updating the dependency, it will fail with the following error.

'proto_annotations' started at Thu May  9 12:03:46 CEST 2024
--- ./scripts/etcd_version_annotations.txt      2024-05-05 17:22:55
+++ /var/folders/rt/8_srrksd42q6s84ww5_qyp_40000gn/T/tmp.FUhil46epv     2024-05-09 12:03:47
@@ -456,6 +456,8 @@
 mvccpb.KeyValue.mod_revision: ""
 mvccpb.KeyValue.value: ""
 mvccpb.KeyValue.version: ""
+pb.GoFeatures: ""
+pb.GoFeatures.legacy_unmarshal_json_enum: ""
 walpb.Record: ""
 walpb.Record.crc: ""
 walpb.Record.data: ""
Failed proto-annotations-verification!
If you are adding new proto fields/messages that will be included in raft log:
* Please add etcd_version annotation in *.proto file with next etcd version
* Run ./scripts/genproto.sh
* Run ./scripts/update_proto_annotations.sh
FAIL: 'proto_annotations' FAILED at Thu May  9 12:03:47 CEST 2024

Can you give me some hints? Thank you!

@ivanvc
Copy link
Member

ivanvc commented May 9, 2024

@henrybear327, I think you need to run make fix. After that, commit that change

diff --git a/scripts/etcd_version_annotations.txt b/scripts/etcd_version_annotations.txt
index dc78d423e..a9228a661 100644
--- a/scripts/etcd_version_annotations.txt
+++ b/scripts/etcd_version_annotations.txt
@@ -456,6 +456,8 @@ mvccpb.KeyValue.lease: ""
 mvccpb.KeyValue.mod_revision: ""
 mvccpb.KeyValue.value: ""
 mvccpb.KeyValue.version: ""
+pb.GoFeatures: ""
+pb.GoFeatures.legacy_unmarshal_json_enum: ""
 walpb.Record: ""
 walpb.Record.crc: ""
 walpb.Record.data: ""

Along with the protobuf update, then make validate seems to run fine for me.

@ivanvc
Copy link
Member

ivanvc commented May 9, 2024

/ok-to-test

@ahrtr
Copy link
Member

ahrtr commented May 9, 2024

/ok-to-test

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
@henrybear327
Copy link
Contributor Author

@henrybear327, I think you need to run make fix. After that, commit that change

diff --git a/scripts/etcd_version_annotations.txt b/scripts/etcd_version_annotations.txt
index dc78d423e..a9228a661 100644
--- a/scripts/etcd_version_annotations.txt
+++ b/scripts/etcd_version_annotations.txt
@@ -456,6 +456,8 @@ mvccpb.KeyValue.lease: ""
 mvccpb.KeyValue.mod_revision: ""
 mvccpb.KeyValue.value: ""
 mvccpb.KeyValue.version: ""
+pb.GoFeatures: ""
+pb.GoFeatures.legacy_unmarshal_json_enum: ""
 walpb.Record: ""
 walpb.Record.crc: ""
 walpb.Record.data: ""

Along with the protobuf update, then make validate seems to run fine for me.

As suggested, I manually patched the suggested fix from running make verify, and committed the change!

Hopefully the new commit makes sense :)

Thank you @ivanvc !

@ahrtr
Copy link
Member

ahrtr commented May 9, 2024

As suggested, I manually patched the suggested fix from running make verify, and committed the change!

FYI. it's recommended to run make fix as mentioned above #17973 (comment)

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @henrybear327

Copy link
Member

@ivanvc ivanvc left a comment

Choose a reason for hiding this comment

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

/lgtm thanks, @henrybear327

@ahrtr ahrtr merged commit d14a247 into etcd-io:main May 9, 2024
43 of 44 checks passed
@henrybear327 henrybear327 deleted the dependency_update/5_6_24 branch May 9, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants