Skip to content
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

Dedupe workload packs #8423

Merged
merged 2 commits into from
Feb 4, 2022
Merged

Dedupe workload packs #8423

merged 2 commits into from
Feb 4, 2022

Conversation

joeloff
Copy link
Member

@joeloff joeloff commented Feb 2, 2022

Deduping packs based on ID and version. Since WorkloadPacks don't implement GetHashCode, Distinct() fails to dedupe properly. Duplicate packs causes issues when trying to compile/link the same pack in parallel and can also create multiple PackageCodes for the same MSI leading to other problems when the MSIs are actually installed.

@joeloff
Copy link
Member Author

joeloff commented Feb 2, 2022

FYI @steveisok This should solve the issue for EMSDK

@steveisok
Copy link
Member

Thanks @joeloff for figuring this out quickly!

@joeloff joeloff requested a review from chcosta February 3, 2022 16:38
@joeloff
Copy link
Member Author

joeloff commented Feb 3, 2022

@chcosta adding you since I need someone from eng to approve before I can merge.

chcosta
chcosta previously approved these changes Feb 3, 2022
Copy link
Member

@chcosta chcosta left a comment

Choose a reason for hiding this comment

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

I have no opinion on these changes so... LGTM

@joeloff
Copy link
Member Author

joeloff commented Feb 3, 2022

Help me @mmitche you're my only hope

I thought anyone from eng would unblock the merge, but I guess not since this is 6.0

@joeloff joeloff dismissed stale reviews from chcosta and dsplaisted via 2869051 February 3, 2022 17:20
@joeloff
Copy link
Member Author

joeloff commented Feb 4, 2022

@mmitche could you please merge this?

@mmitche mmitche merged commit 35cb0d9 into dotnet:release/6.0 Feb 4, 2022
joeloff added a commit to joeloff/arcade that referenced this pull request Feb 4, 2022
* Dedupe workload packs

* Replace HashSet with List
@joeloff joeloff mentioned this pull request Feb 4, 2022
joeloff added a commit that referenced this pull request Feb 7, 2022
* Dedupe workload packs

* Replace HashSet with List
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.

5 participants