Hourly Claude Code runs fix flaky tests overnight, Jev picks each test
Scheduled Claude Code runs reproduce and fix one flaky test per hour, pushing only to claude/* branches, while Jev decides which test to take, fix, skip or stop.
THIS IS ACTUAL F*CKING GOLD Anthropic just shared one of the best tricks for Claude Code: schedule it hourly and let it fix your flaky tests while you sleep. you close the laptop at 23:00 and the agent runs in the cloud without you. claude > /schedule hourly 23:07-06:07: fix a flaky test here's the split: ▸ one run an hour, one flaky test per run, 8 runs a night ▸ every run starts from a fresh clone of the default branch ▸ it reproduces the flake, fixes it, re-runs the suite ▸ it pushes only to a claude/* branch and opens a PR the part that makes this safe: it never touches your branch and never merges anything. by 07:00 there are PRs waiting, not commits you have to undo. JEV sits underneath and decides per run: which test to take, fix or skip, retry or stop. sharp calls run in code, split ones leave you a note instead of guessing. a flake it cannot explain does not get a confident patch, it gets a note on the PR saying what it saw. one honest warning from the file itself: green status does not mean the task is done. read each run. 8 hours of nothing becomes 8 attempts at the tests nobody on your team wants to touch. save it, this is the cheapest engineer you will ever hire.
This post quotes another post: x.com/sprytixl/status/2107763347097534680