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(signals): dispatch the self-driving temporal worker deploy (#108281)

posthog[bot]9bd0201ea8d1
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml
index e1791ff4098a..c00b7908d61a 100644
--- a/.github/workflows/container-images-cd.yml
+++ b/.github/workflows/container-images-cd.yml
@@ -512,6 +512,16 @@ jobs:
- 'nodejs/src/scripts/record-replay*'
- 'nodejs/src/scripts/record-replay*/**'
+ selfDriving:
+ - 'products/signals/backend/**'
+ - 'products/signals/skills/**'
+ - 'posthog/settings/temporal.py'
+ - 'posthog/temporal/common/**'
+ - 'posthog/management/commands/start_temporal_worker.py'
+ - pyproject.toml
+ - bin/temporal-django-worker
+ - 'posthog/clickhouse/migrations/**'
+
sessionReplay:
- 'posthog/temporal/session_replay/**'
- 'products/signals/backend/**'
@@ -911,6 +921,27 @@ jobs:
"timestamp": "${{ github.event.head_commit.timestamp }}"
}
+ - name: Trigger Self-Driving Temporal Worker Cloud deployment
+ if: steps.check_temporal_worker_changes.outputs.selfDriving == 'true'
+ uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
+ with:
+ token: ${{ steps.deployer.outputs.token }}
+ repository: PostHog/charts
+ event-type: commit_state_update
+ client-payload: |
+ {
+ "values": {
+ "image": {
+ "sha": "${{ github.sha }}@${{ steps.image.outputs.digest }}"
+ }
+ },
+ "release": "temporal-worker-self-driving",
+ "commit": ${{ toJson(github.event.head_commit) }},
+ "repository": ${{ toJson(github.repository) }},
+ "labels": ${{ steps.labels.outputs.labels }},
+ "timestamp": "${{ github.event.head_commit.timestamp }}"
+ }
+
- name: Trigger Session Replay Temporal Worker Cloud deployment
if: steps.check_temporal_worker_changes.outputs.sessionReplay == 'true'
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1