Skip to content

Conversation

@tculig
Copy link
Contributor

@tculig tculig commented Nov 10, 2025

Description

vscode.env.appName is defined as "The application name of the editor, like 'VS Code'."
The expectation is that this will be "Azure Data Studio" when running inside Azure Data Studio.

Issue while testing: Latest version of Azure Data Studio uses vscode 1.82.0, which is now over 2 years old.
It doesn't support Chat participant features and some others which are being heavily used in our extension.
Making a build which will work with Azure Data Studio has thusly proved to be quite a blocker.
Also, notably, Microsoft is retiring Azure Data Studio on February 28th, 2026: https://azure.microsoft.com/en-us/products/data-studio

Example app_names:

image image

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@tculig tculig requested a review from a team as a code owner November 10, 2025 11:33
@tculig tculig changed the title chore: Add running environment to telemetry chore: Add running environment to telemetry VSCODE-352 Nov 10, 2025
@tculig tculig marked this pull request as draft November 10, 2025 11:39
return {
extension_version: `${version}`,
device_id: this.deviceId,
app_name: vscode.env.appName, // e.g., "Visual Studio Code" or "Azure Data Studio"
Copy link
Contributor

Choose a reason for hiding this comment

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

could this be undefined? we should fallback to Visual Studio Code - Unknown or something like that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As far as I can tell, this should never be undefiend, but even if it is, is that an issue for the telemetry consumers?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, just makes it more intentional / easier for us to track what scenario happened

@tculig tculig marked this pull request as ready for review November 11, 2025 09:54
@tculig tculig merged commit cd9ae51 into main Nov 11, 2025
15 checks passed
@tculig tculig deleted the VSCODE-352-attach-running-environment-to-telemetry branch November 11, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants