Skip to content

Commit 3b35d29

Browse files
committed
[ci] Override actions/cache default timeout
actions/cache has a default timeout of 10 minutes. Occasionally the cache service download gets stuck and it waits this amount of time before proceeding like it was a cache miss. 10 minutes is way too long so let's shorten this to a minute. ghstack-source-id: b316196 Pull Request resolved: #30512
1 parent 92f6e13 commit 3b35d29

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

.github/workflows/compiler_playground.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010

1111
env:
1212
TZ: /usr/share/zoneinfo/America/Los_Angeles
13+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
14+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
1315

1416
defaults:
1517
run:

.github/workflows/compiler_typescript.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010

1111
env:
1212
TZ: /usr/share/zoneinfo/America/Los_Angeles
13+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
14+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
1315

1416
defaults:
1517
run:

.github/workflows/devtools_regression_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010

1111
env:
1212
TZ: /usr/share/zoneinfo/America/Los_Angeles
13+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
14+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
1315

1416
jobs:
1517
download_build:

.github/workflows/runtime_build_and_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
env:
1111
TZ: /usr/share/zoneinfo/America/Los_Angeles
12+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
13+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
1214

1315
jobs:
1416
# ----- FLOW -----

.github/workflows/runtime_commit_artifacts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
env:
1111
TZ: /usr/share/zoneinfo/America/Los_Angeles
12+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
13+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
1214

1315
jobs:
1416
download_artifacts:

.github/workflows/runtime_prereleases.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919

2020
env:
2121
TZ: /usr/share/zoneinfo/America/Los_Angeles
22+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
23+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
2224
GH_TOKEN: ${{ github.token }}
2325
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2426

.github/workflows/shared_lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
env:
99
TZ: /usr/share/zoneinfo/America/Los_Angeles
10+
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
11+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
1012

1113
jobs:
1214
prettier:

0 commit comments

Comments
 (0)