-
Notifications
You must be signed in to change notification settings - Fork 919
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
Move decideClient and decideLegacyClient to data source plugin util #7079
Conversation
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
0990188
to
4849bc8
Compare
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
4849bc8
to
bcdf2ac
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7079 +/- ##
=======================================
Coverage 67.45% 67.45%
=======================================
Files 3448 3448
Lines 67964 67964
Branches 11057 11057
=======================================
+ Hits 45845 45847 +2
+ Misses 19446 19444 -2
Partials 2673 2673
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
a891acd
to
2c9ea9f
Compare
@zhongnansu Thanks for refactoring the util! Could you take a look at the failed workflow when having time? |
Unit test in core -> ui_settings -> create_or_upgrade_saved_config.test.ts are failing, which is very weird, because I didn't touch any code there. Need to dive deep on this. Noticed that once I remove my change, this test can pass. And the error message is indicating module mock (doMock) is not working as expected.
Attach the failed CI: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/9639731291/job/26622985697?pr=7079 |
…n util Signed-off-by: Zhongnan Su <[email protected]>
2c9ea9f
to
24eb251
Compare
…n util (#7079) Signed-off-by: Zhongnan Su <[email protected]> (cherry picked from commit ddf1a41) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…n util (#7079) Signed-off-by: Zhongnan Su <[email protected]> (cherry picked from commit ddf1a41) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…n util (#7079) (#7138) (cherry picked from commit ddf1a41) Signed-off-by: Zhongnan Su <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
decideClient
anddecideLegacyClient
from data plugin to data source plugin util, and update the usageIssues Resolved
#6417
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration