FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Revert "Revert "vm: add importModuleDynamically option to compileFunction"" by devsnek · Pull Request #35431 · nodejs/node · GitHub

/ node Public

Revert "Revert "vm: add importModuleDynamically option to compileFunction"" - #35431

Merged
devsnek merged 1 commit into
nodejs:masterfrom
devsnek:revert-revert-ugh
Feb 5, 2021
Merged

Revert "Revert "vm: add importModuleDynamically option to compileFunction""#35431
devsnek merged 1 commit into
nodejs:masterfrom
devsnek:revert-revert-ugh

Conversation

devsnek commented Sep 30, 2020
edited
Loading

Copy link
Copy Markdown
Member

This reverts commit 2d5d773.

See: #32985
See: #33364
See: #33166
Fixes: #31860

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

devsnek requested a review from mcollina September 30, 2020 15:46
nodejs-github-bot added doc Issues and PRs related to the documentations. tools Issues and PRs related to the tools directory. vm Issues and PRs related to the vm subsystem. labels Sep 30, 2020

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/modules

devsnek added request-ci Add this label to start a Jenkins CI on a PR. and removed tools Issues and PRs related to the tools directory. labels Sep 30, 2020

Copy link
Copy Markdown
Member

@SimenB can you please check this does not make things worse for you?

github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 30, 2020

Copy link
Copy Markdown
Collaborator

devsnek commented Sep 30, 2020

Copy link
Copy Markdown
Member Author

also cc @nodejs/build as this involves that weird MSVC bug

SimenB commented Sep 30, 2020

Copy link
Copy Markdown
Member

Exciting!

@mcollina I was never able to reproduce the original issue (beyond seeing it on CI), so I don't think I'll be able to verify anything here. Sorry 🙁 If there's any way of sticking a build of this branch on CI I'm happy to do that to see if the issue pops up?

Copy link
Copy Markdown
Member

cc @targos

Copy link
Copy Markdown
Member

@targos @BethGriggs could you please generate a new build like the ones you used to generate back in #33166?

I've tried building this patch myself but I can't reproduce.

targos commented Oct 24, 2020

Copy link
Copy Markdown
Member

targos commented Oct 24, 2020

Copy link
Copy Markdown
Member

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm, I cannot reproduce this anymore. I would be very careful in backporting this to v14 as there is something there that caused the problem.

Copy link
Copy Markdown
Member

@devsnek could you rebase?

SimenB commented Oct 24, 2020

Copy link
Copy Markdown
Member

Note that if you're testing with jest@26.5.0 or newer, it no longer uses compileFunction - we moved back to vm.Script due to #35375. Verify jest-runtime is on an older release than that to test with compileFunction

Copy link
Copy Markdown
Member

I've been using the same setup I used last time (which the last time I used my windows laptop).

Comment thread doc/api/vm.md Outdated

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

aduh95 added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 5, 2021

Copy link
Copy Markdown
Collaborator

This reverts commit 2d5d773.

See: nodejs#32985
See: nodejs#33364
See: nodejs#33166
Fixes: nodejs#31860

PR-URL: nodejs#35431
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
devsnek merged commit bf2f2b7 into nodejs:master Feb 5, 2021
devsnek deleted the revert-revert-ugh branch February 5, 2021 15:19
danielleadams pushed a commit that referenced this pull request Feb 16, 2021
This reverts commit 2d5d773.

See: #32985
See: #33364
See: #33166
Fixes: #31860

PR-URL: #35431
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
This was referenced Feb 16, 2021
targos added the baking-for-lts PRs that need to wait before landing in a LTS release. label May 27, 2021
targos removed the baking-for-lts PRs that need to wait before landing in a LTS release. label Sep 16, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vm.compileFunction is missing importModuleDynamically

7 participants


Back | FazBrowse Home | New Git URL