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

Mitigate StartupActivity warnings #5760

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

ujohnny
Copy link
Collaborator

@ujohnny ujohnny commented Nov 22, 2023

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: <please reference the issue number or url here>

Description of this change

Since these startup activities do not require indexes we can make them DumbAware and the warning will not be shown. Advised path to migrate them to ProjectActivity is slightly challenging as it requires implementation of Kotlin suspend function in Java code and intellij has issues with bazel plugin indexing in this case. See https://youtrack.jetbrains.com/issue/IDEA-338613 for the details.

@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Nov 22, 2023
Since these startup activities do not require indexes
we can make them DumbAware and the warning will not be shown.
Advised path to migrate them to ProjectActivity is slightly
challenging as it requires implementation of Kotlin suspend function
in Java code and intellij has issues with bazel plugin indexing in this
case. See https://youtrack.jetbrains.com/issue/IDEA-338613 for the
details.
@tpasternak tpasternak merged commit 0e5a1ce into bazelbuild:master Nov 29, 2023
6 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Nov 29, 2023
sgowroji added a commit that referenced this pull request Dec 6, 2023
* Escape regex-relevant characters in test filter #5745
* Mitigate StartupActivity warnings #5760
sgowroji added a commit that referenced this pull request Dec 6, 2023
* Update CHANGELOG for 2023.12.05 release

* Update CHANGELOG with 2 more fixes.


* Escape regex-relevant characters in test filter #5745
* Mitigate StartupActivity warnings #5760

---------

Co-authored-by: Gowroji Sunil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
Development

Successfully merging this pull request may close these issues.

4 participants