Skip to content

Rename resource sharing feature flag to the non-experimental key - #1482

Merged
ohltyler merged 1 commit into
opensearch-project:mainfrom
DarshitChanpura:graduate/resource-sharing-non-experimental
Sep 16, 2026
Merged

ohltyler merged 1 commit into
opensearch-project:mainfrom
DarshitChanpura:graduate/resource-sharing-non-experimental

Conversation

@DarshitChanpura

@DarshitChanpura DarshitChanpura commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Description

Resource sharing graduates out of experimental in opensearch-project/security#6348, which drops the experimental. segment from the feature-flag settings with no deprecated fallback:

Before After
plugins.security.experimental.resource_sharing.enabled plugins.security.resource_sharing.enabled
plugins.security.experimental.resource_sharing.protected_types plugins.security.resource_sharing.protected_types

Updates the integTest cluster settings in build.gradle to the new keys.

Only the setting strings change. The ConfigConstants constant names (OPENSEARCH_RESOURCE_SHARING_ENABLED, OPENSEARCH_RESOURCE_SHARING_PROTECTED_TYPES) are unchanged, so no Java/Kotlin references are affected. The gradle -Dresource_sharing.enabled system property that gates the resource-sharing CI matrix is a separate toggle and is left as is.

Because the rename has no fallback, the security integTest jobs here will fail to start a node (unknown setting [plugins.security.resource_sharing.enabled]) until a new 3.9 security snapshot publishes. Security PR 6348 is merged, so that republish is the only remaining gate; this needs to land in 3.9 with it.

Related Issues

Companion to opensearch-project/security#6348. Related to opensearch-project/security#4500

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Resource sharing graduates out of experimental in
opensearch-project/security#6348, which drops the experimental. segment
from the feature-flag settings with no deprecated fallback:

  plugins.security.experimental.resource_sharing.enabled
    -> plugins.security.resource_sharing.enabled
  plugins.security.experimental.resource_sharing.protected_types
    -> plugins.security.resource_sharing.protected_types

Updates the integTest cluster settings to the new keys.

Only the setting strings change. The ConfigConstants constant names
(OPENSEARCH_RESOURCE_SHARING_ENABLED, OPENSEARCH_RESOURCE_SHARING_PROTECTED_TYPES)
are unchanged, so no Java/Kotlin references are affected. The gradle
-Dresource_sharing.enabled system property that gates the CI matrix is a
separate toggle and is left as is.

Verified no occurrence of the old key remains anywhere in the repo.

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
@DarshitChanpura
DarshitChanpura force-pushed the graduate/resource-sharing-non-experimental branch from 0e057f0 to f202aba Compare September 15, 2026 21:14
@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

(Review updated until commit f202aba)

Here are some key observations to aid the review process:

🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions

Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit f202aba

@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.55%. Comparing base (8d82827) to head (f202aba).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1482   +/-   ##
=========================================
  Coverage     78.55%   78.55%           
  Complexity     1315     1315           
=========================================
  Files           106      106           
  Lines          6048     6048           
  Branches        647      647           
=========================================
  Hits           4751     4751           
  Misses         1006     1006           
  Partials        291      291           

☔ View full report in Codecov by Harness.
📢 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.

@github-actions

Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit f202aba

@ohltyler
ohltyler merged commit 38e541d into opensearch-project:main Sep 16, 2026
80 of 84 checks passed
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.

2 participants