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

Fix exception due to duplicate keys #9596

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Nov 19, 2024

During DTBs, a target may run more than once. A previous change used the target name as a key in a dictionary, however in some cases this would throw and exception due to having duplicate dictionary keys.

This changes the form of the data to an array of arrays. It's potentially harder to write Kusto queries against, but preserves all the information within the data and avoids the exception.

Microsoft Reviewers: Open in CodeFlow

During DTBs, a target may run more than once. A previous change used the target name as a key in a dictionary, however in some cases this would throw and exception due to having duplicate dictionary keys.

This changes the form of the data to an array of arrays. It's potentially harder to write Kusto queries against, but preserves all the information within the data and avoids the exception.
@drewnoakes drewnoakes requested a review from a team as a code owner November 19, 2024 23:55
@drewnoakes drewnoakes merged commit 1d58620 into dotnet:main Nov 20, 2024
5 checks passed
@drewnoakes drewnoakes deleted the fix-duplicate-key-exception branch November 20, 2024 00:19
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Nov 20, 2024
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