@samitouri / QOS-React / commits / e9c3b27b4b

[ci] Bump all node_modules cache keys (#32671)

I'm seeing a lot of instances of > Failed to save: Unable to reserve cache with key runtime-and-compiler-node_modules-v5-X64-Linux-e454609794aae66da9909c77dd6efa073eceff7f44d6527611f8465e102578b4, another job may be creating this cache. which is adding ~20 seconds to every step. Let's try to bust the cache following this [comment](https://github.com/actions/cache/issues/485#issuecomment-744145040) and see if that helps. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32671). * #32672 * __->__ #32671

lauren committed Mar 19, 2025 at 14:42 UTC e9c3b27b4b86c5030df96d8a1e4228b5341164b0
10 files changed +31 -31
.github/workflows/compiler_playground.yml
+1 -1
@@ -38,7 +38,7 @@ jobs:
38 with:
39 path: |
40 **/node_modules
41 - key: compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
41 + key: compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
42 - run: yarn install --frozen-lockfile
43 - run: npx playwright install --with-deps chromium
44 - run: CI=true yarn test
.github/workflows/compiler_prereleases.yml
+1 -1
@@ -48,7 +48,7 @@ jobs:
48 with:
49 path: |
50 **/node_modules
51 - key: compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
51 + key: compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
52 - run: yarn install --frozen-lockfile
53 - name: Publish packages to npm
54 run: |
.github/workflows/compiler_typescript.yml
+3 -3
@@ -48,7 +48,7 @@ jobs:
48 with:
49 path: |
50 **/node_modules
51 - key: compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
51 + key: compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
52 - run: yarn install --frozen-lockfile
53 - run: yarn workspace babel-plugin-react-compiler lint
54
@@ -69,7 +69,7 @@ jobs:
69 with:
70 path: |
71 **/node_modules
72 - key: compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
72 + key: compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
73 - run: yarn install --frozen-lockfile
74 - run: yarn workspace babel-plugin-react-compiler jest
75
@@ -94,7 +94,7 @@ jobs:
94 with:
95 path: |
96 **/node_modules
97 - key: compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
97 + key: compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
98 - run: yarn install --frozen-lockfile
99 - run: xvfb-run -a yarn workspace ${{ matrix.workspace_name }} test
100 if: runner.os == 'Linux' && matrix.workspace_name == 'react-forgive'
.github/workflows/devtools_regression_tests.yml
+4 -4
@@ -31,7 +31,7 @@ jobs:
31 with:
32 path: |
33 **/node_modules
34 - key: runtime-release-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
34 + key: runtime-release-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
35 - name: Ensure clean build directory
36 run: rm -rf build
37 - run: yarn install --frozen-lockfile
@@ -65,7 +65,7 @@ jobs:
65 with:
66 path: |
67 **/node_modules
68 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
68 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
69 - name: Ensure clean build directory
70 run: rm -rf build
71 - run: yarn install --frozen-lockfile
@@ -123,7 +123,7 @@ jobs:
123 with:
124 path: |
125 **/node_modules
126 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
126 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
127 - run: yarn install --frozen-lockfile
128 - name: Restore all archived build artifacts
129 uses: actions/download-artifact@v4
@@ -158,7 +158,7 @@ jobs:
158 with:
159 path: |
160 **/node_modules
161 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
161 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
162 - run: yarn install --frozen-lockfile
163 - name: Restore all archived build artifacts
164 uses: actions/download-artifact@v4
.github/workflows/runtime_build_and_test.yml
+14 -14
@@ -57,7 +57,7 @@ jobs:
57 with:
58 path: |
59 **/node_modules
60 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
60 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
61 - name: Ensure clean build directory
62 run: rm -rf build
63 - run: yarn install --frozen-lockfile
@@ -82,7 +82,7 @@ jobs:
82 with:
83 path: |
84 **/node_modules
85 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
85 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
86 - name: Ensure clean build directory
87 run: rm -rf build
88 - run: yarn install --frozen-lockfile
@@ -109,7 +109,7 @@ jobs:
109 with:
110 path: |
111 **/node_modules
112 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
112 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
113 - name: Ensure clean build directory
114 run: rm -rf build
115 - run: yarn install --frozen-lockfile
@@ -165,7 +165,7 @@ jobs:
165 with:
166 path: |
167 **/node_modules
168 - key: runtime-and-compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
168 + key: runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
169 - name: Ensure clean build directory
170 run: rm -rf build
171 - run: yarn install --frozen-lockfile
@@ -203,7 +203,7 @@ jobs:
203 with:
204 path: |
205 **/node_modules
206 - key: runtime-and-compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
206 + key: runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
207 - name: Ensure clean build directory
208 run: rm -rf build
209 - run: yarn install --frozen-lockfile
@@ -281,7 +281,7 @@ jobs:
281 with:
282 path: |
283 **/node_modules
284 - key: runtime-and-compiler-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
284 + key: runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
285 - name: Ensure clean build directory
286 run: rm -rf build
287 - run: yarn install --frozen-lockfile
@@ -315,7 +315,7 @@ jobs:
315 with:
316 path: |
317 **/node_modules
318 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
318 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
319 - name: Ensure clean build directory
320 run: rm -rf build
321 - run: yarn install --frozen-lockfile
@@ -363,7 +363,7 @@ jobs:
363 with:
364 path: |
365 **/node_modules
366 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
366 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
367 - name: Ensure clean build directory
368 run: rm -rf build
369 - run: yarn install --frozen-lockfile
@@ -399,7 +399,7 @@ jobs:
399 with:
400 path: |
401 **/node_modules
402 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
402 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
403 - name: Ensure clean build directory
404 run: rm -rf build
405 - run: yarn install --frozen-lockfile
@@ -432,7 +432,7 @@ jobs:
432 with:
433 path: |
434 **/node_modules
435 - key: fixtures_dom-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
435 + key: fixtures_dom-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
436 - name: Ensure clean build directory
437 run: rm -rf build
438 - run: yarn --cwd fixtures/dom install --frozen-lockfile
@@ -475,7 +475,7 @@ jobs:
475 with:
476 path: |
477 **/node_modules
478 - key: fixtures_flight-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
478 + key: fixtures_flight-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
479 - name: Ensure clean build directory
480 run: rm -rf build
481 - run: yarn install --frozen-lockfile
@@ -538,7 +538,7 @@ jobs:
538 with:
539 path: |
540 **/node_modules
541 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
541 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
542 - name: Ensure clean build directory
543 run: rm -rf build
544 - run: yarn install --frozen-lockfile
@@ -590,7 +590,7 @@ jobs:
590 with:
591 path: |
592 **/node_modules
593 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
593 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
594 - name: Ensure clean build directory
595 run: rm -rf build
596 - run: yarn install --frozen-lockfile
@@ -628,7 +628,7 @@ jobs:
628 with:
629 path: |
630 **/node_modules
631 - key: runtime-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
631 + key: runtime-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
632 - name: Ensure clean build directory
633 run: rm -rf build
634 - run: yarn --cwd scripts/release install --frozen-lockfile
.github/workflows/runtime_commit_artifacts.yml
+1 -1
@@ -80,7 +80,7 @@ jobs:
80 with:
81 path: |
82 **/node_modules
83 - key: runtime-release-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
83 + key: runtime-release-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
84 - name: Ensure clean build directory
85 run: rm -rf build
86 - run: yarn install --frozen-lockfile
.github/workflows/runtime_eslint_plugin_e2e.yml
+1 -1
@@ -44,7 +44,7 @@ jobs:
44 with:
45 path: |
46 **/node_modules
47 - key: runtime-and-compiler-eslint_e2e-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
47 + key: runtime-and-compiler-eslint_e2e-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
48 - name: Ensure clean build directory
49 run: rm -rf build
50 - run: yarn install --frozen-lockfile
.github/workflows/runtime_prereleases.yml
+1 -1
@@ -41,7 +41,7 @@ jobs:
41 with:
42 path: |
43 **/node_modules
44 - key: runtime-release-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
44 + key: runtime-release-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
45 - name: Ensure clean build directory
46 run: rm -rf build
47 - run: yarn install --frozen-lockfile
.github/workflows/runtime_releases_from_npm_manual.yml
+1 -1
@@ -73,7 +73,7 @@ jobs:
73 with:
74 path: |
75 **/node_modules
76 - key: runtime-release-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
76 + key: runtime-release-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }}
77 - name: Ensure clean build directory
78 run: rm -rf build
79 - run: yarn install --frozen-lockfile
.github/workflows/shared_lint.yml
+4 -4
@@ -30,7 +30,7 @@ jobs:
30 with:
31 path: |
32 **/node_modules
33 - key: shared-lint-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
33 + key: shared-lint-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
34 - name: Ensure clean build directory
35 run: rm -rf build
36 - run: yarn install --frozen-lockfile
@@ -51,7 +51,7 @@ jobs:
51 with:
52 path: |
53 **/node_modules
54 - key: shared-lint-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
54 + key: shared-lint-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
55 - name: Ensure clean build directory
56 run: rm -rf build
57 - run: yarn install --frozen-lockfile
@@ -72,7 +72,7 @@ jobs:
72 with:
73 path: |
74 **/node_modules
75 - key: shared-lint-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
75 + key: shared-lint-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
76 - name: Ensure clean build directory
77 run: rm -rf build
78 - run: yarn install --frozen-lockfile
@@ -93,7 +93,7 @@ jobs:
93 with:
94 path: |
95 **/node_modules
96 - key: shared-lint-node_modules-v5-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
96 + key: shared-lint-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
97 - name: Ensure clean build directory
98 run: rm -rf build
99 - run: yarn install --frozen-lockfile