The service claims device keys into a shared registry and returns a summary for a single call. After a recent PR, the behavior no longer matches the contract: some duplicates within one request are counted incorrectly, and with concurrent calls extra successful claims sometimes appear.
ClaimAsync method accepts a set of string device keys.Trim() and converted to upper case.Claimed field must reflect the number of keys actually added to the shared registry.Skipped field must reflect the number of input elements that were not claimed for any reason." dev-1 ", "DEV-1", "", "dev-2"."dev-9" and " DEV-9 ".Skipped.Skipped.8.0.204C# 12xunit 2.6.6dotnet testClaimAsync calls on one service instance are possibleUse line comments to explain the problem, its impact, the fix and how to test it.