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

src: disable abort exceptions for module loading #50987

Merged
merged 1 commit into from Dec 3, 2023

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented Dec 1, 2023

Fixes #50878.

Thanks @joyeecheung for the tip on temporarily disable abort_on_uncaught_exception while checking for modules.

cc @nodejs/loaders @nodejs/cpp-reviewers

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem. labels Dec 1, 2023
@anonrig anonrig force-pushed the fix-contains-module-syntax branch 4 times, most recently from 7e81ca2 to 080b5c9 Compare December 1, 2023 01:25
@anonrig anonrig added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Dec 1, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 1, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

src/node_contextify.cc Outdated Show resolved Hide resolved
@joyeecheung
Copy link
Member

The commit message is not quite accurate, it should be something like "disable uncaught exception abortion for ESM syntax detection"

@anonrig anonrig added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 2, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 2, 2023
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@targos targos left a comment

Choose a reason for hiding this comment

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

I want at least an answer on #50987 (comment)

@anonrig
Copy link
Member Author

anonrig commented Dec 3, 2023

I want at least an answer on #50987 (comment)

Sorry @targos. I missed your comment! It seems your suggestion is better. I applied the proposed changes.

@anonrig anonrig added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 3, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 3, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@anonrig anonrig added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 3, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 3, 2023
@nodejs-github-bot nodejs-github-bot merged commit 951d00d into nodejs:main Dec 3, 2023
53 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 951d00d

targos pushed a commit that referenced this pull request Dec 4, 2023
PR-URL: #50987
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
@targos targos mentioned this pull request Dec 4, 2023
Mateusz-Kopec pushed a commit to Mateusz-Kopec/node that referenced this pull request Mar 6, 2024
PR-URL: nodejs#50987
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Mateusz-Kopec pushed a commit to Mateusz-Kopec/node that referenced this pull request Mar 6, 2024
PR-URL: nodejs#50987
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>

Backport-PR-URL: nodejs#51989
@anonrig anonrig added lts-watch-v18.x PRs that may need to be released in v18.x. lts-watch-v20.x PRs that may need to be released in v20.x labels Mar 6, 2024
richardlau pushed a commit that referenced this pull request Mar 25, 2024
PR-URL: #50987
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
@richardlau richardlau mentioned this pull request Mar 25, 2024
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 pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. lts-watch-v18.x PRs that may need to be released in v18.x. lts-watch-v20.x PRs that may need to be released in v20.x needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem.
Projects
None yet
7 participants