From 2b201a12cf7e9f0c1e1bb2c6b162984978a1b495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Mon, 13 Apr 2026 13:45:41 -0400 Subject: [PATCH 1/2] Modify timeout settings for apt dependencies installation Increased timeout duration for apt-get installation and adjusted retry wait time. --- shared-overwrite/.github/actions/setup/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared-overwrite/.github/actions/setup/action.yml b/shared-overwrite/.github/actions/setup/action.yml index 9856ecf1..f96535fc 100644 --- a/shared-overwrite/.github/actions/setup/action.yml +++ b/shared-overwrite/.github/actions/setup/action.yml @@ -61,12 +61,12 @@ runs: for attempt in $(seq 1 ${max_attempts}); do echo "[MT] > Installing apt dependencies (attempt ${attempt}/${max_attempts})..." # can not use '--no-install-recommends' because some of those recommended dependencies are required - if timeout 300 sudo apt-get update && timeout 300 sudo apt-get install -y libxml2-utils jq inkscape imagemagick; then + if timeout 1m sudo apt-get update && timeout 1m sudo apt-get install -y libxml2-utils jq inkscape imagemagick; then echo "[MT] > apt dependencies installed successfully." break elif [[ ${attempt} -lt ${max_attempts} ]]; then - echo "[MT] > apt dependencies installation failed or timed out, retrying in 5 seconds..." - sleep 5 + echo "[MT] > apt dependencies installation failed or timed out, retrying in 20 seconds..." + sleep 20 else echo "[MT] > apt dependencies installation failed after ${attempt} attempts." exit 1 From e000429bf386b50b2ffbb8726eb7b453708f7f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Mon, 13 Apr 2026 13:47:55 -0400 Subject: [PATCH 2/2] Adjust timeout settings for apt dependencies installation Increased timeout duration for apt-get commands to handle potential delays during installation. --- shared-overwrite/.github/actions/setup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-overwrite/.github/actions/setup/action.yml b/shared-overwrite/.github/actions/setup/action.yml index f96535fc..5d77ee69 100644 --- a/shared-overwrite/.github/actions/setup/action.yml +++ b/shared-overwrite/.github/actions/setup/action.yml @@ -61,7 +61,7 @@ runs: for attempt in $(seq 1 ${max_attempts}); do echo "[MT] > Installing apt dependencies (attempt ${attempt}/${max_attempts})..." # can not use '--no-install-recommends' because some of those recommended dependencies are required - if timeout 1m sudo apt-get update && timeout 1m sudo apt-get install -y libxml2-utils jq inkscape imagemagick; then + if timeout 5m sudo apt-get update && timeout 10m sudo apt-get install -y libxml2-utils jq inkscape imagemagick; then echo "[MT] > apt dependencies installed successfully." break elif [[ ${attempt} -lt ${max_attempts} ]]; then