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(cdp): require workflows review on the cdp api, models and worker (#87095)

Daniel Marchuk9a189cebdee4
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index c4b017638ece..b77252406f7a 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -74,3 +74,26 @@ products/mcp_store/backend/catalog.py @PostHog/team-self-driving @cvolzer3
# `hogli product:bootstrap` scaffolds a sealed product, so a new one should never need an
# entry. Removals are the mechanical result of a product sealing and are a rubber stamp.
products/isolation_baseline.txt @PostHog/team-devex
+
+# Workflows owns CDP, Workflows and Messaging, and the entries below gate the parts
+# where another team's change breaks a customer silently: the API and models decide
+# which of a tenant's rows get listed and updated, and the plugin-server worker
+# decides what gets delivered. Other teams edit these as a side effect of shipping
+# their own product, usually by carving out an exception so their own rows behave
+# differently, and nothing errors when they get it wrong: their tests still pass, and
+# existing customer configurations just stop appearing, or stop being delivered.
+# #66355 did that, and it took #83993, #86202 and #86614 to unwind. Product frontends
+# stay out, because a mistake there is visible rather than silent.
+products/cdp/backend/api/** @PostHog/team-workflows
+products/cdp/backend/models/** @PostHog/team-workflows
+products/workflows/backend/api/** @PostHog/team-workflows
+products/workflows/backend/models/** @PostHog/team-workflows
+products/messaging/backend/api/** @PostHog/team-workflows
+products/messaging/backend/models/** @PostHog/team-workflows
+nodejs/src/cdp/** @PostHog/team-workflows
+# ...except the tests beside those gates. Nothing else under the worker is exempt:
+# the template, legacy-plugin, legacy-webhook and segment directories all hold live
+# delivery code and mutable registries, so an edit there can redirect a customer's
+# events and the credentials that go with them.
+products/*/backend/api/test/**
+nodejs/src/cdp/**/*.test.ts