: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(cdp): remove the old posthog/cdp paths left after the move (#116171)
Harley Alexander86bb69aeebea
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.ymlindex f93da2e133e0..f06f7a146ff9 100644--- a/.github/workflows/ci-nodejs.yml+++ b/.github/workflows/ci-nodejs.yml@@ -131,7 +131,6 @@ jobs:- 'posthog/plugins/**'# 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.@@ -158,7 +157,6 @@ jobs:# the native addons every suite links, so no narrowed run can be trusted.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'diff --git a/.semgrep/rules/devex/no-init-reexports.yaml b/.semgrep/rules/devex/no-init-reexports.yamlindex 39cfa4221f50..e08b0b157d7a 100644--- a/.semgrep/rules/devex/no-init-reexports.yaml+++ b/.semgrep/rules/devex/no-init-reexports.yaml@@ -36,7 +36,6 @@ rules:- '**/admin/__init__.py' # Django admin- '**/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) ---diff --git a/nodejs/src/cdp/cdp-e2e.serial.test.ts b/nodejs/src/cdp/cdp-e2e.serial.test.tsindex 372f87c832b2..6e1f077fb977 100644--- a/nodejs/src/cdp/cdp-e2e.serial.test.ts+++ b/nodejs/src/cdp/cdp-e2e.serial.test.ts@@ -278,7 +278,7 @@ describe('CDP Consumer loop', () => {// Regression coverage for the production wire shape of an outgoing Kinesis// PutRecord. The pre-refactor Python template test- // (posthog/cdp/templates/aws_kinesis/test_template_aws_kinesis.py) asserted a+ // (products/cdp/backend/templates/aws_kinesis/test_template_aws_kinesis.py) asserted a// similar shape but ran against the Python Hog VM, whose `jsonStringify`// formats objects WITH spaces (`{"k": "v"}`). The Node Hog VM — what CDP// actually runs in production — formats WITHOUT spaces (`{"k":"v"}`), so thediff --git a/nodejs/src/cdp/managed-alert-events.ts b/nodejs/src/cdp/managed-alert-events.tsindex e7707d2649eb..191337f6cd60 100644--- a/nodejs/src/cdp/managed-alert-events.ts+++ b/nodejs/src/cdp/managed-alert-events.ts@@ -1,4 +1,4 @@-// Mirror of `posthog/cdp/internal_events.py`. The managed-alert event boundary and the legacy+// Mirror of `products/cdp/backend/internal_events.py`. The managed-alert event boundary and the legacy// insight-alert exemption must match the Python side exactly, so keep the two in sync.export const MANAGED_ALERT_EVENT_PATTERN =/^\$[a-z0-9_]+_alert_(firing|resolved|errored|auto_disabled|match|incident_opened|incident_closed)$/diff --git a/posthog/owners.yaml b/posthog/owners.yamlindex 2fabf2becbb0..41ee1aae5234 100644--- a/posthog/owners.yaml+++ b/posthog/owners.yaml@@ -3,8 +3,6 @@ owners: []rules:- match: '/caching/'owners: team-analytics-platform- - match: '/cdp/'- owners: team-workflows- match: '/clickhouse/hcl/'owners: clickhouse- match: