mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
ci: retry test jobs once on runner_system_failure
VPS2 Docker daemon crashed mid-run, killing test-partition-1/2 and leaving wasm-check/test-no-try-runtime-2 with 404 exec errors. None of these were test failures — all were runner infrastructure failures. retry: max: 1, when: runner_system_failure retries only on runner crashes, never on actual test failures. Correct safeguard for multi-runner setups where any VPS can restart unexpectedly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
73e5bfea3e
commit
b13009b415
1 file changed
+3
@@ -292,6 +292,9 @@ cargo-audit:
|
|||||||
- echo "CARGO_TARGET_DIR=$CARGO_TARGET_DIR (disk $(df -h /cache/cargo-target | tail -1 | awk '{print $3 "/" $2 " used, " $4 " free"}'))"
|
- echo "CARGO_TARGET_DIR=$CARGO_TARGET_DIR (disk $(df -h /cache/cargo-target | tail -1 | awk '{print $3 "/" $2 " used, " $4 " free"}'))"
|
||||||
cache: []
|
cache: []
|
||||||
timeout: 150m
|
timeout: 150m
|
||||||
|
retry:
|
||||||
|
max: 1
|
||||||
|
when: runner_system_failure
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
|
|||||||
Reference in new issue
Block a user