Skip to content

Conversation

@lramos15
Copy link
Member

This upgrades the vscode-extension-telemetry module to the latest version which includes security fixes, web support, and a new centralized place for telemetry logging.

I did notice that there are 14 moderate security problems with npm modules when running npm install but didn't want to break anything so left them be.

@brettcannon brettcannon added the no-changelog No news entry required label Jul 26, 2021
@brettcannon
Copy link
Member

FYI the CI failure looks like a bit of flakiness.

Copy link

@kimadeline kimadeline left a comment

Choose a reason for hiding this comment

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

The security problems should be addressed by #16658.

@karthiknadig
Copy link
Member

@kimadeline Do we want to bump the lock file version? "lockfileVersion": 2,

@kimadeline
Copy link

@karthiknadig The documentation says the following about lockfileVersion:

2: The lockfile version used by npm v7, which is backwards compatible to v1 lockfiles.

Even though we are using npm 6, this should be fine. npm 7 GAed in February 2021 (blog post), it would be nice to eventually upgrade as well 🙂

@lramos15
Copy link
Member Author

Please hold off merging this as some additional APIs are are needed from the vscode side and this has a bug of creating duplicate log channels.

"vscode-debugadapter": "^1.28.0",
"vscode-debugprotocol": "^1.28.0",
"vscode-extension-telemetry": "0.1.4",
"vscode-extension-telemetry": "0.2.2",

Choose a reason for hiding this comment

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

@lramos15 Should it be updated to 0.2.8 now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, but I would still hold out as I've had to bump the version a bunch due to some issues with the web component

@jakebailey
Copy link
Member

jakebailey commented Aug 10, 2021

Even though we are using npm 6, this should be fine. npm 7 GAed in February 2021 (blog post), it would be nice to eventually upgrade as well 🙂

FWIW, you don't want to do this, because the CI builder is still using npm 6, so when it installs to build and test, it will use a completely different set of dependencies because it can't handle the new lockfile format. (You'll see on install it says "okay, I'll do my best")

@jakebailey
Copy link
Member

FWIW this will be required for #16871, as the current build doesn't have a browser version.

@jakebailey
Copy link
Member

I filed microsoft/vscode-extension-telemetry#67, but the latest version drops a parameter that we use from the d.ts files (though not the implementation); this will prevent an upgrade unless we drop all exception data.

@jakebailey
Copy link
Member

Done in #17010.

@jakebailey jakebailey closed this Aug 18, 2021
@kimadeline kimadeline deleted the dev/lramos15/bumpTelemetry branch November 4, 2021 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants