Skip to main content

Module disk_cleanup_op

Module disk_cleanup_op 

Source
Expand description

app.disk.cleanup: ask this machine to clear its agents’ idle build folders (spec §4.3). Like app.upgrade it starts nothing by itself: it files the disk_cleanup sensitive request, so this machine’s super agent decides and the person here sees the banner and can veto the countdown. The requester is agent@machine, never anything that reads as the operator.

What runs when the countdown ends is the pass a low disk runs (build_cache_service::clean_when_asked): orphan incremental folders, and the target of a clone nobody built in for days, never one with a build running. The older version folders are not touched; they stay a person’s call (app.disk.report lists them).

{ reason } files it and answers with the request’s id. { status: <id> } reads where a request this caller made stands.

Functions§

disk_cleanup 🔒
owner 🔒
The request owner for a remote caller: not an agent here, so no local uid stands in for it.