Skip to content

Comments

Cherry-pick: Fixing reset activity data on deployment initialization#6227

Open
guimafelipe wants to merge 3 commits intorelease/1.8-stablefrom
user/felipeda/cherry-pick-reset-activity-1.8
Open

Cherry-pick: Fixing reset activity data on deployment initialization#6227
guimafelipe wants to merge 3 commits intorelease/1.8-stablefrom
user/felipeda/cherry-pick-reset-activity-1.8

Conversation

@guimafelipe
Copy link
Contributor

Cherry-pick of #5865 to release/1.8-stable.

Summary

On the method Initialize from the deployment manager, the two inside methods InstallLicences and DeployPackages were resetting the activity data without setting it back, causing loss of data on our telemetry measurements.

Install licences

Moved the Reset() call from inside the license-file loop to the beginning of the method, keeping the install stage info while clearing stale data.

Deploy packages

Added a Reset() call at the beginning of the method and moved SetInstallStage(AddPackage) inside the per-package loop (after the per-package Reset()).

Original PR: #5865

@guimafelipe
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@guimafelipe guimafelipe marked this pull request as ready for review February 19, 2026 21:57
@guimafelipe guimafelipe force-pushed the user/felipeda/cherry-pick-reset-activity-1.8 branch from b802efc to 7190c07 Compare February 19, 2026 22:28
Wrap the telemetry reset behavior changes with containment gates
using WINAPPSDK_CHANGEID_12345 so the fix can be rolled back if needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@guimafelipe guimafelipe force-pushed the user/felipeda/cherry-pick-reset-activity-1.8 branch from 7190c07 to 57501f2 Compare February 19, 2026 22:33
@guimafelipe
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@guimafelipe guimafelipe enabled auto-merge (squash) February 20, 2026 20:12
@agniuks
Copy link
Contributor

agniuks commented Feb 21, 2026

we should merge and rebuild once #6245 is in

@agniuks
Copy link
Contributor

agniuks commented Feb 21, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants