Skip to content

cli: aggregate run ping to suite telemetry - #401

Merged
0thernet merged 4 commits into
mainfrom
task/cli-telemetry
Sep 26, 2026
Merged

0thernet merged 4 commits into
mainfrom
task/cli-telemetry

Conversation

@0thernet

Copy link
Copy Markdown
Member

One bounded POST per CLI invocation reports {cli, version} to the Accounts telemetry ingress plus a locally minted install token (~/.config/hraness/telemetry-install, mode 0600) for daily-active counting. No arguments, paths, account data, or output ever leave the machine.

  • Transport is an unref'd TLS socket — telemetry never holds the event loop, delays an exit, or alters output/exit status; a dropped ping is acceptable since the signal is aggregate
  • HRANESS_TELEMETRY=off or GHOSTGET_TELEMETRY=off disables it; nested CLI depth (>0) never pings
  • Documented in --help under a new Telemetry section

Companion: hraness/accounts#120 ingress + outbox, hraness/algal#139 same convention. Remaining published CLIs (soundfish, xcb-compat, wordcell) follow the same shape in their own release lanes.

Test plan

  • bun src/cli.ts --version / --help render Telemetry section
  • opt-out env returns immediately without a socket
  • src/cli.test.ts results identical to origin/main baseline (3 pre-existing environmental fails on a saturated box)

Generated with Devin

@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ghostget Ready Ready Preview Sep 26, 2026 8:44pm UTC

Request Review

One bounded POST per invocation reports {cli, version} to the Accounts
telemetry ingress on an unref socket so telemetry never holds the
process, blocks an exit, or changes a result. A locally minted
install token joins daily-active counting; HRANESS_TELEMETRY or
GHOSTGET_TELEMETRY=off opts out. Documented in --help.
@0thernet
0thernet merged commit 99ad000 into main Sep 26, 2026
27 checks passed
@0thernet
0thernet deleted the task/cli-telemetry branch September 26, 2026 21:13

This branch was successfully deployed

1 active deployment
Preview — 2187e701 Deployed Sep 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant