Repository navigation
MS-2371: telemetry parity with the Node CLI; PyPI package meetstream-cli - #5
Merged
Merged
Conversation
- Anonymous cli_command_run event (command, version, OS, arch, hashed id), same as @meetstream/cli 0.x; MEETSTREAM_TELEMETRY=0 or DO_NOT_TRACK=1 turns it off; never sent from tests; waits at most 800 ms at exit - PyPI name: meetstream-cli (the name meetstream belongs to another project); the command stays meetstream - README: package managers first, telemetry section Co-Authored-By: Claude Opus 5.5 <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.
What
cli_command_runper command: command name and path, version, OS, CPU, hashed computer id. The same event and the same PostHog project as@meetstream/cli0.x, with the same anonymous id formula, so one computer keeps one id across both CLIs.MEETSTREAM_TELEMETRY=0orDO_NOT_TRACK=1. Never sent fromgo test. Sent in the background; exit waits at most 800 ms.meetstream-cli(wheelmeetstream_cli-*). The namemeetstreamon PyPI belongs to an unrelated project (0.1.0, Sep 2025). The command is stillmeetstream. A PEP 541 request for the name follows separately.Why
Sid's decisions for v1.0.0 (23 Nov): keep the Node CLI's telemetry; publish on PyPI as meetstream-cli now.
How
internal/telemetry(stdlib only), hooked in the rootPersistentPreRun;Executewaits for it.scripts/pack.pymetadata and file names.Testing
go test ./...andgo vet(alsoGOOS=windows go vet ./...): pass.{"status":"Ok"}).🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.