bufbuild / intellij-buf

IntelliJ plugin for Buf
https://plugins.jetbrains.com/plugin/19147-buf-for-protocol-buffers
Apache License 2.0
17 stars 2 forks source link

Fix logging of expected exit codes #216

Closed pkwarren closed 4 months ago

pkwarren commented 4 months ago

Both the lint and breaking change command are expected to return exit code 100 when issues are found. Update the logging to omit logging these cases so we only log warnings if a real failure occurs trying to run the Buf CLI.

Additionally, add a comment regarding file-level lint warnings (which are currently unsupported).

github-actions[bot] commented 4 months ago

Qodana Community for JVM

4 new problems were found

Inspection name Severity Problems
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 🔶 Warning 2
Unstable API Usage 🔶 Warning 2

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report To be able to view the detailed Qodana report, you can either: - Register at [Qodana Cloud](https://qodana.cloud/) and [configure the action](https://github.com/jetbrains/qodana-action#qodana-cloud) - Use [GitHub Code Scanning with Qodana](https://github.com/jetbrains/qodana-action#github-code-scanning) - Host [Qodana report at GitHub Pages](https://github.com/JetBrains/qodana-action/blob/3a8e25f5caad8d8b01c1435f1ef7b19fe8b039a0/README.md#github-pages) - Inspect and use `qodana.sarif.json` (see [the Qodana SARIF format](https://www.jetbrains.com/help/qodana/qodana-sarif-output.html#Report+structure) for details) To get `*.log` files or any other Qodana artifacts, run the action with `upload-result` option set to `true`, so that the action will upload the files as the job artifacts: ```yaml - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2024.1.4 with: upload-result: true ```
Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions