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(data-warehouse): narrow dagster path filter for warehouse_sources (#72011)

Tom Owerse19dd16876bf
diff --git a/.github/workflows/ci-dagster.yml b/.github/workflows/ci-dagster.yml
index 3130087bc8a7..4f9d0581fd44 100644
--- a/.github/workflows/ci-dagster.yml
+++ b/.github/workflows/ci-dagster.yml
@@ -138,7 +138,15 @@ jobs:
- 'products/cohorts/backend/**/*.py'
- 'products/data_modeling/backend/**/*.py'
- 'products/data_warehouse/backend/**/*.py'
- - 'products/warehouse_sources/backend/**/*.py'
+ # warehouse_sources is deliberately narrower than the other product
+ # globs: DAGs import only backend.types and the facade, and the product
+ # holds 850+ source connector dirs no DAG can reach — a whole-backend
+ # glob would run this suite on every new-source PR. models/** is kept
+ # because facade.models re-exports flow through it. Mirrors the
+ # product's turbo.json backend:contract-check surface.
+ - 'products/warehouse_sources/backend/types.py'
+ - 'products/warehouse_sources/backend/facade/**/*.py'
+ - 'products/warehouse_sources/backend/models/**/*.py'
- 'products/error_tracking/backend/**/*.py'
- 'products/event_definitions/backend/**/*.py'
- 'products/growth/backend/**/*.py'