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(growth): route every product push change to growth review (#119858)

Rafael Audibert2b74f3b5a71c
diff --git a/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx b/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx
index b4ca9f6da35e..ad66c42a3466 100644
--- a/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx
+++ b/frontend/src/lib/components/NavPanelAdvertisement/NavPanelAdvertisement.tsx
@@ -12,6 +12,8 @@ import { NavPanelBroadcastAd } from './NavPanelBroadcastAd'
import { NavPanelProductPushAd } from './NavPanelProductPushAd'
import { navPanelProductPushLogic } from './navPanelProductPushLogic'
+// Growth owns this sidebar promotion slot and every card in it. Other teams must not add cards to the slot
+// or change which card wins it. Ask #team-growth to run a promotion for your product instead.
export function NavPanelAdvertisement(): JSX.Element | null {
const { activeCampaign } = useValues(navPanelProductPushLogic)
const { isLayoutNavCollapsed } = useValues(panelLayoutLogic)
diff --git a/frontend/src/lib/components/owners.yaml b/frontend/src/lib/components/owners.yaml
index 8f1f6ee37a40..12f97bf74af5 100644
--- a/frontend/src/lib/components/owners.yaml
+++ b/frontend/src/lib/components/owners.yaml
@@ -7,8 +7,10 @@ rules:
owners: team-web-analytics
- match: '/MarkdownNotebook/'
owners: team-data-tools
+ # Growth runs the sidebar promotion slot, so every change to it goes to Growth, however small.
- match: '/NavPanelAdvertisement/'
owners: team-growth
+ sensitive: true
- match: '/ProductEmptyState/'
owners: team-growth
- match: '/ReverseProxyChecker/'
diff --git a/products/growth/backend/product_push/owners.yaml b/products/growth/backend/product_push/owners.yaml
new file mode 100644
index 000000000000..19efbfbc3525
--- /dev/null
+++ b/products/growth/backend/product_push/owners.yaml
@@ -0,0 +1,4 @@
+version: 1
+owners: team-growth
+# Growth decides which products the sidebar promotion card pushes, so every change here goes to Growth, however small.
+sensitive: true
diff --git a/products/growth/backend/product_push/selection.py b/products/growth/backend/product_push/selection.py
index ee662a428ed8..5ef9ad5f2e9a 100644
--- a/products/growth/backend/product_push/selection.py
+++ b/products/growth/backend/product_push/selection.py
@@ -12,6 +12,10 @@ Usage granularity is per project: ProductIntent rows are project-scoped
"using" a product when a majority of its projects do. A product adopted by a
minority of projects still gets pushed to the rest of the org — the promo card
is hidden in the projects that already use it (see the API's team_id handling).
+
+Growth owns the product push program, including both product lists below. Other
+teams must not add, remove, or reorder products here. Ask #team-growth to run a
+push for your product instead.
"""
from collections import defaultdict