From fd367708955af0672fc8ee6e91684655f610597c Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sat, 25 Apr 2026 16:39:57 +0300 Subject: [PATCH] fix(ci): consolidate check-try-runtime into single superset command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three sequential cargo check commands were causing a 90m timeout on GitLab shared runners (no persistent target/ cache). Command 3 (try-runtime,experimental) is a strict superset of commands 1 and 2: - cmd 1: --all --features try-runtime → redundant, cmd 3 covers it - cmd 2: -p teyrchain-template-node --features try-runtime → redundant, teyrchain-template-node is in the workspace (templates/teyrchain/node) so --all already includes it Keep only the most comprehensive check. Increase timeout to 120m to give the single compile sufficient headroom on shared runners (~60-70m observed). Co-Authored-By: Claude Sonnet 4.6 --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c3ecd80..ebe7bade 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -183,11 +183,12 @@ check-try-runtime: needs: [clippy] variables: SKIP_WASM_BUILD: "1" - timeout: 90m + timeout: 120m script: - git config --global --add safe.directory '*' - - cargo check --locked --all --features try-runtime --quiet - - cargo check --locked -p teyrchain-template-node --features try-runtime + # try-runtime,experimental is a superset — covers the separate try-runtime and + # teyrchain-template-node checks (template node is in the workspace under + # templates/teyrchain/node, so --all already includes it) - cargo check --locked --all --features try-runtime,experimental --quiet check-core-crypto-features: