Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 461f14c

Browse files
authored
Do not retry lint or clang tidy tests. (#42498)
Retries on lints and clang tidy were hiding the issues as timeouts rather than providing the fail signal right away. Bug: flutter/flutter#128083 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent b8ef52a commit 461f14c

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

ci/builders/linux_clang_tidy.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"--shard-id=1",
6262
"--shard-variants=android_debug_arm64"
6363
],
64+
"max_attempts": 1,
6465
"script": "flutter/ci/lint.sh"
6566
}
6667
]
@@ -86,6 +87,7 @@
8687
"--shard-id=0",
8788
"--shard-variants=host_debug"
8889
],
90+
"max_attempts": 1,
8991
"script": "flutter/ci/lint.sh"
9092
}
9193
]

ci/builders/mac_clang_tidy.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"--shard-id=1",
7171
"--shard-variants=ios_debug_sim"
7272
],
73+
"max_attempts": 1,
7374
"script": "flutter/ci/lint.sh"
7475
}
7576
]
@@ -99,6 +100,7 @@
99100
"--shard-id=0",
100101
"--shard-variants=host_debug"
101102
],
103+
"max_attempts": 1,
102104
"script": "flutter/ci/lint.sh"
103105
}
104106
]

ci/builders/standalone/linux_license.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"tests": [
1212
{
1313
"name": "licenses check",
14+
"max_attempts": 1,
1415
"script": "flutter/ci/licenses.sh"
1516
}
1617
]

0 commit comments

Comments
 (0)