pub fn capture(
root: &Path,
git_dir: &Path,
target: &ScaleTarget,
runtime: &Path,
) -> Result<Outcome>Expand description
Called only after the runner has stopped and before the workspace is removed. The caller must hold the namespace’s normal runner lease during this call. Publish through an atomic pointer, retaining the previous good generation on every failure. Snapshots borrow no objects from the attempt or other caches.