mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-08 10:46:06 +00:00
fix(cli): stop dropping CI/agent telemetry, suppress HeyGen CI at workflow level
The CI=true early-exit in shouldTrack() was hiding most modern usage (coding agents in Codespaces, CI pipelines, agent sandboxes). Remove it. Each event still carries is_ci/is_docker/is_tty from system.ts, so CI vs laptop traffic can be separated in PostHog without being dropped at ingestion. HeyGen's own CI is suppressed via HYPERFRAMES_NO_TELEMETRY=1 added to each workflow that exercises the CLI.
This commit is contained in:
@@ -40,11 +40,6 @@ export function shouldTrack(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (process.env["CI"] === "true" || process.env["CI"] === "1") {
|
||||
telemetryEnabled = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isDevMode()) {
|
||||
telemetryEnabled = false;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user