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

worker: fix --abort-on-uncaught-exception handling by addaleax · Pull Request #34724 · nodejs/node · GitHub

/ node Public

worker: fix --abort-on-uncaught-exception handling - #34724

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:worker-uncaught-exception
Closed

worker: fix --abort-on-uncaught-exception handling#34724
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:worker-uncaught-exception

Conversation

Copy link
Copy Markdown
Member

The set_abort_on_uncaught_exception(false) line was supposed to
prevent aborting when running Workers in
--abort-on-uncaught-exception mode, but it was incorrectly set
and not checked properly in the should-abort callback.

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

The `set_abort_on_uncaught_exception(false)` line was supposed to
prevent aborting when running Workers in
`--abort-on-uncaught-exception` mode, but it was incorrectly set
and not checked properly in the should-abort callback.
nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Aug 11, 2020
addaleax added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Aug 11, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 11, 2020

Copy link
Copy Markdown
Collaborator

jasnell added the fast-track PRs that do not need to wait for 48 hours to land. label Aug 11, 2020

jasnell commented Aug 11, 2020

Copy link
Copy Markdown
Member

fast-track?

Copy link
Copy Markdown
Collaborator

jasnell pushed a commit that referenced this pull request Aug 11, 2020
The `set_abort_on_uncaught_exception(false)` line was supposed to
prevent aborting when running Workers in
`--abort-on-uncaught-exception` mode, but it was incorrectly set
and not checked properly in the should-abort callback.

PR-URL: #34724
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>

jasnell commented Aug 11, 2020

Copy link
Copy Markdown
Member

Landed in fd038a1

Copy link
Copy Markdown
Contributor

This doesn't land cleanly on v14.x, as it relies on #32984 which hasn't landed yet. Adding the backport requested label

addaleax deleted the worker-uncaught-exception branch August 17, 2020 20:56

Copy link
Copy Markdown
Member Author

@MylesBorins I’ll open a backport PR anyway, since it seems like waiting for #32984 to be backported will take a while

addaleax added a commit to addaleax/node that referenced this pull request Aug 17, 2020
The `set_abort_on_uncaught_exception(false)` line was supposed to
prevent aborting when running Workers in
`--abort-on-uncaught-exception` mode, but it was incorrectly set
and not checked properly in the should-abort callback.

PR-URL: nodejs#34724
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
BethGriggs pushed a commit that referenced this pull request Aug 18, 2020
The `set_abort_on_uncaught_exception(false)` line was supposed to
prevent aborting when running Workers in
`--abort-on-uncaught-exception` mode, but it was incorrectly set
and not checked properly in the should-abort callback.

PR-URL: #34724
Backport-PR-URL: #34815
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
danielleadams mentioned this pull request Aug 20, 2020
BethGriggs pushed a commit that referenced this pull request Aug 20, 2020
The `set_abort_on_uncaught_exception(false)` line was supposed to
prevent aborting when running Workers in
`--abort-on-uncaught-exception` mode, but it was incorrectly set
and not checked properly in the should-abort callback.

PR-URL: #34724
Backport-PR-URL: #34815
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
addaleax added a commit that referenced this pull request Sep 23, 2020
The `set_abort_on_uncaught_exception(false)` line was supposed to
prevent aborting when running Workers in
`--abort-on-uncaught-exception` mode, but it was incorrectly set
and not checked properly in the should-abort callback.

PR-URL: #34724
Backport-PR-URL: #34815
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
codebytere mentioned this pull request Sep 28, 2020
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. c++ Issues and PRs that require attention from people who are familiar with C++. fast-track PRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL