GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — inspector: split main thread interface from transport by eugeneo · Pull Request #21182 · nodejs/node

Conversation

@eugeneo

@eugeneo eugeneo commented Jun 6, 2018

Copy link
Copy Markdown
Contributor

Workers debugging will require interfacing between the "main" inspector
and per-worker isolate inspectors. This is consistent with what WS
interface does. This change is a refactoring change and does not change
the functionality.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. labels Jun 6, 2018
eugeneo
eugeneo commented Jun 6, 2018
View reviewed changes
Comment thread src/signal_wrap.cc Outdated

@eugeneo eugeneo Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Here I am unsure about the semantics. Do we want this warning printed out when Inspector is installed on the isolate (which is currently "always", because of JS API and _debugProcess support) or when the WS server is running.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
eugeneo
eugeneo commented Jun 6, 2018
View reviewed changes
Comment thread src/inspector_agent.cc Outdated

@eugeneo eugeneo Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

My understanding is that make_shared should be fine as it is a part of C++11 (make_unique was introduced shortly after C++11)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread src/inspector_agent.h Outdated

@eugeneo eugeneo Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Fixed locally, will upload when addressing future review comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_io.cc Outdated

@eugeneo eugeneo Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks like this is a first usage of std::weak_ptr in Node codebase. Standard seems to require it to be thread-safe. I would like to confirm with people familiar with less wide-spread platforms it is ok to use it here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread test/parallel/test-warn-sigprof.js Outdated

@eugeneo eugeneo Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This change is because I assume handling SIGPROF should only produce the warning when the WS server is running

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
eugeneo
eugeneo commented Jun 6, 2018
View reviewed changes
Comment thread test/cctest/test_inspector_socket_server.cc Outdated

@eugeneo eugeneo Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Will remove this delta in next upload.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
addaleax
addaleax reviewed Jun 7, 2018
View reviewed changes

@addaleax addaleax left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Nice work! I’ll need more time to look at this in detail, but I’ll try to do it if I find that time.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread node.gyp Outdated

@addaleax addaleax Jun 7, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

These two headers don’t exist anymore, I think we want to remove them from this PR?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jun 7, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jun 7, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you mark these override?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jun 7, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jun 7, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

style nit: static_cast

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jun 7, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eugeneo

eugeneo commented Jun 7, 2018

Copy link
Copy Markdown
Contributor Author

Thanks for the review.
Please note there are tests failing (apparently, everywhere except Debian I'm using locally) - I will be addressing them. I do not expect having to change anything drastically.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo eugeneo mentioned this pull request Jun 7, 2018
Inspector tests leaving around stale processes nodejs/reliability#5
Closed
@eugeneo

eugeneo commented Jun 11, 2018

Copy link
Copy Markdown
Contributor Author

This PR needs bit more significant changes then anticipated, it is still in progress.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo

eugeneo commented Jun 16, 2018

Copy link
Copy Markdown
Contributor Author

I've uploaded a new change and this PR is now ready for review. This change addresses a race condition that caused some inspector tests to become unreliable, I will run stress tests to confirm it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo eugeneo mentioned this pull request Jun 16, 2018
Worker debug #21364
Merged
3 tasks done
@eugeneo

eugeneo commented Jun 17, 2018

Copy link
Copy Markdown
Contributor Author

CI link (all green): https://ci.nodejs.org/job/node-test-pull-request/15500/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo

eugeneo commented Jun 17, 2018

Copy link
Copy Markdown
Contributor Author

Stress tests: https://ci.nodejs.org/job/node-stress-single-test/1926/nodes=win2016-1p-vs2017/console

My understanding is that the tests were not flaky. Did I have to remove them from the flaky tests list first?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TimothyGu
TimothyGu reviewed Jun 17, 2018
View reviewed changes

@TimothyGu TimothyGu left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

A few nits.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_io.h Outdated

@TimothyGu TimothyGu Jun 17, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This comment should move with class Environment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jun 18, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_io.cc Outdated

@TimothyGu TimothyGu Jun 17, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

One more level of indentaiton.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jun 18, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jasnell
jasnell approved these changes Jun 21, 2018
View reviewed changes

@jasnell jasnell left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM but I'd like @addaleax to review also :-)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eugeneo

eugeneo commented Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

I did a rebase. I was unable to reintegrate WS messages logging, it was not implemented correctly (was accessing env from the non-main thread). Is it really necessary?

CI: https://ci.nodejs.org/job/node-test-pull-request/15770/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo

eugeneo commented Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

@addaleax can you please take a look?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo

eugeneo commented Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

Another CI, previous push excluded some fixes from another workstation: https://ci.nodejs.org/job/node-test-pull-request/15772/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax
addaleax reviewed Jul 9, 2018
View reviewed changes
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

nit: I’d use std::shared_ptr<T> object here explicitly, and std::shared_ptr<T> object_; as the member, to be clearer about how this is being used

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done. Added some asserts to ensure resetting the pointer actually destroys the object.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

nit: This can just be an inline lambda, that makes it a bit more readable since it’s much closer to the call site then

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

style nit: Leave a space between method definitions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

It might be good to add a comment explaining what “Block” means in this context (It’s not clear to me at this point)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I renamed the class, hope now it is more clear. It is meant to keep the parts of the state that live on another thread separate.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Is this unused?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Removed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector/main_thread_interface.h Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you add a comment indicating which members exactly are protected by this lock?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done. Also, renamed the lock.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_agent.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

const v8_inspector::StringView&?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_io.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

(tiny) style nit: put : on the next line

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_io.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Might be worth using std::deque<Message> for some struct Message { … }; instead, for readability?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/inspector_io.cc Outdated

@addaleax addaleax Jul 9, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I’d personally make both of these lambdas as well, for readability

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@eugeneo eugeneo Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@addaleax addaleax mentioned this pull request Jul 9, 2018
Investigate flaky sequential/test-inspector-break-when-eval #21725
Closed
@eugeneo

eugeneo commented Jul 9, 2018

Copy link
Copy Markdown
Contributor Author

Thank you for the review. I addressed the comments.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax
addaleax approved these changes Jul 9, 2018
View reviewed changes
@eugeneo eugeneo added the wip Issues and PRs that are still a work in progress. label Jul 10, 2018
@eugeneo

eugeneo commented Jul 10, 2018

Copy link
Copy Markdown
Contributor Author

Investigating a test failure.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo

eugeneo commented Jul 10, 2018

Copy link
Copy Markdown
Contributor Author

Stress test for the fixed Windows failure: https://ci.nodejs.org/job/node-stress-single-test/1943/

New CI for this change: https://ci.nodejs.org/job/node-test-pull-request/15786/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo eugeneo removed the wip Issues and PRs that are still a work in progress. label Jul 10, 2018
@eugeneo

eugeneo commented Jul 10, 2018

Copy link
Copy Markdown
Contributor Author

100 iterations of the tests marked as flaky on Windows - https://ci.nodejs.org/job/node-stress-single-test/nodes=win2012r2-mp-vs2017/1944/

Looks like no failures, there is some weird macOS 10.10 failure, will need to investigate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo eugeneo added the wip Issues and PRs that are still a work in progress. label Jul 10, 2018
@eugeneo

eugeneo commented Jul 12, 2018

Copy link
Copy Markdown
Contributor Author

I redid management for objects living on another thread. CI is green now: https://ci.nodejs.org/job/node-test-pull-request/15816/

I also run a stress test on a number of inspector flaky tests, seems like they should be fixed now.

Delta with the reviewed version: 14cb71a

I do not think the changes are big enough to invalidate the approvals, but I will wait a couple days in case there are any comments.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo eugeneo removed the wip Issues and PRs that are still a work in progress. label Jul 12, 2018
Eugene Ostroukhov
inspector: split main thread interface from transport
9cdc163
Workers debugging will require interfacing between the "main" inspector
and per-worker isolate inspectors. This is consistent with what WS
interface does. This change is a refactoring change and does not change
the functionality.

PR-URL: #21182
Fixes: #21725
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@addaleax addaleax added the inspector Issues and PRs related to the V8 inspector protocol. label Jul 13, 2018
addaleax
addaleax approved these changes Jul 13, 2018
View reviewed changes
@addaleax

addaleax commented Jul 13, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

CI failure in the status bar looks weird (edit: see Eugene’s run below)

CI: https://ci.nodejs.org/job/node-test-pull-request/15865/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eugeneo

eugeneo commented Jul 13, 2018

Copy link
Copy Markdown
Contributor Author

CI: https://ci.nodejs.org/job/node-test-pull-request/15856/

There is one failure, when building V8 files on CentOS7. I am fairly confident this can be ignored. I will land the change.

addaleax reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented Jul 13, 2018

Copy link
Copy Markdown
Member

Landed in 39977db

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax closed this Jul 13, 2018
addaleax pushed a commit to addaleax/node that referenced this pull request Jul 13, 2018
Eugene Ostroukhov @addaleax
inspector: split main thread interface from transport
39977db
Workers debugging will require interfacing between the "main" inspector
and per-worker isolate inspectors. This is consistent with what WS
interface does. This change is a refactoring change and does not change
the functionality.

PR-URL: nodejs#21182
Fixes: nodejs#21725
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
addaleax added a commit to addaleax/node that referenced this pull request Jul 13, 2018
@addaleax
test: move inspector test back to parallel, unmark flaky
b11cf20
After nodejs#21182, the test is
no longer flaky.

Since it doesn’t use a static port, moving it to parallel
seems justified.
@addaleax addaleax mentioned this pull request Jul 13, 2018
test: move inspector test back to parallel, unmark flaky #21806
Closed
3 tasks done
@eugeneo
eugeneo deleted the asyncs_io_prepare_worker branch July 14, 2018 00:23
targos pushed a commit that referenced this pull request Jul 14, 2018
Eugene Ostroukhov @targos
inspector: split main thread interface from transport
b229129
Workers debugging will require interfacing between the "main" inspector
and per-worker isolate inspectors. This is consistent with what WS
interface does. This change is a refactoring change and does not change
the functionality.

PR-URL: #21182
Fixes: #21725
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@Trott

Trott commented Jul 15, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Unfortunately, this change seems to have increased the failure of sequential/test-debug-prompt test on OS X 10.10 (Yosemite) in CI from about 0.01% failure to about a 24% failure. See #21724. I'm not sure if the problem lies here or in the test or is something specific to older versions of OS X.

EDIT: PR to possibly fix test: #21826.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax added a commit that referenced this pull request Jul 17, 2018
@addaleax
test: move inspector test back to parallel, unmark flaky
4107bb4
After #21182, the test is
no longer flaky.

Since it doesn’t use a static port, moving it to parallel
seems justified.

PR-URL: #21806
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
targos pushed a commit that referenced this pull request Jul 17, 2018
@addaleax @targos
test: move inspector test back to parallel, unmark flaky
eef975e
After #21182, the test is
no longer flaky.

Since it doesn’t use a static port, moving it to parallel
seems justified.

PR-URL: #21806
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@targos targos mentioned this pull request Jul 17, 2018
v10.7.0 proposal #21851
Merged
This was referenced Jul 18, 2018
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#207
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#208
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#209
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#210
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#211
Closed
@codebytere codebytere mentioned this pull request Jun 19, 2019
repl.start Causes Crash in Renderer electron/electron#18872
Closed
3 tasks done
@pipobscure pipobscure mentioned this pull request Nov 12, 2019
VSCode 1.40 crash after startup with segmentation fault microsoft/vscode#84233
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@addaleax addaleax addaleax approved these changes
+1 more reviewer
@TimothyGu TimothyGu TimothyGu left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol. lib / src Issues and PRs involving general changes in the lib/ or src/ directories.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@eugeneo @addaleax @Trott @jasnell @TimothyGu @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.