Skip to content

[0.78] Fix init-windows template default not set for telemetry purposes #14752

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

Merged
merged 4 commits into from
Jun 13, 2025

Conversation

jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Jun 10, 2025

Description

This PR fixes the issue where telemetry reports the value of the template before it's calculated.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

The template default, when no option was provided, is calculated after telemetry records the value, so it was always blank in such cases.

Resolves #14749

What

Updated initWindowsOptions to include the current template default.

Screenshots

N/A

Testing

Verified the value appears in the debugger.

Changelog

Should this change be included in the release notes: yes

Fix init-windows template default not set for telemetry purposes

Microsoft Reviewers: Open in CodeFlow

…oses

## Description

This PR fixes the issue where telemetry reports the value of the template before it's calculated.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
The template default, when no option was provided, is calculated after telemetry records the value, so it was always blank in such cases.

Resolves microsoft#14749

### What
Updated `initWindowsOptions` to include the current template default.

## Screenshots
N/A

## Testing
Verified the value appears in the debugger.

## Changelog
Should this change be included in the release notes: _yes_

Fix `init-windows` template default not set for telemetry purposes
@jonthysell jonthysell requested a review from a team as a code owner June 10, 2025 17:01
@jonthysell jonthysell enabled auto-merge (squash) June 10, 2025 17:38
@jonthysell jonthysell merged commit fcff6e8 into microsoft:0.78-stable Jun 13, 2025
88 checks passed
@jonthysell jonthysell deleted the initdef78 branch June 13, 2025 22:13
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.

2 participants