Skip to content

test: prewarm Node headers cache if specifying Electron version - #38287

Merged
MarshallOfSound merged 1 commit into
electron:mainfrom
dsanders11:fix-test-race-condition
May 15, 2023
Merged

MarshallOfSound merged 1 commit into
electron:mainfrom
dsanders11:fix-test-race-condition

Conversation

@dsanders11

Copy link
Copy Markdown
Member

Description of Change

Workaround to a node-gyp issue on Windows being fixed in nodejs/node-gyp#2846 which can lead to errors due to header cache corruption. Also sets npm_config_devdir properly, which was missing before.

The addition of the node-gyp-install script is to ensure the node-gyp version bundled with npm is used (npx doesn't use that version) to avoid any inconsistency issues.

Checklist

  • PR description included and stakeholders cc'd

Release Notes

Notes: none

@dsanders11 dsanders11 added target/23-x-y PR should also be added to the "23-x-y" branch. target/24-x-y PR should also be added to the "24-x-y" branch. target/25-x-y PR should also be added to the "25-x-y" branch. labels May 14, 2023
@dsanders11
dsanders11 marked this pull request as ready for review May 14, 2023 20:57
@MarshallOfSound
MarshallOfSound merged commit c591ecf into electron:main May 15, 2023
@release-clerk

release-clerk Bot commented May 15, 2023

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented May 15, 2023

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "25-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/25-x-y and removed target/25-x-y PR should also be added to the "25-x-y" branch. labels May 15, 2023
@trop

trop Bot commented May 15, 2023

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "23-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/23-x-y and removed target/23-x-y PR should also be added to the "23-x-y" branch. labels May 15, 2023
@trop

trop Bot commented May 15, 2023

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "24-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/24-x-y and removed target/24-x-y PR should also be added to the "24-x-y" branch. labels May 15, 2023
@dsanders11
dsanders11 deleted the fix-test-race-condition branch May 15, 2023 10:24
dsanders11 added a commit to dsanders11/electron that referenced this pull request May 15, 2023
@trop

trop Bot commented May 15, 2023

Copy link
Copy Markdown
Contributor

@dsanders11 has manually backported this PR to "25-x-y", please check out #38297

@trop

trop Bot commented May 15, 2023

Copy link
Copy Markdown
Contributor

@dsanders11 has manually backported this PR to "24-x-y", please check out #38298

@trop

trop Bot commented May 15, 2023

Copy link
Copy Markdown
Contributor

@dsanders11 has manually backported this PR to "23-x-y", please check out #38299

@trop trop Bot added in-flight/23-x-y merged/25-x-y PR was merged to the "25-x-y" branch. and removed needs-manual-bp/23-x-y in-flight/25-x-y labels May 15, 2023
codebytere pushed a commit that referenced this pull request May 16, 2023
test: prewarm Node headers cache if specifying Electron version (#38287)
@trop trop Bot added merged/24-x-y PR was merged to the "24-x-y" branch and removed in-flight/24-x-y labels May 16, 2023
jkleinsc pushed a commit that referenced this pull request May 16, 2023
test: prewarm Node headers cache if specifying Electron version (#38287)
@trop trop Bot added the merged/23-x-y PR was merged to the "23-x-y" branch. label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/23-x-y PR was merged to the "23-x-y" branch. merged/24-x-y PR was merged to the "24-x-y" branch merged/25-x-y PR was merged to the "25-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants