-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added the VSCode-SessionId
for extension queries Issue2961
#153271
Conversation
Adding the `VSCode-sessionId` header to extension query request
src/vs/platform/extensionManagement/common/extensionGalleryService.ts
Outdated
Show resolved
Hide resolved
@@ -153,3 +158,51 @@ suite('Extension Gallery Service', () => { | |||
return { version, targetPlatform } as IRawGalleryExtensionVersion; | |||
} | |||
}); | |||
|
|||
class MockTelemetryService implements ITelemetryService { |
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.
Please use the NullTelemetryService instead
export const NullTelemetryService = new NullTelemetryServiceShape(); |
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.
Thanks, fixed it!
What is the best way to send PR, should I talk to you first?
I am still getting familiar with the code base; I don't want to be wasting your time in review :)
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.
Either way works. If it is a small one like this, you can go ahead and create a PR like here and ask for review. If its a big change reaching out and discussing will definitely save time for you 👍
Added the
VSCode-SessionId
for extension queries