Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ci): name the products/cdp paths in the nodejs filter and init rule (#115422)

Harley Alexanderea4ede23cbd2
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.yml
index 596e3947233e..f93da2e133e0 100644
--- a/.github/workflows/ci-nodejs.yml
+++ b/.github/workflows/ci-nodejs.yml
@@ -132,6 +132,7 @@ jobs:
# Django reads this to decide which filter globals it accepts, and the only
# check that it still matches the runtime type is a jest test.
- 'posthog/cdp/filter_globals.json'
+ - 'products/cdp/backend/filter_globals.json'
# The tables that file is generated from. A standard-library change
# must run the parity test that shows the file went stale.
- 'common/hogvm/typescript/src/**'
@@ -158,6 +159,7 @@ jobs:
node_full:
# readFileSync, so jest cannot reach the parity test through --findRelatedTests.
- 'posthog/cdp/filter_globals.json'
+ - 'products/cdp/backend/filter_globals.json'
- 'common/hogvm/typescript/src/**'
- '.github/scripts/jest-retries.cjs'
- 'patches/[email protected]'
diff --git a/.semgrep/rules/devex/no-init-reexports.yaml b/.semgrep/rules/devex/no-init-reexports.yaml
index 62183375005b..39cfa4221f50 100644
--- a/.semgrep/rules/devex/no-init-reexports.yaml
+++ b/.semgrep/rules/devex/no-init-reexports.yaml
@@ -37,6 +37,7 @@ rules:
- '**/temporal/**' # Temporal worker wiring (activities/workflows)
# small reviewed registries
- 'posthog/cdp/templates/__init__.py'
+ - 'products/cdp/backend/templates/__init__.py'
- 'posthog/hogql/functions/__init__.py'
# --- grandfathered existing re-exports (ratchet baseline; not a backlog) ---
- 'common/hogvm/python/stl/__init__.py'