From 5d3ac29fd22f91362f16fcc9c8d7052b781d6d1b Mon Sep 17 00:00:00 2001 From: Florian Ruppel Date: Mon, 20 Jul 2026 12:32:26 +0200 Subject: [PATCH] Use partial clone for extension dependencies Dependency repos (e.g. SwagCommercial) are currently cloned with full history, which transfers the entire pack on every CI run. Since 2026-07-18 the Downstream workflows fail in 30-50% of runs while cloning SwagCommercial ('Failed sending HTTP request'), likely due to throttling of the runner egress IPs caused by the clone volume. Clone with --filter=blob:none instead: all refs stay available for the .auto branch checkout, but historic blobs are only fetched on demand, cutting the transfer size to a fraction. --- setup-extension/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup-extension/action.yml b/setup-extension/action.yml index bb38d8d..a2624c3 100644 --- a/setup-extension/action.yml +++ b/setup-extension/action.yml @@ -238,7 +238,9 @@ runs: fi for attempt in 1 2 3; do - if git clone "$dep_repo" "custom/plugins/$dep_name"; then + # Partial clone (lazy blobs): full ref list for the .auto branch checkout below, + # but skips historic blobs, which drastically reduces transfer size for large repos + if git clone --filter=blob:none "$dep_repo" "custom/plugins/$dep_name"; then break fi rm -rf "custom/plugins/$dep_name"