Skip to content

Conversation

@andrross
Copy link
Member

The deprecated versions of this method take a type parameter, support for which was removed back in 2.0. The parameter is not used. I have kept the deprecated methods so as to not break downstream components that may be using them but changed all the code in server to stop passing in a type parameter.

Check List

  • Functionality includes testing.

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.

@github-actions
Copy link
Contributor

❌ Gradle check result for 98664e1: 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?

@github-actions
Copy link
Contributor

❌ Gradle check result for 98664e1: 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?

@gaobinlong
Copy link
Contributor

❌ Gradle check result for 98664e1: 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?

Seems org.opensearch.index.mapper.size.SizeMappingTests.testSizeNotSet is flaky.

@andrross
Copy link
Member Author

❌ Gradle check result for 98664e1: 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?

Seems org.opensearch.index.mapper.size.SizeMappingTests.testSizeNotSet is flaky.

Previously the code was passing an empty string array as a simple mapping and the new code is passing null in the XContentBuilder argument position. It turns out those are not quite the same. I'll push a fix.

@andrross andrross force-pushed the deprecated-test-create-index branch from 98664e1 to 75c4f47 Compare May 29, 2025 22:31
@github-actions
Copy link
Contributor

❌ Gradle check result for 75c4f47: 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?

@github-actions
Copy link
Contributor

❌ Gradle check result for 75c4f47: null

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?

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Jul 28, 2025
The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
@andrross andrross force-pushed the deprecated-test-create-index branch from 75c4f47 to f30c5a8 Compare August 11, 2025 21:15
@github-actions
Copy link
Contributor

✅ Gradle check result for f30c5a8: SUCCESS

@codecov
Copy link

codecov bot commented Aug 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.88%. Comparing base (64da5f1) to head (f30c5a8).
⚠️ Report is 59 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18389      +/-   ##
============================================
- Coverage     72.91%   72.88%   -0.03%     
+ Complexity    69391    69358      -33     
============================================
  Files          5645     5645              
  Lines        318789   318789              
  Branches      46126    46126              
============================================
- Hits         232442   232348      -94     
- Misses        67551    67691     +140     
+ Partials      18796    18750      -46     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrross andrross removed the stalled Issues that have stalled label Aug 13, 2025
@andrross
Copy link
Member Author

@gaobinlong Can you take another look?

Copy link
Contributor

@gaobinlong gaobinlong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gaobinlong gaobinlong merged commit f3632f1 into opensearch-project:main Aug 28, 2025
32 checks passed
atris pushed a commit to atris/OpenSearch that referenced this pull request Aug 28, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
pranikum pushed a commit to pranikum/OpenSearch that referenced this pull request Sep 4, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
kh3ra pushed a commit to kh3ra/OpenSearch that referenced this pull request Sep 5, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
jainankitk pushed a commit to jainankitk/OpenSearch that referenced this pull request Sep 22, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
jainankitk pushed a commit to jainankitk/OpenSearch that referenced this pull request Sep 22, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Ankit Jain <jainankitk@apache.org>
jainankitk pushed a commit to jainankitk/OpenSearch that referenced this pull request Sep 22, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Ankit Jain <jainankitk@apache.org>
asimmahmood1 pushed a commit to jainankitk/OpenSearch that referenced this pull request Sep 23, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
vinaykpud pushed a commit to vinaykpud/OpenSearch that referenced this pull request Sep 26, 2025
…-project#18389)

The deprecated versions of this method take a type parameter, support
for which was removed back in 2.0. The parameter is not used. I have
kept the deprecated methods so as to not break downstream components
that may be using them but changed all the code in server to stop
passing in a type parameter.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants