GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — test: support inspecting WPTs in child processes by panva · Pull Request #65510 · nodejs/node Conversation
Member
This addresses the inspector debugging limitation described in #51854 and builds on the selectable thread/process WPT backend introduced in c757550. WPT specs running in worker threads make attaching an inspector to an individual test difficult, this adds an opt-in
Also document WPT execution backends (which I failed to do in c757550), source and generated test selectors, runner options, and the inspector workflow.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsDescribe how to run WPT modules, select source files or generated tests, and choose the existing thread or process backend. Document the WPTRunner options and remove duplicated run instructions. Signed-off-by: Filip Skokan <[email protected]> Add WPT_INSPECT to launch one generated main-thread test with --inspect-brk on an available port. Forward debugger stderr so an inspector client can attach while the child is paused. Require an exact generated test path and reject worker variants, whose test code runs in a nested Worker. Cover backend precedence, selector errors, inspector attachment, and clean shutdown. Refs: nodejs#51854 Signed-off-by: Filip Skokan <[email protected]>
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #65510 +/- ## ========================================== - Coverage 90.14% 90.13% -0.01% ========================================== Files 751 751 Lines 252709 253549 +840 Branches 47557 47764 +207 ========================================== + Hits 227800 228547 +747 - Misses 16206 16256 +50 - Partials 8703 8746 +43 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 7b6b21a...49c87ef |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Describe how to run WPT modules, select source files or generated tests, and choose the existing thread or process backend. Document the WPTRunner options and remove duplicated run instructions. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add WPT_INSPECT to launch one generated main-thread test with --inspect-brk on an available port. Forward debugger stderr so an inspector client can attach while the child is paused. Require an exact generated test path and reject worker variants, whose test code runs in a nested Worker. Cover backend precedence, selector errors, inspector attachment, and clean shutdown. Refs: #51854 Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Describe how to run WPT modules, select source files or generated tests, and choose the existing thread or process backend. Document the WPTRunner options and remove duplicated run instructions. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add WPT_INSPECT to launch one generated main-thread test with --inspect-brk on an available port. Forward debugger stderr so an inspector client can attach while the child is paused. Require an exact generated test path and reject worker variants, whose test code runs in a nested Worker. Cover backend precedence, selector errors, inspector attachment, and clean shutdown. Refs: #51854 Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Describe how to run WPT modules, select source files or generated tests, and choose the existing thread or process backend. Document the WPTRunner options and remove duplicated run instructions. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add WPT_INSPECT to launch one generated main-thread test with --inspect-brk on an available port. Forward debugger stderr so an inspector client can attach while the child is paused. Require an exact generated test path and reject worker variants, whose test code runs in a nested Worker. Cover backend precedence, selector errors, inspector attachment, and clean shutdown. Refs: #51854 Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Describe how to run WPT modules, select source files or generated tests, and choose the existing thread or process backend. Document the WPTRunner options and remove duplicated run instructions. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add WPT_INSPECT to launch one generated main-thread test with --inspect-brk on an available port. Forward debugger stderr so an inspector client can attach while the child is paused. Require an exact generated test path and reject worker variants, whose test code runs in a nested Worker. Cover backend precedence, selector errors, inspector attachment, and clean shutdown. Refs: #51854 Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
Describe how to run WPT modules, select source files or generated tests, and choose the existing thread or process backend. Document the WPTRunner options and remove duplicated run instructions. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65510 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: James M Snell <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.