-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): add telemetry cli commands #5322
Merged
Merged
Conversation
This file contains 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
No changes to documentation |
Component Testing Report Updated Dec 19, 2023 10:19 AM (UTC)
|
juice49
approved these changes
Dec 4, 2023
bjoerge
changed the title
Feat/telemetry cli commands
feat(cli): add telemetry cli commands
Dec 4, 2023
bjoerge
force-pushed
the
feat/telemetry
branch
from
December 7, 2023 10:59
ada7f73
to
58dc324
Compare
bjoerge
force-pushed
the
feat/telemetry-cli-commands
branch
from
December 7, 2023 11:02
b5be2f6
to
b35a8b0
Compare
bjoerge
force-pushed
the
feat/telemetry
branch
from
December 7, 2023 11:02
58dc324
to
96db8d5
Compare
bjoerge
force-pushed
the
feat/telemetry
branch
from
December 7, 2023 14:28
96db8d5
to
fb54b92
Compare
bjoerge
force-pushed
the
feat/telemetry-cli-commands
branch
from
December 11, 2023 12:27
f097e88
to
0e4508f
Compare
bjoerge
force-pushed
the
feat/telemetry
branch
from
December 11, 2023 12:32
fb54b92
to
7b214e6
Compare
bjoerge
force-pushed
the
feat/telemetry-cli-commands
branch
from
December 11, 2023 12:32
0e4508f
to
c52da31
Compare
This was referenced Dec 11, 2023
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
bjoerge
force-pushed
the
feat/telemetry-cli-commands
branch
from
December 11, 2023 12:47
c52da31
to
9b95329
Compare
Co-authored-by: Bjørge Næss <[email protected]>
For now, I have removed some tests that cannot easily be achieved. For example: there is no way to unset consent status via the API, and unfortunately, there isn't any easy way to mock HTTP requests (e.g. using Nock) for CLI tests (because they rely on spawning another process). This also limits our ability to simulate failed requests.
…y that depends on it
bjoerge
force-pushed
the
feat/telemetry-cli-commands
branch
from
December 19, 2023 10:15
5179e8d
to
e6c53e7
Compare
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
Adds three new CLI commands for managing telemetry consent, and also adds caching of telemetry consent status.
sanity telemetry status
– view consent statussanity telemetry disable
– disable telemetry by withdrawing consentsanity telemetry enable
– enable telemetry by granting consentIn addition:
What to review
Notes for release
TBD