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

[Backport 2.12] system error handling #2051

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport c2a1d82 from #1893

* system error handling

Signed-off-by: Jing Zhang <jngz@amazon.com>

* remove NullPointerException from client error

Signed-off-by: Jing Zhang <jngz@amazon.com>

* replace jsonobject with ObjectMapper

Signed-off-by: Jing Zhang <jngz@amazon.com>

* add more UT

Signed-off-by: Jing Zhang <jngz@amazon.com>

* fix format issue

Signed-off-by: Jing Zhang <jngz@amazon.com>

* spotless

Signed-off-by: Jing Zhang <jngz@amazon.com>

---------

Signed-off-by: Jing Zhang <jngz@amazon.com>
(cherry picked from commit c2a1d82)
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (e4848de) 82.58% compared to head (3402cae) 82.51%.

Files Patch % Lines
...va/org/opensearch/ml/rest/RestMLExecuteAction.java 68.75% 4 Missing and 1 partial ⚠️
...va/org/opensearch/ml/utils/error/ErrorMessage.java 95.23% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.12    #2051      +/-   ##
============================================
- Coverage     82.58%   82.51%   -0.07%     
- Complexity     5583     5586       +3     
============================================
  Files           540      542       +2     
  Lines         22473    22516      +43     
  Branches       2289     2293       +4     
============================================
+ Hits          18559    18579      +20     
- Misses         2985     3002      +17     
- Partials        929      935       +6     
Flag Coverage Δ
ml-commons 82.51% <88.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ylwu-amzn ylwu-amzn merged commit d59a72b into 2.12 Feb 8, 2024
8 of 13 checks passed
@github-actions github-actions bot deleted the backport/backport-1893-to-2.12 branch February 8, 2024 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants