From 8715dee48cff7593ecd8be33978a8e7bb2b254a8 Mon Sep 17 00:00:00 2001 From: Ryan Albrecht Date: Wed, 9 Sep 2026 10:51:36 -0700 Subject: [PATCH] ci(jest-balance): run the balancer weekly instead of twice a month The balancer records per-file jest runtimes and publishes jest-balance.json, which frontend.yml downloads to spread test files evenly across shards. That data goes stale as tests are added, deleted, and rewritten, so on a 1st/15th cadence the shard split can drift for up to two weeks and leave one shard as the long pole of the frontend job. Moving to Sundays at 00:00 UTC keeps the timings within a week of master and lands the refreshed artifact before the work week starts. The trade is roughly two extra full jest matrix runs per month. Claude-Session: https://claude.ai/code/session_01KvHjyGdpfxN4KkEmMxhdNr --- .github/workflows/jest-balance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jest-balance.yml b/.github/workflows/jest-balance.yml index 115cde9d2387..3345a7e30918 100644 --- a/.github/workflows/jest-balance.yml +++ b/.github/workflows/jest-balance.yml @@ -2,7 +2,7 @@ name: jest balancer on: workflow_dispatch: schedule: - - cron: '0 0 1,15 * *' + - cron: '0 0 * * 0' jobs: jest-config: name: Configure Jest