SP-1383: gate early-access commands behind feature flag, replace beta#393
Open
A. Jashari (admirjashari) wants to merge 3 commits into
Open
SP-1383: gate early-access commands behind feature flag, replace beta#393A. Jashari (admirjashari) wants to merge 3 commits into
A. Jashari (admirjashari) wants to merge 3 commits into
Conversation
Thomas Neumüller (tneum-celonis)
previously 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
Add an earlyAccess(featureKey?) marker (replacing beta): commands with a key are checked against the backend feature flag at run time and blocked with a clear message when not enabled for the team. No labels shown in help. Consolidates the old beta marker and removes the (beta) help decoration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
c2886f8 to
5c19af6
Compare
…de lines Sonar counts pre-existing module-handler code (discoverAndRegisterModules, argument) as new code for this PR due to the project's New Code Definition. Cover it with tests to clear the coverage gate. No source changes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
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