Fix: Downgrade optional plugin dependency warning to a single info log (#21322)#21891
Fix: Downgrade optional plugin dependency warning to a single info log (#21322)#21891lazyfetch wants to merge 4 commits into
Conversation
opensearch-project#21322) Signed-off-by: Vedant Bothra <237130889+lazyfetch@users.noreply.github.com>
opensearch-project#21322) Signed-off-by: Vedant Bothra <237130889+lazyfetch@users.noreply.github.com>
PR Reviewer Guide 🔍(Review updated until commit 4e333fb)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 4e333fb Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 2c54bae
Suggestions up to commit d404403
|
|
❌ Gradle check result for d404403: 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? |
Signed-off-by: Vedant Bothra <237130889+lazyfetch@users.noreply.github.com>
|
Persistent review updated to latest commit 2c54bae |
|
❌ Gradle check result for 2c54bae: 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? |
… plugin Signed-off-by: Vedant Bothra <237130889+lazyfetch@users.noreply.github.com>
|
Persistent review updated to latest commit 4e333fb |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21891 +/- ##
============================================
- Coverage 73.51% 73.45% -0.07%
+ Complexity 75357 75268 -89
============================================
Files 6028 6026 -2
Lines 342003 341906 -97
Branches 49185 49181 -4
============================================
- Hits 251434 251143 -291
- Misses 70554 70751 +197
+ Partials 20015 20012 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Changed a multi-line
WARNlog to a singleINFOlog when an optional plugin is missing during startup. This prevents confusing, fragmented output and explicitly identifies the dependency as "optional", as requested by the maintainers.Taking this over with permission from @dzane17.
Related Issues
Resolves #21322
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.