Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins: improve x64 node.exe caching for arm64 #3514

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

StefanStojanovic
Copy link
Contributor

It was noticed on a few occasions that x64 node.exe caching is error-prone. This happens due to issues with downloading the new node.exe which, if it goes bad, makes the machine unusable for arm64 compilation for a week. This improvement in caching logic removes that possibility, by validating the downloaded file's SHASUM and replacing the old one with it, only if it matches the SHASUM found in the official SHASUMS256.txt file.

Fixes: #3504
Refs: #3315

@StefanStojanovic
Copy link
Contributor Author

Can someone from @nodejs/build review please? After landing this, the same code will be added to the release CI since not having caching there caused machines to be stuck on ARM64 builds indefinitely until manual action is taken to unblock it.

@StefanStojanovic StefanStojanovic merged commit 646ff04 into nodejs:main Oct 19, 2023
1 check passed
StefanStojanovic added a commit to JaneaSystems/build that referenced this pull request Oct 19, 2023
This reverts commit 646ff04.

The change being reverted broke basic sanity check in the
node-compile-windows-debug job in test CI.
richardlau pushed a commit that referenced this pull request Oct 19, 2023
This reverts commit 646ff04.

The change being reverted broke basic sanity check in the
node-compile-windows-debug job in test CI.
StefanStojanovic added a commit to JaneaSystems/build that referenced this pull request Jul 26, 2024
StefanStojanovic added a commit that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test-rackspace-win2022_vs2022-x64-6 systematic build timeout for win-vs2022-arm64
2 participants