Skip to content

vendor: github.com/containerd/typeurl v2.2.3#48827

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:bump_typeurl
Nov 7, 2024
Merged

vendor: github.com/containerd/typeurl v2.2.3#48827
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:bump_typeurl

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Nov 6, 2024

  • add a no_gogo build-tag to allow compiling without support for gogoproto (github.com/gogo/protobuf)
  • fix panic when type is not found and no handler is hit.

full diff: containerd/typeurl@v2.2.0...v2.2.3

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Copy Markdown
Member Author

@cpuguy83 looking at your PR; I think for containerd 1.7 we still need it, correct?

Since containerd is not using gogo anymore it seems like we should remove the depenency on gogo here since gogo is a fairly large dependency and is also unmaintained.

@thaJeztah thaJeztah self-assigned this Nov 6, 2024
@thaJeztah
Copy link
Copy Markdown
Member Author

@thaJeztah thaJeztah marked this pull request as draft November 7, 2024 01:50
@thaJeztah thaJeztah changed the title vendor: github.com/containerd/typeurl v2.2.2 vendor: github.com/containerd/typeurl v2.2.3 Nov 7, 2024
- add a `no_gogo` build-tag to allow compiling without support for gogoproto (github.com/gogo/protobuf)
- fix panic when type is not found and no handler is hit.
- fix unmarshalling of registered types

full diff: containerd/typeurl@v2.2.0...v2.2.3

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah marked this pull request as ready for review November 7, 2024 08:26
@@ -0,0 +1,68 @@
//go:build !no_gogo
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

looking at your PR; I think for containerd 1.7 we still need it, correct?

FWIW; Yesterday I accidentally first pushed this PR and forgot to stage the new _gogo.go files. CI was happy with those missing, so it looks indeed that (now that BuildKit no longer uses gogo) we don't need the gogo support.

I can open a follow-up PR to add the no_gogo build-tag (also in our packaging repositories); I didn't want to stash that in this PR together with the other changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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.

2 participants