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(devex): give the master migration replay room under its timeout (#88961)

Julian Bez30a3c3efb184
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.yml
index e5c36dd5184b..67f61dfcd92a 100644
--- a/.depot/workflows/ci-backend.yml
+++ b/.depot/workflows/ci-backend.yml
@@ -1089,7 +1089,11 @@ jobs:
check-migrations:
needs: [changes]
if: needs.changes.outputs.backend == 'true' || needs.changes.outputs.migrations == 'true'
- timeout-minutes: 20
+ # On master this job replays the full migration history from scratch to
+ # produce the schema dump every PR job restores. That replay grows with
+ # every merged migration, so the limit needs headroom over it: it is
+ # there to cancel a hang, not to cap how long the history takes.
+ timeout-minutes: 40
name: Validate migrations
runs-on: depot-ubuntu-24.04
steps:
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index f7547c367b91..72f96f06ce7d 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -1340,7 +1340,11 @@ jobs:
check-migrations:
needs: [changes]
if: needs.changes.outputs.backend == 'true' || needs.changes.outputs.migrations == 'true' || needs.changes.outputs.persons_sql == 'true'
- timeout-minutes: 20
+ # On master this job replays the full migration history from scratch to
+ # produce the schema dump every PR job restores. That replay grows with
+ # every merged migration, so the limit needs headroom over it: it is
+ # there to cancel a hang, not to cap how long the history takes.
+ timeout-minutes: 40
outputs:
mig_schema_key: ${{ steps.mig-schema-key.outputs.key }}
# The "Publish Migration risk check" step posts the check via the