Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

# CI is not a user. Without this, executor's own product telemetry reports to the
# production PostHog project from every e2e shard: the analytics layer
# (integration_added, execution_completed, artifact_*) and the
# integrations-registry fetch, which lands as a `hit` event. Each shard is a
# fresh container, so it mints a fresh anonymous id and arrives on a fresh
# runner IP — inflating machine and user counts by roughly an order of
# magnitude. Both opt-outs are the packages' documented CI/test hooks.
env:
DO_NOT_TRACK: "1"
EXECUTOR_DISABLE_ANALYTICS: "1"
EXECUTOR_DISABLE_INTEGRATIONS_FETCH: "1"

jobs:
changes:
name: Changed paths
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/publish-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ concurrency:
group: publish-desktop-${{ github.ref }}
cancel-in-progress: false

# CI is not a user. Without this, executor's own product telemetry reports to the
# production PostHog project from every e2e shard: the analytics layer
# (integration_added, execution_completed, artifact_*) and the
# integrations-registry fetch, which lands as a `hit` event. Each shard is a
# fresh container, so it mints a fresh anonymous id and arrives on a fresh
# runner IP — inflating machine and user counts by roughly an order of
# magnitude. Both opt-outs are the packages' documented CI/test hooks.
env:
DO_NOT_TRACK: "1"
EXECUTOR_DISABLE_ANALYTICS: "1"
EXECUTOR_DISABLE_INTEGRATIONS_FETCH: "1"

jobs:
build:
permissions:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/publish-selfhost-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ concurrency:
group: publish-selfhost-docker-${{ inputs.tag }}
cancel-in-progress: false

# CI is not a user. Without this, executor's own product telemetry reports to the
# production PostHog project from every e2e shard: the analytics layer
# (integration_added, execution_completed, artifact_*) and the
# integrations-registry fetch, which lands as a `hit` event. Each shard is a
# fresh container, so it mints a fresh anonymous id and arrives on a fresh
# runner IP — inflating machine and user counts by roughly an order of
# magnitude. Both opt-outs are the packages' documented CI/test hooks.
env:
DO_NOT_TRACK: "1"
EXECUTOR_DISABLE_ANALYTICS: "1"
EXECUTOR_DISABLE_INTEGRATIONS_FETCH: "1"

jobs:
metadata:
runs-on: blacksmith-4vcpu-ubuntu-2404
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false

# CI is not a user. Without this, executor's own product telemetry reports to the
# production PostHog project from every e2e shard: the analytics layer
# (integration_added, execution_completed, artifact_*) and the
# integrations-registry fetch, which lands as a `hit` event. Each shard is a
# fresh container, so it mints a fresh anonymous id and arrives on a fresh
# runner IP — inflating machine and user counts by roughly an order of
# magnitude. Both opt-outs are the packages' documented CI/test hooks.
env:
DO_NOT_TRACK: "1"
EXECUTOR_DISABLE_ANALYTICS: "1"
EXECUTOR_DISABLE_INTEGRATIONS_FETCH: "1"

jobs:
release:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions packages/core/integrations-registry/src/registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ describe("IntegrationsRegistry", () => {
Effect.provide(
integrationsRegistryLayer({
userAgent: TEST_USER_AGENT,
// Pinned: this case asserts the fetch happens, so it must not
// inherit an ambient DO_NOT_TRACK / EXECUTOR_DISABLE_INTEGRATIONS_FETCH
// (CI sets both). Mirrors the analytics package's test config.
disabled: false,
cacheDir,
url: "https://integrations.test/api.json",
}).pipe(Layer.provide(httpLayer), Layer.provide(NodeFileSystem.layer)),
Expand Down Expand Up @@ -164,6 +168,10 @@ describe("IntegrationsRegistry", () => {
Effect.provide(
integrationsRegistryLayer({
userAgent: TEST_USER_AGENT,
// Pinned: this case asserts the fetch happens, so it must not
// inherit an ambient DO_NOT_TRACK / EXECUTOR_DISABLE_INTEGRATIONS_FETCH
// (CI sets both). Mirrors the analytics package's test config.
disabled: false,
cacheDir,
url: "https://integrations.test/api.json",
}).pipe(Layer.provide(httpLayer), Layer.provide(NodeFileSystem.layer)),
Expand Down
Loading