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): bump temporal pytest --timeout 600→1500 (experiment) (#59131)

Sandy Spicer5be0cc86438e
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index 943846bb06b8..b1ca7ad95d58 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -1539,7 +1539,12 @@ jobs:
MODAL_TOKEN_SECRET: ${{ needs.changes.outputs.tasks_temporal == 'true' && secrets.MODAL_TOKEN_SECRET || '' }}
run: |
set +e
- pytest -v --tb=short --reuse-db -o junit_duration_report=call --timeout=900 --timeout-method=thread posthog/temporal products/batch_exports/backend/tests/temporal products/tasks/backend/temporal -m "not async_migrations" \
+ # Bumped from 900 → 1500: shards 1/4 consistently exceed 900s in the
+ # package-scoped django_db_setup → migrate → create_clickhouse_tables
+ # chain (the first package on those shards is heavier). 1500s gives
+ # ample headroom while still catching genuine hangs before the
+ # 30-minute job-level kill.
+ pytest -v --tb=short --reuse-db -o junit_duration_report=call --timeout=1500 --timeout-method=thread posthog/temporal products/batch_exports/backend/tests/temporal products/tasks/backend/temporal -m "not async_migrations" \
--splits ${{ matrix.concurrency }} --group ${{ matrix.group }} \
--durations=100 --durations-min=1.0 --store-durations \
--splitting-algorithm=duration_based_chunks \