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.

perf(ci): run test-timing cache refresh every 6 hours instead of daily (#65901)

mendral-app[bot]44e07c4d214f
diff --git a/.github/workflows/ci-backend-update-test-timing.yml b/.github/workflows/ci-backend-update-test-timing.yml
index 4502a7eb4739..e894312f9dc8 100644
--- a/.github/workflows/ci-backend-update-test-timing.yml
+++ b/.github/workflows/ci-backend-update-test-timing.yml
@@ -12,9 +12,11 @@ on:
required: false
type: string
schedule:
- # Daily: merge the latest CI timing artifacts and refresh the Actions cache that
- # ci-backend / ci-dagster restore for sharding. This is the day-to-day freshness.
- - cron: '0 3 * * *'
+ # Every 6 hours: merge the latest CI timing artifacts and refresh the Actions cache
+ # that ci-backend / ci-dagster restore for sharding. Frequent refresh keeps splits
+ # balanced even after large batches of new tests land mid-day. Cheap (~90s on
+ # depot-ubuntu-latest, no test execution).
+ - cron: '0 3,9,15,21 * * *'
# Monthly (1st): same merge, but this run also commits the .test_durations fallback
# via PR. The committed file is only the cold-start / cache-miss floor, so it doesn't
# need a daily commit. Distinguished from the daily run via github.event.schedule