Repository navigation
src: do not enable the inspector during snapshot building - #67154
Conversation
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67154 +/- ##
==========================================
- Coverage 90.68% 90.67% -0.02%
==========================================
Files 797 797
Lines 279367 279381 +14
Branches 53737 53741 +4
==========================================
- Hits 253344 253324 -20
- Misses 16319 16354 +35
+ Partials 9704 9703 -1
🚀 New features to boost your workflow:
|
legendecas
left a comment
There was a problem hiding this comment.
LGTM but linter is complaining.
b0271b9 to
7feef72
Compare
|
Force-pushed to sign it off and fixed the linter complaint. |
V8 no longer allows attaching a debuger or setting a debug context ID during snapshot building. Avoid enabling the inspector in this case, and reject the inspector options when the user-land --build-snapshot is used. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/8679045 Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
d475908 to
e6e89f9
Compare
|
Not sure why linter is failing at |
|
CI is finally green. @legendecas can you take a look again? Also need another approval to land maybe @nodejs/build @nodejs/v8-update would be interested in taking a look.. |
|
Should this have semver/dont-land labels? |
It's a very niche use case and I doubt this was actually even working before, even if people did manage to make it work somehow it's unlikely to be used in automated tests since it's for debugging the snapshot building process with the inspector. I think it should be safe to land in older versions. |
|
Landed in 5e893ce |
V8 no longer allows attaching a debuger or setting a debug context ID during snapshot building. Avoid enabling the inspector in this case, and reject the inspector options when the user-land --build-snapshot is used. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/8679045 Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> PR-URL: #67154 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
V8 no longer allows attaching a debuger or setting a debug context ID during snapshot building. Avoid enabling the inspector in this case, and reject the inspector options when the user-land --build-snapshot is used.
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/8679045