Claude Code v2.1.327 ·
Self-hosted runners can restore and save work between sessions
On self-hosted runners, Claude Code can run restore scripts on resume, a save script on stop, and an environment-start.sh script
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Self-Hosted RunnersArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
Unclear It is not clear how these scripts are switched on or where a runner has to put them.
What
A self-hosted runner is a machine you run yourself to host Claude Code sessions. Claude Code now has support there for three kinds of scripts:
- Restore scripts, run when a session is resumed
- A save script, run when Claude stops
environment-start.sh, run as the environment starts
If one of these fails, Claude Code reports that it "did not go through".
Why
Work on a self-hosted runner can be kept from one session to the next.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear how these scripts are switched on or where a runner has to put them.
See this entry in the whole of v2.1.327 →