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.

fix(ci): bump django test timeout to 45m, widen deploy gate wait (#61440)

Raúl Negrón-Otero07307704005b
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index f69032b978e1..6b7b1f177e0e 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -1629,7 +1629,8 @@ jobs:
needs.turbo-discover.outputs.run_legacy == 'true' ||
(needs.turbo-discover.result != 'success' && needs.turbo-discover.result != 'skipped'))
# increase for tmate testing
- timeout-minutes: 30
+ # 45 for slow Temporal shards on master; keep <= deploy gate wait (container-images-cd.yml)
+ timeout-minutes: 45
name: Django tests – ${{ matrix.segment }}${{ matrix.compat && ' compat' || '' }} (persons-on-events ${{ matrix.person-on-events && 'on' || 'off' }}), Py ${{ matrix.python-version }}, ${{ matrix.clickhouse-server-image }} (${{matrix.group}}/${{ matrix.concurrency }})
# Runner type is performance-critical — consult #team-devex before changing
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml
index eda0247ec392..0b1528f7aa2f 100644
--- a/.github/workflows/container-images-cd.yml
+++ b/.github/workflows/container-images-cd.yml
@@ -156,7 +156,10 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Django Tests Pass
ref: ${{ github.sha }}
- timeoutSeconds: 2700
+ # Must outlast the longest backend job (django tests: 45m in
+ # ci-backend.yml) plus its start lag, so a slow-but-green check
+ # still reports before we give up and block the deploy.
+ timeoutSeconds: 3300
intervalSeconds: 30
- name: Block deploy if backend tests did not pass