Skip to content

[0.76] Fix init-windows template default not set for telemetry purposes #14755

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 2 commits into from
Jun 16, 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:15
@jonthysell jonthysell enabled auto-merge (squash) June 10, 2025 17:38
@jonthysell jonthysell merged commit 029219b into microsoft:0.76-stable Jun 16, 2025
101 checks passed
@jonthysell jonthysell deleted the initdef76 branch June 17, 2025 15:36
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