Skip to content

feat: enable telemetry by default for interactive sessions - #1

Merged
jwmoss merged 1 commit into
mainfrom
feat/telemetry-default-on
Sep 12, 2026
Merged

jwmoss merged 1 commit into
mainfrom
feat/telemetry-default-on

Conversation

@jwmoss

@jwmoss jwmoss commented Sep 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Telemetry is on by default for interactive sessions. CI and agent sessions still send nothing unless DATATF_TELEMETRY=1 is set.
  • DO_NOT_TRACK, DATATF_TELEMETRY=0, and datatf telemetry disable still opt out. Invalid consent files still fail closed.
  • Interactive inventory and export commands print a one-line stderr notice with the notice link until the user saves a preference. --json, --plain, and --quiet suppress it.
  • Changelog entry for 1.0.3.

Test plan

  • make check
  • New regression test TestTelemetryNoticeUntilPreferenceSaved
  • zizmor .github/workflows/*.yml clean
  • Manual: datatf telemetry status in a fresh HOME reports enabled: true (default)

Telemetry stays off in CI and agent sessions, with DO_NOT_TRACK,
DATATF_TELEMETRY=0, or a saved disable preference. Interactive
inventory and export commands print a one-line notice on stderr until
the user saves a preference.
@jwmoss
jwmoss merged commit 3d5333a into main Sep 12, 2026
2 checks passed
@jwmoss
jwmoss deleted the feat/telemetry-default-on branch September 12, 2026 01:00
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