Repository navigation
Use correct Subexecution id when working on multiple packages - #1504
Merged
Ashwini Patil (ashpatil-msft) merged 2 commits intoSep 27, 2021
Merged
Ashwini Patil (ashpatil-msft) merged 2 commits into
Ashwini Patil (ashpatil-msft) merged 2 commits into
Conversation
Ashwini Patil (ashpatil-msft)
requested a review
from a team
as a code owner
September 24, 2021 17:48
check-spelling-bot ReportUnrecognized words, please review:
Previously acknowledged words that are now absentATL Bluetooth contosa contosainstaller convertto doctordns DSL etail globals IInstalled Jaifroid JDKs mikefrobbins mytool Nieto powershellexplained xboxTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:ashpatil-msft/winget-cli.git repository In reply to: 926814080 |
JohnMcPMS
approved these changes
Sep 24, 2021
| packageRequest.Scope, | ||
| subExecution.GetCurrentSubExecutionId()}; | ||
|
|
||
| packagesToInstall.emplace_back(std::move(package)); |
Member
There was a problem hiding this comment.
nit: Why change this? It isn't really a big deal perf-wise, but previously it was direct construction and now it is construct and move. #Resolved
yao-msft
reviewed
Sep 25, 2021
|
|
||
| // Use this subexecution id when installing this package so that | ||
| // install telemetry is captured with the same sub execution id as other events in Search phase. | ||
| uint32_t PackageSubExecutionId; |
Contributor
yao-msft
reviewed
Sep 25, 2021
| SubExecutionTelemetryScope(SubExecutionTelemetryScope&&) = default; | ||
| SubExecutionTelemetryScope& operator=(SubExecutionTelemetryScope&&) = default; | ||
|
|
||
| uint32_t GetCurrentSubExecutionId(); |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue:
Fix:
Tests:
Microsoft Reviewers: Open in CodeFlow