Skip to content

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

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

kaituo 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 993f106 to 614e59f 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 614e59f)

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 614e59f

@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 81.06%. Comparing base (4bfa458) to head (614e59f).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #1778   +/-   ##
=========================================
  Coverage     81.06%   81.06%           
+ Complexity     6681     6677    -4     
=========================================
  Files           556      556           
  Lines         27267    27267           
  Branches       2898     2898           
=========================================
  Hits          22105    22105           
  Misses         3694     3694           
  Partials       1468     1468           
Flag Coverage Δ
plugin 81.06% <ø> (ø)
plugin_integtest 51.98% <ø> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Persistent review updated to latest commit 614e59f

@kaituo
kaituo merged commit ceb4b8f into opensearch-project:main Sep 16, 2026
79 of 81 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