Skip to content

Disable product telemetry in CI - #1701

Merged
RhysSullivan merged 1 commit into
mainfrom
ci/disable-product-telemetry
Aug 20, 2026
Merged

Disable product telemetry in CI#1701
RhysSullivan merged 1 commit into
mainfrom
ci/disable-product-telemetry

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

CI reports to the production PostHog project from every e2e shard. Each shard is a fresh container, so it mints a fresh anonymous analytics id (<dataDir>/analytics-id) and arrives on a fresh Blacksmith runner IP.

Effect on 2026-08-18, after #1644 took the e2e matrix from 11 to 26 runners:

  • Active machines per day read 896 for the CLI surface; 503 of those were runner IPs from Blacksmith's 192.240.192.0/18. Real number was 393.
  • CI was ~96% of all integration_added events (8,092 of ~8,400) and 892 of the 1,019 reported users.

Both opt-outs already existed and are documented as CI/test hooks; nothing set them. This sets DO_NOT_TRACK, EXECUTOR_DISABLE_ANALYTICS and EXECUTOR_DISABLE_INTEGRATIONS_FETCH at the top level of the four workflows that execute product code (ci, publish-selfhost-docker, publish-desktop, release).

Two registry tests asserted that the fetch happens while omitting disabled, so they inherited the new ambient flags and failed. Pinned disabled: false in both, matching how the analytics package's test config already does it. Verified green with and without the env set.

No e2e scenario depends on the remote catalog — update-endpoint.test.ts explicitly tolerates an unreachable registry.

CI reports to the production PostHog project from every e2e shard. Each
shard is a fresh container, so it mints a fresh anonymous analytics id and
arrives on a fresh runner IP, which inflates machine and user counts.

Set DO_NOT_TRACK, EXECUTOR_DISABLE_ANALYTICS and
EXECUTOR_DISABLE_INTEGRATIONS_FETCH on the workflows that execute product
code. Pin disabled: false in the two registry tests that assert the fetch
happens, so they do not inherit the ambient flags.
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 407a959 Aug 20 2026, 03:20 PM

@pkg-pr-new

pkg-pr-new Bot commented Aug 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1701

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1701

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1701

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1701

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1701

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1701

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1701

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1701

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1701

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1701

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1701

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1701

executor

npm i https://pkg.pr.new/executor@1701

commit: 407a959

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 407a959 Commit Preview URL

Branch Preview URL
Aug 20 2026, 03:20 PM

@RhysSullivan
RhysSullivan marked this pull request as ready for review August 20, 2026 15:25
@RhysSullivan
RhysSullivan merged commit 9e7afaf into main Aug 20, 2026
44 checks passed
@RhysSullivan
RhysSullivan deleted the ci/disable-product-telemetry branch August 20, 2026 15:26
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