JetBrains / teamcity-bazel-plugin

TeamCity plugin for Bazel build system
Apache License 2.0
14 stars 6 forks source link

Unsupported Bazel event types #36

Closed odisseus closed 1 month ago

odisseus commented 7 months ago

I'm seeing this message in my build logs:

[2024-01-19 10:24:25,746]   INFO - SEVERE: Unknown bazel event type: id {
[2024-01-19 10:24:25,746]   INFO -   27: {
[2024-01-19 10:24:25,746]   INFO -   }

Apparently, there are a few event types which have been added since 2019, and the plugin doesn't know about them.

odisseus commented 7 months ago

How do I add support for a new event type? Beside adding a new Protobuf definition, do I also need to add a new class that extends BazelContent, a new FooHandler in bazel.bazel.handlers, and a new entry in BazelEventConverter.handlers? That looks like a lot of boilerplate to me.

vmayushan commented 5 months ago

Hi!

As an example I have found these two commits: https://github.com/JetBrains/teamcity-bazel-plugin/commit/05538aad6cfb29a68f6dd0b64adbdf8c41283c94 and https://github.com/JetBrains/teamcity-bazel-plugin/commit/1e840c8f9b7a9f60c57e7dac9c7320013c927294

and indeed it looks like a lot of boilerplate