Skip to content
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

Enable logging only for ext test telemetry #194056

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

lramos15
Copy link
Member

When running an extension test we will log telemetry to allow for debugging but not send it. This is done by extending our logging only support. Can test via

./scripts/code.sh --extensionTestsPath foo

one major caveat is multiple windows of VS Code from the same executable will inherit whatever the initial launched window has (i.e. if it was running a test or not) due to shared processes being shared across windows. There's no easy way aroudn this, but this should unblock most testing cases since they use their own VS Code executable pulled down from the vscode test electron package.

@lramos15 lramos15 self-assigned this Sep 25, 2023
@lramos15 lramos15 enabled auto-merge (squash) September 25, 2023 20:11
@VSCodeTriageBot VSCodeTriageBot added this to the September 2023 milestone Sep 25, 2023
@lramos15 lramos15 merged commit 8a7288f into main Sep 25, 2023
15 of 19 checks passed
@lramos15 lramos15 deleted the lramos15/ext-telemetry-logging branch September 25, 2023 22:13
lins0621 pushed a commit to lins0621/vscode that referenced this pull request Oct 7, 2023
Attempt to enable logging only for ext test telemetry
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants