Skip to content

Conversation

@davidh44
Copy link
Contributor

@davidh44 davidh44 commented Aug 5, 2025

Motivation and Context

Duplicate endpoint keys set by a service will cause errors to be thrown in ServiceMetadata's, when putting ServiceEndpointKey's into ImmutableMap

Modifications

Log errors instead of throwing errors. Keep the first value, ignore the second value

Testing

Updated unit test

@davidh44 davidh44 marked this pull request as ready for review August 5, 2025 19:49
@davidh44 davidh44 requested a review from a team as a code owner August 5, 2025 19:49
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 8, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
25.4% Coverage on New Code (required ≥ 80%)
26.5% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@davidh44 davidh44 added the api-surface-area-approved-by-team Indicate API surface area introduced by this PR has been approved by team label Aug 8, 2025
@davidh44 davidh44 enabled auto-merge August 8, 2025 21:21
@davidh44 davidh44 added this pull request to the merge queue Aug 8, 2025
Merged via the queue into master with commit d93d373 Aug 8, 2025
36 of 41 checks passed
@github-actions
Copy link

github-actions bot commented Aug 8, 2025

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2025
@davidh44 davidh44 deleted the hdavidh/immutable-map-duplicate-keys branch August 8, 2025 22:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api-surface-area-approved-by-team Indicate API surface area introduced by this PR has been approved by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants