bazelbuild / intellij

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

TrustAwareProjectCreator should not show when REMOTE_DEV_TRUST_PROJECTS is set #6490

Closed brian-mcnamara closed 1 week ago

brian-mcnamara commented 3 weeks ago

Description of the bug:

For our remote development environment, we have been using REMOTE_DEV_TRUST_PROJECTS environment flag that is stated in remote-dev-server.sh (as part of IJ bundle). However we are now getting "Trust Project" dialogs at start due to https://github.com/bazelbuild/intellij/blob/master/base/src/com/google/idea/blaze/base/project/TrustAwareProjectCreator.java

This is unexpected since the REMOTE_DEV_TRUST_PROJECTS flag should trust projects

Which category does this issue belong to?

Intellij

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

This dialog appears when a new bazel project is opened for the first time.

Which Intellij IDE are you using? Please provide the specific version.

241.17890.1

What programming languages and tools are you using? Please provide specific versions.

N/A

What Bazel plugin version are you using?

2024.06.04.0.2-api-version-241

Have you found anything relevant by searching the web?

https://github.com/bazelbuild/intellij/blob/master/base/src/com/google/idea/blaze/base/project/TrustAwareProjectCreator.java

Any other information, logs, or outputs that you want to share?

N/A

brian-mcnamara commented 3 weeks ago

@mai93 FYI