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

Update node version to 14.15.5 (latest TLS release) #708

Merged
merged 1 commit into from
Feb 13, 2021
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 12, 2021

@sbc100 sbc100 requested a review from kripken February 12, 2021 16:36
@sbc100 sbc100 force-pushed the update_node branch 3 times, most recently from b095082 to 07419a8 Compare February 12, 2021 18:12
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm aside from comments

emsdk.py Outdated
print(os.path.exists(self.installation_path()))
for p in activated_path:
print(p)
print(os.path.exists(p))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like debug code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup.. will remove before landing.

@@ -40,6 +40,7 @@
shutil.move(dirname, 'bin')
os.mkdir(dirname)
shutil.move('bin', dirname)
os.remove(filename)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't this break the test?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixed a bug where we were including two copies of node in windows. We were calling zip with the existing zip file present which was adding the new "bin" directory, but not removing the old zip contents. So it saves a bit of space for all windows users.

@sbc100 sbc100 force-pushed the update_node branch 2 times, most recently from 611c2ce to 496ce10 Compare February 12, 2021 18:26
emsdk.py Outdated
errlog(os.path.exists(self.installation_path()))
for p in activated_path:
errlog(p)
errlog(os.path.exists(p))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like errlog prints to stderr - that still seems excessive here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm just debugging the windows failure.

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm (with logging removed and assuming the windows fix does not change anything)

@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 13, 2021

This test starts to fail with the upgrade: test_node_code_caching

@kripken can you verify that this test fails with recent versions of node ? Is this a known issue?

@kripken
Copy link
Member

kripken commented Feb 13, 2021

@sbc100 Oh, yes - this is a known issue, node changed/removed the API we depended on, nodejs/node#18265 (comment) . There is a note on this in settings.js.

We can just disable the test, I guess. I hope node adds a new API at some point.

@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 13, 2021

Ok I will land this and roll a PR to disable the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants