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

Protobuf warnings in console #56

Open
alexander-yevsyukov opened this issue Oct 5, 2022 · 1 comment
Open

Protobuf warnings in console #56

alexander-yevsyukov opened this issue Oct 5, 2022 · 1 comment
Labels
tech. debt What made us slow in dev?

Comments

@alexander-yevsyukov
Copy link
Contributor

The build of the mc-java-protoc contains the below warnings:

> Task :mc-java-protoc:test

`InterfaceGen` should > skip generation for types included in compilation but not requested to be generated STANDARD_ERROR
    Oct 05, 2022 7:32:48 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
    WARNING: The descriptor for message type ".spine.tools.protoc.msg.UserName" cannot be found and a placeholder is created for it

`InterfaceGen` should > not generate `UuidValue` insertion points for ineligible messages STANDARD_ERROR
    Oct 05, 2022 7:32:48 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
    WARNING: The descriptor for message type ".google.protobuf.Timestamp" cannot be found and a placeholder is created for it

Even though the root project applies ProtoData to all subprojects, descriptors does not seem to be generated under the build directory.

Applying buildSrc/.../ProtobufTaskExtensions.kt does not remove the warnings. Probably because desc.ref files are not added in the corresponding directories under the subproject.

The goal of this issue is to investigate the nature of warnings and address the cause.

@alexander-yevsyukov
Copy link
Contributor Author

@armiol, FYI.

@alexander-yevsyukov alexander-yevsyukov changed the title Protobuf warnings in Protobuf warnings in console Oct 23, 2022
@alexander-yevsyukov alexander-yevsyukov added the tech. debt What made us slow in dev? label Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech. debt What made us slow in dev?
Projects
None yet
Development

No branches or pull requests

1 participant