mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +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:
@@ -3,6 +3,11 @@ name: Catalog Previews
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
@@ -4,6 +4,11 @@ permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
# `edited` is required so the workflow re-fires when a PR's base ref is
|
||||
|
||||
@@ -3,6 +3,11 @@ name: Docs
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
@@ -3,6 +3,11 @@ name: Player perf
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
@@ -3,6 +3,11 @@ name: preview-regression
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
@@ -3,6 +3,11 @@ name: regression
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
@@ -3,6 +3,11 @@ name: Windows render verification
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.
|
||||
# External users' CI continues to emit telemetry unless they set this themselves.
|
||||
env:
|
||||
HYPERFRAMES_NO_TELEMETRY: "1"
|
||||
|
||||
# Manually triggered smoke test that renders a HyperFrames composition on a
|
||||
# real Windows runner. Proves the PR #336 `where ffmpeg` fix actually works
|
||||
# end-to-end: FFmpeg is discovered natively on Windows, Chrome is installed
|
||||
|
||||
@@ -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