mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
ci: retry fmt on stuck_or_timeout_failure
fmt occasionally gets stuck on unstable runners (empty log, 17+ min with no output). Since clippy depends on fmt, a stuck fmt blocks the entire critical path: clippy → check-try-runtime → all tests. retry: max: 1, when: stuck_or_timeout_failure covers runner freeze without masking actual cargo fmt formatting failures. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
c458686071
commit
612d6fa38f
1 file changed
+3
@@ -62,6 +62,9 @@ default:
|
||||
|
||||
fmt:
|
||||
stage: quick-checks
|
||||
retry:
|
||||
max: 1
|
||||
when: stuck_or_timeout_failure
|
||||
script:
|
||||
- cargo fmt --all -- --check
|
||||
|
||||
|
||||
Reference in new issue
Block a user