Skip to content

Commit 13b4bdf

Browse files
justin808claude
andcommitted
Disable yarn cache for Node 22 in Pro CI to fix V8 crash
The Pro integration tests were failing with a Node.js V8 engine crash (unreachable code fatal error) when trying to get yarn cache folder. This is a known bug in Node 22.21.0 (nodejs/node#56010). The main integration-tests.yml already had this workaround, but pro-integration-tests.yml was missing it. This change disables yarn caching for Node 22 in all three jobs in the Pro workflow: - build-dummy-app-webpack-test-bundles - rspec-dummy-app-node-renderer - dummy-app-node-renderer-e2e-tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 585f5f2 commit 13b4bdf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/pro-integration-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ jobs:
9696
uses: actions/setup-node@v4
9797
with:
9898
node-version: 22
99-
cache: yarn
99+
# Disable cache for Node 22 due to V8 bug in 22.21.0
100+
# https://github.com/nodejs/node/issues/56010
100101
cache-dependency-path: 'react_on_rails_pro/**/yarn.lock'
101102

102103
- name: Print system information
@@ -192,7 +193,8 @@ jobs:
192193
uses: actions/setup-node@v4
193194
with:
194195
node-version: 22
195-
cache: yarn
196+
# Disable cache for Node 22 due to V8 bug in 22.21.0
197+
# https://github.com/nodejs/node/issues/56010
196198
cache-dependency-path: 'react_on_rails_pro/**/yarn.lock'
197199

198200
- name: Print system information
@@ -389,7 +391,8 @@ jobs:
389391
uses: actions/setup-node@v4
390392
with:
391393
node-version: 22
392-
cache: yarn
394+
# Disable cache for Node 22 due to V8 bug in 22.21.0
395+
# https://github.com/nodejs/node/issues/56010
393396
cache-dependency-path: 'react_on_rails_pro/**/yarn.lock'
394397

395398
- name: Print system information

0 commit comments

Comments
 (0)