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: bring in inspector_protocol as a direct dependency by aslushnikov · Pull Request #76 · v8/node

Conversation

@aslushnikov

@aslushnikov aslushnikov commented Jul 25, 2018

Copy link
Copy Markdown

This patch adds
inspector_protocol
as a direct dependency to node.js. Inspector Protocol is used in node.js
tracing, and this is required to be able to roll protocol independently
from v8.

This is necessary to roll protocol to v8: v8 patch

inspector_protocol dependency comes with two more libs:

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

Sorry, something went wrong.

Uh oh!

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

All reactions
hashseed and others added 28 commits July 11, 2018 08:39
@hashseed
Update Node.js to 8174d0c
d57325b
@hashseed
Restore README.md
456581b
@rryk @hashseed
node-gyp: support for Chromium versions of Python
8fcc375
@agrieve @hashseed
Enhancements to --build-v8-with-gn
8076a08
* Split "gn gen" and "ninja" invocations into two separate actions
* Make the ninja action use console pool so that progress is shown
* Set DEPOT_TOOLS_WIN_TOOLCHAIN=0 by default (to avoid non-googlers
being asked for credentials)
* Propagate depot_tools path to "gn gen" step (it runs vs_toolchain.py)
* Add flags for clang-cl, setting gn args, sub-ninja -j and -l parameters
@agrieve @hashseed
Fix ninja builds on Windows
49c10f5
 * Fixed several hardcoded paths to use <(STATIC_LIB_PREFIX) &
   <(STATIC_LIB_SUFFIX)
 * Added GENERATOR=='ninja' conditionals to /WHOLEARCHIVE flags (msbuild
   puts .lib files under separate directories).
 * Add missing link_settings for v8_monolith
 * Set use_sysroot=false only for non-windows builds.

To build using clang-cl:
    python configure --build-v8-with-gn --use-clang-cl --ninja
@agrieve @hashseed
Properly convert .gypi -> .json in js2c.py
124650a
It was breaking when .gypi strings had quotes in them. e.g.:
  'foo': 'bar="baz"'
@agrieve @hashseed
Fix --use-clang-cl flag.
fd66b85
It needed to be passed via "make_global_settings" rather than
environment variable.
@agrieve @hashseed
Forward DEPOT_TOOLS_WIN_TOOLCHAIN_ROOT
05d782b
@mi-ac @hashseed
tools: properly convert .gypi in install.py
570fd7e
It was breaking during install when .gypi strings had quotes in
them. e.g.: 'foo': 'bar="baz"'
@hashseed
Fix configure for build_v8_with_gn_depot_tools
427afa4
@hashseed
Fix tests failures and propagate untrusted-code-mitigations flag
a2f9a4c
Gabriel Charette @hashseed
src: use modern v8::Platform worker threads APIs
0c5c2c0
Precursor to removing deprecated APIs on the v8 side @
https://chromium-review.googlesource.com/c/v8/v8/+/1045310
@gahaas @hashseed
src: initialize PerIsolateData eagerly
625d843
@bmeurer @hashseed
v8: Prepare for swallowed rejection hook.
d11dafa
This is done in preparation for landing

  https://chromium-review.googlesource.com/c/v8/v8/+/1126099

on the V8 side, which extends the existing PromiseRejectEvent mechanism
with new hooks for reject/resolve after a Promise was previously
resolved already.

Refs: nodejs/promises-debugging#8
Design: https://goo.gl/2stLUY
@hashseed
test: remove parallel/test-v8-stats.js
eab77c7
@hashseed
Update V8 to 80508f1457
a2d3495
@hashseed
Fix node_test_fixture.h
0316fdf
@RReverser @hashseed
test: fix scriptParsed event expectations
e3636fb
As per Node.js docs, vm.Script instance is not bound to any context.

However, this test was expecting otherwise and depended on
implementation details which are going to change.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/1013581
@targos @hashseed
src: update NODE_MODULE_VERSION to 66
c4f0452
Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 6.9.

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
@alexkozy @hashseed
test: fix inspector tests after V8 upgrade
d5a76af
V8 improved break locations for the node --inspect-brk -e case.
@hashseed
Bump ICU to 62.1
820faa8
@hashseed
Temporarily remove doctool/test-make-doc
c59d247
@backes @hashseed
tools: Remove lldbinit file from install script
43906ca
In v8 we want to remove the lldbinit file (https://crrev.com/c/1127892).
In order to not brake node.js, we need to remove it here first.
@hashseed
Update V8 to a37b78bd90
7571231
@hashseed
Simplify python version string parsing
14e8565
@hashseed
Update V8 to b819afeb4f
94831af
@hashseed
Update to renamed inspector scripts
b450796
@aslushnikov
Bring in inspector_protocol as a direct dependency
c9b5b9e
This patch adds
[inspector_protocol](https://www.google.com/url?q=https://chromium.googlesource.com/deps/inspector_protocol/)
as a direct dependency to node.js. Inspector Protocol is used in node.js
tracing, and this is required to be able to roll protocol independently
from v8.

inspector_protocol dependency comes with two more libs:
- jinja2
- markupsafe
@aslushnikov

aslushnikov commented Jul 25, 2018

Copy link
Copy Markdown
Author

@hashseed can you please take a look?

All reactions

Sorry, something went wrong.

Uh oh!

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

@hashseed

hashseed commented Jul 25, 2018

Copy link
Copy Markdown
Member

Can I get some more context? Is the copy of inspector protocol in V8 still required when rolling into V8, e.g. when running v8/tools/node/update_node.py? If yes, please provide a change to that script too. We use it continuous integration. And, do you intend to upstream this change to Node.js?

All reactions

Sorry, something went wrong.

Uh oh!

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

@alexkozy

alexkozy commented Jul 25, 2018

Copy link
Copy Markdown

It looks like right now V8 and node.js use the same inspector_protocol version so when we need to land some protocol changes to V8 we need to roll it in a way that would not break Node.js that makes everything harder. Having two different copies will make rolling inspector_protocol changes much easier since we can roll them separately.

All reactions

Sorry, something went wrong.

Uh oh!

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

@hashseed

hashseed commented Jul 25, 2018

Copy link
Copy Markdown
Member

I see. That means that we no longer have to copy inspector when running v8/tools/node/update_node.py, right? And this will be upstreamed?

All reactions

Sorry, something went wrong.

Uh oh!

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

@alexkozy

alexkozy commented Jul 25, 2018

Copy link
Copy Markdown

I am not sure that I understand what inspector did you mention. I believe we still need both one inside V8 and one inside node. One from V8 is used by inspector inside V8, one from node is used by node inspector_agent.cc.
Yes, it will be upstreamed. Should we create upstream PR?

All reactions

Sorry, something went wrong.

Uh oh!

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

@hashseed

hashseed commented Jul 25, 2018

Copy link
Copy Markdown
Member

I see. So we are not sharing the code between Node and V8, right?

Upstream PR would be great, yes. Once that lands I can just sync with upstream.

All reactions

Sorry, something went wrong.

Uh oh!

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

@aslushnikov aslushnikov mentioned this pull request Jul 25, 2018
inspector: do not depend on v8's inspector_protocol generator nodejs/node#21975
Closed
2 of 4 tasks
@aslushnikov

aslushnikov commented Aug 13, 2018

Copy link
Copy Markdown
Author

@hashseed The node.js part has landed: nodejs#21975

Should I do anything else to land https://chromium-review.googlesource.com/c/v8/v8/+/1149321 ?
The node.js bot is still failing.

All reactions

Sorry, something went wrong.

Uh oh!

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

@hashseed
hashseed force-pushed the vee-eight-lkgr branch 3 times, most recently from 01b19b3 to 0c05ebd Compare October 31, 2018 14:00
@refack

refack commented Nov 28, 2018

Copy link
Copy Markdown

I think this can be closed?

All reactions

Sorry, something went wrong.

Uh oh!

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

@aslushnikov aslushnikov closed this Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

None yet

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.

12 participants

@aslushnikov @hashseed @alexkozy @refack @rryk @agrieve @mi-ac @gahaas @bmeurer @RReverser @targos @backes
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.