pub fn warm_worker_binary_sources() -> Result<()>Expand description
Verify and pin this build’s worker sources into the shared cache without keeping the snapshot, so the daemon this build starts next finds every source already indexed.
A client replacing the daemon runs this while the old daemon drains: the copying and hashing a new build needs then happens beside the handoff instead of on the new daemon’s startup path. The cache is content-addressed and published atomically without replacing anything, so the old daemon’s pins are unaffected. Startup still captures the sources itself and stays the only owner of the pinned snapshot.