Repository navigation
Closed
Description
Understand how GitVersion's established CLI is used so maintainers can prioritize supported arguments and runtime environments for v7.0.
Add sampled usage telemetry with a published policy, clear first-run disclosure and straightforward opt-outs. Implementation: #5376.
Scope and acceptance criteria
- Collect only allowlisted option-presence flags, installed GitVersion version without branch/SHA metadata, bounded caller/container/OS distribution and version labels, CI build-agent classification, and sampling probability.
- Exclude raw arguments and values, paths, repository details, configuration values, calculated repository versions, persistent identities, and calculation outcomes or exit codes.
- Support opt-out through
--telemetry-opt-out,DO_NOT_TRACK=1, andGITVERSION_TELEMETRY_OPTOUT=1. Show the policy notice before sampling for direct invocations and before sending selected automated invocations. - Enable collection only in eligible official tagged release/prerelease builds with a valid public project key supplied through the GitHub Actions variable
GITVERSION_TELEMETRY_PROJECT_KEYand an automatically embedded UTC build date. Ordinary PR, fork, local and untagged builds remain disabled. Do not hardcode a real key in source or accept runtime key overrides. - Limit each eligible assembly's campaign to three calendar months. Cap sampling at 1% for direct runs and 0.01% for automated runs; bound delivery to 300 ms and 1 second respectively, without retries or changes to CLI output or exit codes.
- Use PostHog Cloud EU with client IP discard enabled, GeoIP paused and person processing disabled. Document public-key abuse limitations and provider processing transparently.
- Document all collected fields, how invocation/runtime sources are distinguished, activation, opt-outs and sampling interpretation. Derive dashboard weights from
sampling_probabilityrather than transmitting a separate weight. - Keep the legacy argument parser, experimental
new-cli, and in-process MSBuild tasks outside collection scope. Identify supported out-of-process GitVersion.MsBuild CLI invocations through the documented caller marker. - Cover eligibility, privacy boundaries, disclosure, sampling, delivery failures and CLI output/exit-code preservation with isolated tests.
Target release: v7.0 (7.0.x milestone). This issue does not authorize merging PR #5376 or changing telemetry/project settings.
Activity
github-actions commentedon Nov 17, 2026
🎉 This issue has been resolved in version 7.0.0 🎉
The release is available on:
Your GitReleaseManager bot 📦🚀