Skip to content

Conversation

andrross
Copy link
Member

Prior to this change all settings updates would fail if archived settings were present, even when attempting to update unrelated settings. This change ignores archived settings when validating a settings update.

Related Issues

Resolves #8714
Resolves #18515

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.

Prior to this change all settings updates would fail if archived
settings were present, even when attempting to update unrelated
settings. This change ignores archived settings when validating a
settings update.

Signed-off-by: Andrew Ross <[email protected]>
@andrross andrross requested a review from a team as a code owner July 31, 2025 21:19
@github-actions github-actions bot added API Issues with external APIs bug Something isn't working distributed framework enhancement Enhancement or improvement to existing feature or request good first issue Good for newcomers Plugins labels Jul 31, 2025
Copy link
Contributor

❌ Gradle check result for 84be826: 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?

Copy link
Contributor

@jainankitk jainankitk left a comment

Choose a reason for hiding this comment

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

Thanks @andrross for addressing this long standing issue!

Copy link
Contributor

github-actions bot commented Aug 1, 2025

❌ Gradle check result for 84be826: 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?

Copy link
Contributor

github-actions bot commented Aug 1, 2025

❌ Gradle check result for 84be826: 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?

Copy link
Contributor

github-actions bot commented Aug 2, 2025

✅ Gradle check result for 3f3a245: SUCCESS

Copy link

codecov bot commented Aug 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.84%. Comparing base (9b22c9b) to head (3f3a245).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18885      +/-   ##
============================================
+ Coverage     72.77%   72.84%   +0.07%     
- Complexity    68690    68842     +152     
============================================
  Files          5582     5590       +8     
  Lines        315456   315809     +353     
  Branches      45778    45829      +51     
============================================
+ Hits         229568   230050     +482     
+ Misses        67290    67177     -113     
+ Partials      18598    18582      -16     

☔ 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 merged commit 173149a into opensearch-project:main Aug 4, 2025
33 of 34 checks passed
@andrross andrross deleted the ignore-archived-settings-on-update branch August 4, 2025 17:49
sunqijun1 pushed a commit to sunqijun1/OpenSearch that referenced this pull request Aug 5, 2025
Prior to this change all settings updates would fail if archived
settings were present, even when attempting to update unrelated
settings. This change ignores archived settings when validating a
settings update.

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: sunqijun.jun <[email protected]>
vinaykpud pushed a commit to vinaykpud/OpenSearch that referenced this pull request Sep 26, 2025
Prior to this change all settings updates would fail if archived
settings were present, even when attempting to update unrelated
settings. This change ignores archived settings when validating a
settings update.

Signed-off-by: Andrew Ross <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issues with external APIs bug Something isn't working distributed framework enhancement Enhancement or improvement to existing feature or request good first issue Good for newcomers Plugins
Projects
None yet
2 participants