SP-1383: gate early-access commands behind feature flag, replace beta#393
Open
A. Jashari (admirjashari) wants to merge 6 commits into
Open
SP-1383: gate early-access commands behind feature flag, replace beta#393A. Jashari (admirjashari) wants to merge 6 commits into
A. Jashari (admirjashari) wants to merge 6 commits into
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Thomas Neumüller <t.neumueller@celonis.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Thomas Neumüller (tneum-celonis)
approved these changes
Jul 9, 2026
| @@ -0,0 +1,13 @@ | |||
| /** | |||
| * Backend feature-flag keys for early-access commands. | |||
Contributor
There was a problem hiding this comment.
could you clean up the excessive comments a bit? I'm not sure they're all useful, for example this one
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Gate early-access (non-GA) commands behind a backend feature flag. If a team runs a gated command that isn't enabled for them, they get a clear "not enabled — contact support" message instead of a generic 403.
Also consolidates the old
betamarker into a singleearlyAccess:earlyAccess(featureKey?)replacesbeta()/betaOption()— with a key it's gated at run time, without one it's just an internal marker.(beta)label anymore; early-access status is internal (nothing shown in--help)./api/team/featuresendpoint with the profile token (flag enabled = key present).deploymentcommands migrated to.earlyAccess()(ungated, behavior unchanged).Relevant links
Checklist