Repository navigation
feat(cli): name the add-on fix on add-on denials - #7841
Draft
pamelachia wants to merge 3 commits into
Draft
pamelachia wants to merge 3 commits into
pamelachia wants to merge 3 commits into
Conversation
This branch has not been deployed
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.
When the Management API denies a request because a project add-on is missing, it points
upgrade_urlat the project's add-ons page. The CLI still printed "Your organization's plan does not include this feature" and counted the denial as a plan suggestion. I made the hint and thecli_upgrade_suggestedevent follow whereupgrade_urlpoints.Changed:
upgrade_urlpoints at a project add-ons page, the CLI prints "This feature needs a project add-on. Add-ons: ". Every other URL keeps the current plan hint, so output against an API that only sends billing URLs is unchanged. JSON output is unchanged.fix_kindoncli_upgrade_suggested:addonorplan, read from the same URL, so add-on and plan denials can be counted separately./org/<slug>part, soorg_slugis empty on these events. When the error names no project, I attach the failure's events (cli_upgrade_suggestedandcli_command_executed) to the project group of the ref in the URL.Note: #7760 also edits the same hint and telemetry code. Whichever merges second needs a rebase.
Linear