Claude Code self-hosted runners stop checkout hooks after 30 minutes by default
From Claude Code 2.1.307, a self-hosted runner stops a checkout hook after 30 minutes and fails the session's setup. Hooks that need longer must raise --checkout-hook-timeout-min or set it to 0.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Worth knowingOnly affects teams running Claude Code self-hosted runners. Have the owner confirm checkout hooks finish in under 30 minutes, or sessions will fail at setup.
Engineer
What to change, what breaks, what to test Action neededIf a self-hosted runner's checkout hook can take more than 30 minutes, start the runner with a higher --checkout-hook-timeout-min, or 0 for no limit, before upgrading to 2.1.307.
General consumer
Using the Claude apps, not the API No impactNothing to do — this concerns self-hosted Claude Code runners and does not affect the Claude apps.
Claude Code 2.1.307 changes self-hosted runners so that checkout hooks are stopped after 30 minutes by default, failing the session’s setup. Before this, a checkout hook could run without a time limit.
A runner whose checkout hook legitimately takes longer than 30 minutes — a large clone, a long dependency install — will now fail every session it sets up. To keep the old behaviour, raise --checkout-hook-timeout-min or set it to 0.
The changelog does not date its releases. 2.1.307 appeared between this run and the previous daily run on October 21, 2026, so the date is the day it was observed.
Topics: Coding tools