Skip to content

Roadmap for stabilization of vm modules #37648

Open

Description

@targos

Activity

  1. added
    esmIssues and PRs related to the ECMAScript Modules implementation.
    help wantedIssues that need assistance from volunteers or PRs that need help to proceed.
    vmIssues and PRs related to the vm subsystem.
    on Mar 7, 2021
  2. SimenB commented on Mar 7, 2021

    @SimenB
    Member

    That last one might be a bug/race condition in Jest's implementation still. I haven't found the time to dig into it properly since opening up the issue, unfortunately. It feels like it's related to some module caching or context GC thing, but that's pure speculation. I have some hope it's related to whatever needs fixing for #36351 (again, speculating)

  3. devsnek commented on Mar 7, 2021

    @devsnek
    Member

    definitely blocked on v8:9968

  4. SimenB commented on Aug 25, 2021

    @SimenB
    Member

    The above linked v8 issue has been closed as fixed now (:tada:) - any idea of when we'll know if it's enough for Node's use cases?

  5. targos commented on Aug 25, 2021

    @targos
    MemberAuthor

    The commit fixing the above V8 issue is in V8 9.4. I'll probably open a PR upgrading to that version next week.

  6. devsnek commented on Aug 25, 2021

    @devsnek
    Member

    it is not fixed quite yet, check v8:10284

  7. SimenB commented on Aug 25, 2021

    @SimenB
    Member

    Ah ok, thanks for the link! Seems there's quite a bit of activity recently, so hopefully it's not too far away 🙂

  8. vjeux commented on Feb 2, 2022

    @vjeux

    Just wanted to say that Jest is blocked on those tasks being completed in order to properly support ESM. It would be amazing if this could be prioritized!

  9. jasonwilliams commented on Feb 28, 2022

    @jasonwilliams

    Vitest is also blocked on those tasks too by the looks of vitest-dev/vitest#795 (comment). It seems to segfault on vm.runInThisContext when ran in debug mode on VSCode

  10. benmccann commented on Mar 8, 2022

    @benmccann
    Contributor

    I got another segfault in Vitest: vitest-dev/vitest#317

  11. piranna commented on Jun 7, 2022

    @piranna
    Contributor

    bytenode is also blocked by this.

  12. added
    experimentalIssues and PRs related to experimental features.
    never-staleIssues and PRs exempt from automated stale handling.
    on Jul 19, 2022
  13. 44 remaining items

  14. joyeecheung commented on Apr 13, 2026

    @joyeecheung
    Member

    For those who are still watching - I opened a new proposal for revamping the API so that we can stablize it after addressing the current known issues with a new design #62720

  15. LeonxLJX commented on Sep 1, 2026

    @LeonxLJX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    esmIssues and PRs related to the ECMAScript Modules implementation.experimentalIssues and PRs related to experimental features.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.loadersIssues and PRs related to ES module loaders.never-staleIssues and PRs exempt from automated stale handling.vmIssues and PRs related to the vm subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions