Uh oh!
There was an error while loading. Please reload this page.
src: handle report options on fatalerror - #32497
Conversation
sam-github
commented
Mar 26, 2020
Which is kindof the point... I'll look into suppressing that. And it seems the markdown linter has dozens of complaints about the collaborator and cpp style guides. |
gireeshpunathil
commented
Mar 26, 2020
@sam-github - do you have a test case / story from users that reproduce the issue you are solving here? |
richardlau
commented
Mar 26, 2020
Getting rid of the
Where are you seeing those? |
sam-github
commented
Mar 26, 2020
@gireeshpunathil Its the same case as previous, the previous fix was to make it posible to check the value of --report-on-fatalerror. Now that is checked, and the value of report-on-fatalerror is respected. But actually triggering the report requires access to 3 other cli report values (filename, dirname, compact). Those aren't reachable under the same conditions that report-on-fatalerror did not used to be reachable. I'll extend the tests to show this. |
cca1bae to
e5cd075Comparesam-github
commented
Mar 26, 2020
@gireeshpunathil I expanded the test suite, run with a version of node predating this and you can see what used to fail. |
e5cd075 to
7400dd2Comparenodejs-github-bot
commented
Mar 26, 2020
sam-github
commented
Mar 26, 2020
@nodejs/diagnostics PTAL |
nodejs-github-bot
commented
Mar 26, 2020
sam-github
commented
Mar 26, 2020
Recurring failure is unrelated: #32510 |
nodejs-github-bot
commented
Mar 26, 2020
nodejs-github-bot
commented
Mar 27, 2020
addaleax
left a comment
There was a problem hiding this comment.
As @cjihrig pointed out in #32535 (review), this is missing guards to protect against race conditions.
Follow on to nodejs#32207, 3 other options are also not respected under situations that the isolate is not available.
7400dd2 to
921d4e0Comparenodejs-github-bot
commented
Mar 30, 2020
nodejs-github-bot
commented
Mar 30, 2020
nodejs-github-bot
commented
Mar 31, 2020
sam-github
commented
Mar 31, 2020
@addaleax I have implemented the locking, PTAL |
sam-github
commented
Mar 31, 2020
Follow on to nodejs#32207, 3 other options are also not respected under situations that the isolate is not available. PR-URL: nodejs#32497 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Follow on to #32207, 3 other options
are also not respected under situations that the isolate is not
available.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes