Night Shift¶
Night Shift works through tasks you queue during the day while the model is otherwise idle. Each task runs in its own git branch and worktree; nothing is merged, pushed or rebased. In the morning you read a report and bring back the changes you want.
Turn it on¶
ragon-admin night enable # install the timer; window 01:00-07:00 by default
ragon-admin night enable --window 23:00-06:00 # another window (HH:MM-HH:MM)
ragon-admin night status # the timer, the window and every repository's queue
ragon-admin night disable # remove the timer
The timer runs ragon-admin night run, which works through the queue until the window ends. You can
start it by hand any time; it ends at the window's end too.
What stops a night¶
- The window ends. An attempt after the first does not start when less of the window is left than the longest attempt took, and the report says when fewer attempts ran.
- An open
ragonsession or an outside request to the model: Night Shift gives way to you. - A running benchmark holds the model.
ragon-admin night pause(one hour;--for 2hfor longer) lets you work meanwhile, andragon-admin night resumehands it back. - A task's own time limit, or its tests failing in every attempt, fails that task and the run goes on to the next.
Night Shift never starts or loads the model server.
Next steps¶
- Queue tasks: add work for tonight.
- The morning report: read the results and keep what you want.
- Manage Night Shift: tidying up and troubleshooting.