Update ide.gradle to write --add-modules to .idea/compiler.xml.#19331
Update ide.gradle to write --add-modules to .idea/compiler.xml.#19331finnegancarroll wants to merge 2 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Finn Carroll <carrofin@amazon.com>
|
❌ Gradle check result for 7b69fd0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Edit - Fixed: |
|
❌ Gradle check result for 7b69fd0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❕ Gradle check result for 7b69fd0: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19331 +/- ##
============================================
- Coverage 72.88% 72.82% -0.07%
+ Complexity 69841 69793 -48
============================================
Files 5673 5673
Lines 320756 320756
Branches 46370 46370
============================================
- Hits 233796 233589 -207
- Misses 68102 68233 +131
- Partials 18858 18934 +76 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
❌ Gradle check result for 7b69fd0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 7b69fd0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 7b69fd0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
This PR is stalled because it has been open for 30 days with no activity. |
Description
I notice that IntelliJ will sometimes produce the error:
This appears to be the result of IntelliJ defaulting to its own test runner after a restart/update/cleared cache.
Settings -> Build, Execution, Deployment -> Build Tools -> Gradle will be set to:
"Build and run using: IntelliJ IDEA"
"Run tests using: Choose per test"
When setting these both to "Gradle" the error goes away as gradle is able to find the extra config option as set here:
https://github.com/opensearch-project/OpenSearch/blob/main/libs/common/build.gradle#L54-L57
However using the IntelliJ test runner does not honor the compiler option as configured in the above build.gradle. This change updates ide.gradle to inject this compiler option into
.idea/compiler.xml.Related Issues
N/A
Adding skip-changelog here as it's a dev QOL only change.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.