Skip to content

Ensure feature flags from opensearch.yml are set prior to plugin initialization #18432

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

jngz-es
Copy link
Contributor

@jngz-es jngz-es commented Jun 4, 2025

Description

Ensure feature flags from opensearch.yml are valid during plugin initialization.

Related Issues

#18417

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@jngz-es jngz-es requested a review from a team as a code owner June 4, 2025 02:25
Copy link
Contributor

github-actions bot commented Jun 4, 2025

❌ Gradle check result for 65e7d42: 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 Jun 5, 2025

✅ Gradle check result for 65e7d42: SUCCESS

Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.63%. Comparing base (d52cefa) to head (65e7d42).
Report is 17 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18432      +/-   ##
============================================
- Coverage     72.74%   72.63%   -0.11%     
+ Complexity    67767    67699      -68     
============================================
  Files          5497     5499       +2     
  Lines        311815   311865      +50     
  Branches      45261    45271      +10     
============================================
- Hits         226822   226518     -304     
- Misses        66504    66827     +323     
- Partials      18489    18520      +31     

☔ 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.

@rishabhmaurya rishabhmaurya changed the title bug fix 18417 Ensure feature flags from opensearch.yml are set prior to plugin initialization Jun 5, 2025
@rishabhmaurya rishabhmaurya merged commit 6ad6f4e into opensearch-project:main Jun 5, 2025
36 of 39 checks passed
@@ -525,6 +525,10 @@ protected Node(final Environment initialEnvironment, Collection<PluginInfo> clas
);
}

// Ensure feature flags from opensearch.yml are valid during plugin initialization.
// Bug fix: https://github.com/opensearch-project/OpenSearch/issues/18417
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick, but the commit message/PR description is the right place for this type of context. Unless it's a TODO or some other exception case we don't need to be adding issue links for code modifications.

Gagan6164 pushed a commit to Gagan6164/OpenSearch that referenced this pull request Jun 8, 2025
Gagan6164 pushed a commit to Gagan6164/OpenSearch that referenced this pull request Jun 8, 2025
abhita pushed a commit to abhita/OpenSearch that referenced this pull request Jun 9, 2025
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
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.

5 participants