bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
757 stars 298 forks source link

Propagate unsuccessful build status to UI #6440

Open kusaeva opened 2 months ago

kusaeva commented 2 months ago

Description of the issue. Please be specific.

Now if I sync project with some non-compiling targets the sync results are always shown green in UI

Screen Shot 2024-05-20 at 14 36 01

It is not very convenient to find what is wrong and where especially when having multiple shards

It will be great to see red exclamation mark near the unsuccessful shard, is it possible?

What's the simplest set of steps to reproduce this issue? Please provide an example project, if possible.

Example project: https://github.com/kusaeva/ij-examples/tree/build-failed Run Sync in Idea, see that status icons are all green.

Version information

IdeaCommunity: 2024.1.1 Platform: Mac OS X 12.7.3 Bazel for IntelliJ plugin: 2024.04.23.0.1-api-version-241 Bazel: 7.1.2

kusaeva commented 2 weeks ago

Hey, @tpasternak! I propose such UI change when building one of the shards was failed:

Screen Shot 2024-07-01 at 22 19 34

Commit with changes https://github.com/bazelbuild/intellij/commit/35f8ec198c25c5abe97a2eea9ab002ca3524942b

If it is ok for you, I will publish PR