From e8a2ed9a9cc44096adc0cadd653eae2a2976674e Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 12:57:43 +0200 Subject: [PATCH 1/9] Update ReSharper --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 4c979f3d12..92e3666ac5 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "jetbrains.resharper.globaltools": { - "version": "2026.1.0.1", + "version": "2026.1.1", "commands": [ "jb" ], From 2c503c0d65ddbd74f07572a97294e252a12c1d57 Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 13:03:52 +0200 Subject: [PATCH 2/9] Update MongoDB.Driver --- versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.props b/versions.props index b895c5b545..823b99cb39 100644 --- a/versions.props +++ b/versions.props @@ -12,7 +12,7 @@ 5.0.* 7.0.* 7.0.* - 3.7.* + 3.8.* 4.20.69 2.5.* 9.6.* From 6737acca3e27c37e5bd13dbba32a6638388d4501 Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 13:08:00 +0200 Subject: [PATCH 3/9] Update coverlet.collector --- .../Health/Contributors/FileSystem/NetworkShareWrapper.cs | 2 -- versions.props | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Management/src/Endpoint/Actuators/Health/Contributors/FileSystem/NetworkShareWrapper.cs b/src/Management/src/Endpoint/Actuators/Health/Contributors/FileSystem/NetworkShareWrapper.cs index a62227d27d..c39452957d 100644 --- a/src/Management/src/Endpoint/Actuators/Health/Contributors/FileSystem/NetworkShareWrapper.cs +++ b/src/Management/src/Endpoint/Actuators/Health/Contributors/FileSystem/NetworkShareWrapper.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. -using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace Steeltoe.Management.Endpoint.Actuators.Health.Contributors.FileSystem; @@ -27,7 +26,6 @@ private NetworkShareWrapper(ulong freeBytesAvailable, ulong totalNumberOfBytes) : null; } - [ExcludeFromCodeCoverage(Justification = "Workaround for https://github.com/coverlet-coverage/coverlet/issues/1762")] private static partial class NativeMethods { [LibraryImport("kernel32.dll", EntryPoint = "GetDiskFreeSpaceExW", StringMarshalling = StringMarshalling.Utf16, SetLastError = true)] diff --git a/versions.props b/versions.props index 823b99cb39..107651023d 100644 --- a/versions.props +++ b/versions.props @@ -6,7 +6,7 @@ --> 9.0.* - 8.0.* + 10.0.* 7.2.* 3.58.* 5.0.* From eacd85a4595bdc8da7c2253192a52f56c97d38b6 Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 13:22:25 +0200 Subject: [PATCH 4/9] Update Microsoft.IdentityModel.Protocols.OpenIdConnect / Microsoft.IdentityModel.Tokens These are exposed dependencies. Bumping not to latest, but just a higher minor that fixes sanitizing logs to avoid leaking sensitive data. --- versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.props b/versions.props index 107651023d..002153a519 100644 --- a/versions.props +++ b/versions.props @@ -68,7 +68,7 @@ --> 10.0.* - 8.14.* + 8.15.* 0.2.652701 3.1.23 1.15.*-* From 9654b5acb3df164781edae93fa432b9dc8297876 Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 13:23:21 +0200 Subject: [PATCH 5/9] Update Microsoft.NET.Test.Sdk --- versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.props b/versions.props index 002153a519..f281f17b11 100644 --- a/versions.props +++ b/versions.props @@ -26,7 +26,7 @@ 2.0.* 8.15.* 4.9.* - 18.4.* + 18.5.* 3.2.* 3.1.* From 29bd1758c6425c0ca990b516f125cd722456110b Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 13:31:03 +0200 Subject: [PATCH 6/9] Update MySql.Data --- versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.props b/versions.props index f281f17b11..394026b4e9 100644 --- a/versions.props +++ b/versions.props @@ -15,7 +15,7 @@ 3.8.* 4.20.69 2.5.* - 9.6.* + 9.7.* 13.0.* 3.3.* 7.2.* From 0ae2250f3a29d2b59034b9ee7560bbe7d0b62bca Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 14:24:28 +0200 Subject: [PATCH 7/9] Update SonarAnalyzer.CSharp (new rules: S8367, S8368, S8380, S8381) --- versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.props b/versions.props index 394026b4e9..c81daec6e1 100644 --- a/versions.props +++ b/versions.props @@ -21,7 +21,7 @@ 7.2.* 4.0.* 8.4.* - 10.20.0.135146 + 10.25.0.139117 1.2.0-beta.556 2.0.* 8.15.* From f3fae6a9e938b8c2ed7bf0764178cffb6715c8de Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 15:16:33 +0200 Subject: [PATCH 8/9] TEST: Detect coverage diff in Sonar --- src/Common/src/Common/Calculator.cs | 18 ++++++++++++++++++ src/Common/test/Common.Test/CalculatorTest.cs | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 src/Common/src/Common/Calculator.cs create mode 100644 src/Common/test/Common.Test/CalculatorTest.cs diff --git a/src/Common/src/Common/Calculator.cs b/src/Common/src/Common/Calculator.cs new file mode 100644 index 0000000000..c546b8405d --- /dev/null +++ b/src/Common/src/Common/Calculator.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. + +namespace Steeltoe.Common; + +internal sealed class Calculator +{ + public int Add(int left, int right) + { + return left + right; + } + + public int Subtract(int left, int right) + { + return left - right; + } +} diff --git a/src/Common/test/Common.Test/CalculatorTest.cs b/src/Common/test/Common.Test/CalculatorTest.cs new file mode 100644 index 0000000000..d254fec66a --- /dev/null +++ b/src/Common/test/Common.Test/CalculatorTest.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. + +namespace Steeltoe.Common.Test; + +public sealed class CalculatorTest +{ + [Fact] + public void Calculator_Add() + { + var calculator = new Calculator(); + int result = calculator.Add(3, 5); + + result.Should().Be(8); + } +} From fc373f30d7f87c0fd9ee068a8f3346604cd5896d Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Tue, 12 May 2026 15:29:00 +0200 Subject: [PATCH 9/9] Revert "TEST: Detect coverage diff in Sonar" This reverts commit f3fae6a9e938b8c2ed7bf0764178cffb6715c8de. --- src/Common/src/Common/Calculator.cs | 18 ------------------ src/Common/test/Common.Test/CalculatorTest.cs | 17 ----------------- 2 files changed, 35 deletions(-) delete mode 100644 src/Common/src/Common/Calculator.cs delete mode 100644 src/Common/test/Common.Test/CalculatorTest.cs diff --git a/src/Common/src/Common/Calculator.cs b/src/Common/src/Common/Calculator.cs deleted file mode 100644 index c546b8405d..0000000000 --- a/src/Common/src/Common/Calculator.cs +++ /dev/null @@ -1,18 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the Apache 2.0 License. -// See the LICENSE file in the project root for more information. - -namespace Steeltoe.Common; - -internal sealed class Calculator -{ - public int Add(int left, int right) - { - return left + right; - } - - public int Subtract(int left, int right) - { - return left - right; - } -} diff --git a/src/Common/test/Common.Test/CalculatorTest.cs b/src/Common/test/Common.Test/CalculatorTest.cs deleted file mode 100644 index d254fec66a..0000000000 --- a/src/Common/test/Common.Test/CalculatorTest.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the Apache 2.0 License. -// See the LICENSE file in the project root for more information. - -namespace Steeltoe.Common.Test; - -public sealed class CalculatorTest -{ - [Fact] - public void Calculator_Add() - { - var calculator = new Calculator(); - int result = calculator.Add(3, 5); - - result.Should().Be(8); - } -}