From bfa1159a43b149462c2c281ac030909edf0b68bc Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 26 May 2026 18:19:08 +0200 Subject: [PATCH] Use partial (blobless) git clones and auto-recovery on fetch failure Enable filters=["blob:none"] for partial clones reducing .git/objects from ~800MB to ~250MB per build directory. Enable clobberOnFailure so failed fetches wipe and re-clone instead of failing the build. --- master/master.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/master/master.cfg b/master/master.cfg index e4bf0d38..5acf952f 100644 --- a/master/master.cfg +++ b/master/master.cfg @@ -139,6 +139,11 @@ GIT_KWDS = { # ignoring the .gitignore rules (ex: remove also ".o" files). "mode": "full", "method": "fresh", + # Partial (blobless) clone: only fetch commit and tree objects, + # blobs are fetched on demand during checkout. + "filters": ["blob:none"], + # If fetch fails, wipe and re-clone instead of failing the build. + "clobberOnFailure": True, } c["builders"] = []