mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 18:48:00 -05:00
ci: raise the shard timeout from 15 to 20 minutes (#4437)
Measured on recent green runs, shards take 10m49s to 13m47s, so the slowest had about a minute of margin under a 15 minute ceiling. Shard 1 timed out twice on an unrelated PR because of exactly that. timeout-minutes is a kill switch for a hung job rather than a budget. Actions bills the minutes a job actually uses, so raising the ceiling costs nothing while runs stay the length they are, and it stops a slow runner or a contended queue turning a passing suite into a red build. This does not make anything faster, and it is not a substitute for the work in #3963: it removes the failure mode while the suite sits where it sits. Per shard that is about 1m15s compiling, 2.3 to 3.2 min building one application per distinct test profile, and 7.2 to 8.2 min running test classes, with the class time spread too flat to have a hot spot left. ci-summary keeps its 10 minute ceiling; it finishes in seconds.
This commit is contained in:
1 parent
fd3696a9fc
commit
a3a06bb7b6
1 file changed
+4
-1
@@ -42,7 +42,10 @@ jobs:
|
||||
test:
|
||||
name: Build and Test (shard ${{ matrix.shard }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
# Shards run 10m49s to 13m47s, so 15 left the slowest about a minute of margin and a slow
|
||||
# runner spent it. This is a runaway-job kill switch, not a budget: Actions bills the minutes a
|
||||
# job actually uses, so a higher ceiling costs nothing until something hangs.
|
||||
timeout-minutes: 20
|
||||
needs: draft-gate
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
Reference in new issue
Block a user