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(ci): add stamphog temporal worker deploy target (#72018)

Julian Bezafd91affe5b9
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml
index 066d25fde8a8..84cc5b8374fa 100644
--- a/.github/workflows/container-images-cd.yml
+++ b/.github/workflows/container-images-cd.yml
@@ -720,6 +720,16 @@ jobs:
- 'posthog/clickhouse/migrations/**'
- pyproject.toml
- bin/temporal-django-worker
+ # posthog/egress is included because the stamphog worker routes its
+ # GitHub calls through the egress transport.
+ stamphog:
+ - 'products/stamphog/backend/**'
+ - 'posthog/egress/**'
+ - 'posthog/temporal/common/**'
+ - 'posthog/management/commands/start_temporal_worker.py'
+ - 'posthog/clickhouse/migrations/**'
+ - pyproject.toml
+ - bin/temporal-django-worker
- name: Trigger Health Check Temporal Worker Cloud deployment
if: steps.check_temporal_worker_changes.outputs.healthCheck == 'true'
@@ -838,6 +848,27 @@ jobs:
"timestamp": "${{ github.event.head_commit.timestamp }}"
}
+ - name: Trigger Stamphog Temporal Worker Cloud deployment
+ if: steps.check_temporal_worker_changes.outputs.stamphog == '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.build_retry.outputs.digest || steps.build.outputs.digest }}"
+ }
+ },
+ "release": "temporal-worker-stamphog",
+ "commit": ${{ toJson(github.event.head_commit) }},
+ "repository": ${{ toJson(github.repository) }},
+ "labels": ${{ steps.labels.outputs.labels }},
+ "timestamp": "${{ github.event.head_commit.timestamp }}"
+ }
+
- name: Check for changes that affect ducklake temporal worker
id: check_changes_ducklake_temporal_worker
run: |