: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(data-warehouse): stop cdp producer rollouts for source-only changes (#113670)
Tom Owers938cb0cdf676
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.ymlindex 0178c03f084c..d14be23d2ca1 100644--- a/.github/workflows/container-images-cd.yml+++ b/.github/workflows/container-images-cd.yml@@ -624,6 +624,32 @@ jobs:- bin/temporal-django-worker- 'posthog/clickhouse/migrations/**'+ # The CDP producer worker serves one task queue, and only the+ # dwh-cdp-producer-job workflow starts on that queue. That workflow+ # reads Delta tables and writes to Kafka. It never calls a source+ # implementation, so a change to one vendor directory, to the import+ # list of the vendors, or to the docs in sources/ cannot change this+ # worker. Every other path matches dataWarehouse, and sources/common+ # stays included because the pipeline code imports it.+ # A workflow that starts on this queue and calls source code must+ # remove these excludes in the same change.+ dataWarehouseCdpProducer:+ - 'posthog/hogql*/**'+ - 'products/warehouse_sources_queue/**'+ - 'posthog/temporal/data_modeling/**'+ - 'products/customer_analytics/backend/**'+ - 'products/warehouse_sources/backend/temporal/data_imports/**'+ - '!products/warehouse_sources/backend/temporal/data_imports/sources/!(common)/*'+ - '!products/warehouse_sources/backend/temporal/data_imports/sources/!(common)/*/**'+ - '!products/warehouse_sources/backend/temporal/data_imports/sources/_load_all.py'+ - '!products/warehouse_sources/backend/temporal/data_imports/sources/*.md'+ - 'posthog/warehouse/**'+ - 'posthog/temporal/common/**'+ - 'posthog/management/commands/start_temporal_worker.py'+ - pyproject.toml+ - bin/temporal-django-worker+ - 'posthog/clickhouse/migrations/**'+warehouseSourcesLoad:- 'products/warehouse_sources/backend/**'- 'products/warehouse_sources_queue/**'@@ -1351,7 +1377,7 @@ jobs:}- name: Trigger Data Warehouse CDP Producer Temporal Worker Cloud deployment- if: steps.check_temporal_worker_changes.outputs.dataWarehouse == 'true'+ if: steps.check_temporal_worker_changes.outputs.dataWarehouseCdpProducer == 'true'uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1with:token: ${{ steps.deployer.outputs.token }}