SP-1383: gate early-access commands behind feature flag, replace beta#393
Open
A. Jashari (admirjashari) wants to merge 1 commit into
Open
SP-1383: gate early-access commands behind feature flag, replace beta#393A. Jashari (admirjashari) wants to merge 1 commit into
A. Jashari (admirjashari) wants to merge 1 commit into
Conversation
Thomas Neumüller (tneum-celonis)
previously approved these changes
Jul 9, 2026
A. Jashari (admirjashari)
force-pushed
the
SP-1383-early-access-feature-flag
branch
from
July 13, 2026 16:14
c2886f8 to
5c19af6
Compare
Jing Sun (kuvia)
previously approved these changes
Jul 14, 2026
|
|
||
| public register(context: Context, configurator: Configurator): void { | ||
| const deploymentCommand = configurator.command("deployment").beta() | ||
| const deploymentCommand = configurator.command("deployment").earlyAccess() |
Contributor
There was a problem hiding this comment.
FYI, the deployment feature is GA, so this beta() marker was already a leftover, and moving it off here is the right cleanup. One thing still hanging around: docs/user-guide/deployment-commands.md is titled "Deployment Commands (beta)", so the docs and the CLI now disagree. We know fully removing the beta tag isn't the point of this PR, so feel free to leave it for a followup PR if it's too much hassle to fold in here.
A. Jashari (admirjashari)
force-pushed
the
SP-1383-early-access-feature-flag
branch
from
July 20, 2026 12:03
b0ddbc7 to
95d762b
Compare
|
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