From 9dfa885eee7fc5018287e4426609d3d0ced9ae50 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 03:46:56 +0000 Subject: [PATCH 1/2] Bump ktsu.RunCommand and ktsu.Semantics.Paths Bumps ktsu.RunCommand from 1.9.1 to 1.9.3 Bumps ktsu.Semantics.Paths from 5.8.3 to 5.11.0 --- updated-dependencies: - dependency-name: ktsu.RunCommand dependency-version: 1.9.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ktsu - dependency-name: ktsu.Semantics.Paths dependency-version: 5.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ktsu ... Signed-off-by: dependabot[bot] --- Directory.Packages.props | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index ebd5af2..af7318f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,9 +4,9 @@ - - - + + + From a1b45bd0ea5508932c9215ac7ed69303db4f4c72 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 12:53:18 +0000 Subject: [PATCH 2/2] Accept OperationCanceledException from a cancelled ProcessRunner run Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_013j5p1tUWLykEtnhAziUkZa --- KtsuBuild.Tests/Utilities/ProcessRunnerTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/KtsuBuild.Tests/Utilities/ProcessRunnerTests.cs b/KtsuBuild.Tests/Utilities/ProcessRunnerTests.cs index 2733552..7d36e8e 100644 --- a/KtsuBuild.Tests/Utilities/ProcessRunnerTests.cs +++ b/KtsuBuild.Tests/Utilities/ProcessRunnerTests.cs @@ -238,7 +238,9 @@ public async Task RunWithCallbackAsync_WhenCancelled_KillsTheChildInsteadOfAband await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(false); await cts.CancelAsync().ConfigureAwait(false); - await Assert.ThrowsExactlyAsync(() => running).ConfigureAwait(false); + // ktsu.RunCommand reports cancellation from ThrowIfCancellationRequested, which throws the base + // OperationCanceledException rather than TaskCanceledException, so accept any cancellation. + await Assert.ThrowsAsync(() => running).ConfigureAwait(false); // Well past the point the child would have written the marker had it been left alone. await Task.Delay(TimeSpan.FromSeconds(6)).ConfigureAwait(false);