From fb3cb5700fc6f9b076805d9c40d8852f4020074e Mon Sep 17 00:00:00 2001 From: Shangxin Date: Tue, 13 Oct 2026 20:42:40 +0000 Subject: [PATCH 1/3] chore(deps): update dependencies, MSAL, FluentValidation, System.CommandLine, xUnit and GitHub Actions --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/wasm-smoke-gates.yml | 2 +- SalmonEgg/Directory.Packages.props | 18 +++++++++--------- SalmonEgg/SalmonEgg/SalmonEgg.csproj | 4 ++-- .../SalmonEgg.Application.csproj | 6 +++--- src/SalmonEgg.Cli/SalmonEgg.Cli.csproj | 8 ++++---- .../SalmonEgg.Infrastructure.Desktop.csproj | 6 +++--- .../SalmonEgg.Infrastructure.csproj | 4 ++-- .../SalmonEgg.Presentation.Core.csproj | 6 +++--- .../SalmonEgg.Acp.Desktop.Tests.csproj | 2 +- .../SalmonEgg.Acp.Tests.csproj | 2 +- .../SalmonEgg.Application.Tests.csproj | 2 +- .../SalmonEgg.Cli.Tests.csproj | 2 +- .../SalmonEgg.Domain.Tests.csproj | 2 +- .../SalmonEgg.GuiTests.Windows.csproj | 2 +- .../SalmonEgg.Infrastructure.Tests.csproj | 2 +- .../SalmonEgg.Presentation.Core.Tests.csproj | 2 +- ...SalmonEgg.TerminalAuth.Windows.Tests.csproj | 2 +- 18 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d75f60a7..339f8c85 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -60,7 +60,7 @@ jobs: global-json-file: global.json - name: Initialize CodeQL - uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2 + uses: github/codeql-action/init@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3 with: languages: csharp build-mode: manual @@ -77,7 +77,7 @@ jobs: # would fail the analysis for a toolchain reason rather than a code reason. The platform heads are # thin shells over these libraries, which is where the analyzable logic lives. - name: Build analyzable projects - run: | + run: |\ set -euo pipefail for project in \ src/SalmonEgg.Domain/SalmonEgg.Domain.csproj \ @@ -97,6 +97,6 @@ jobs: done - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2 + uses: github/codeql-action/analyze@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3 with: category: "/language:csharp" diff --git a/.github/workflows/wasm-smoke-gates.yml b/.github/workflows/wasm-smoke-gates.yml index c7e9a092..bf1d5b69 100644 --- a/.github/workflows/wasm-smoke-gates.yml +++ b/.github/workflows/wasm-smoke-gates.yml @@ -57,7 +57,7 @@ jobs: global-json-file: global.json - name: Setup Node - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: "26.10.0" diff --git a/SalmonEgg/Directory.Packages.props b/SalmonEgg/Directory.Packages.props index d4ce11d5..df20d848 100644 --- a/SalmonEgg/Directory.Packages.props +++ b/SalmonEgg/Directory.Packages.props @@ -13,14 +13,14 @@ - + - - - + + + - - + + @@ -32,8 +32,8 @@ - - + + @@ -49,4 +49,4 @@ Version="0.95.1" Condition="'$(TargetFramework)' == 'net10.0-desktop'" /> - + \ No newline at end of file diff --git a/SalmonEgg/SalmonEgg/SalmonEgg.csproj b/SalmonEgg/SalmonEgg/SalmonEgg.csproj index 2fbb15b3..bf2488eb 100644 --- a/SalmonEgg/SalmonEgg/SalmonEgg.csproj +++ b/SalmonEgg/SalmonEgg/SalmonEgg.csproj @@ -6,7 +6,7 @@ browser-wasm - 10.0.12 + 10.0.13 false false @@ -563,4 +563,4 @@ - + \ No newline at end of file diff --git a/src/SalmonEgg.Application/SalmonEgg.Application.csproj b/src/SalmonEgg.Application/SalmonEgg.Application.csproj index 5c1a199a..47b3f976 100644 --- a/src/SalmonEgg.Application/SalmonEgg.Application.csproj +++ b/src/SalmonEgg.Application/SalmonEgg.Application.csproj @@ -4,8 +4,8 @@ - - + + @@ -13,4 +13,4 @@ enable latest - + \ No newline at end of file diff --git a/src/SalmonEgg.Cli/SalmonEgg.Cli.csproj b/src/SalmonEgg.Cli/SalmonEgg.Cli.csproj index dfeb2b7c..b3f9a691 100644 --- a/src/SalmonEgg.Cli/SalmonEgg.Cli.csproj +++ b/src/SalmonEgg.Cli/SalmonEgg.Cli.csproj @@ -64,14 +64,14 @@ - + - - + + - + \ No newline at end of file diff --git a/src/SalmonEgg.Infrastructure.Desktop/SalmonEgg.Infrastructure.Desktop.csproj b/src/SalmonEgg.Infrastructure.Desktop/SalmonEgg.Infrastructure.Desktop.csproj index 4df4c7a8..223f708c 100644 --- a/src/SalmonEgg.Infrastructure.Desktop/SalmonEgg.Infrastructure.Desktop.csproj +++ b/src/SalmonEgg.Infrastructure.Desktop/SalmonEgg.Infrastructure.Desktop.csproj @@ -6,10 +6,10 @@ - + - + @@ -22,4 +22,4 @@ - + \ No newline at end of file diff --git a/src/SalmonEgg.Infrastructure/SalmonEgg.Infrastructure.csproj b/src/SalmonEgg.Infrastructure/SalmonEgg.Infrastructure.csproj index 9e33300f..971df336 100644 --- a/src/SalmonEgg.Infrastructure/SalmonEgg.Infrastructure.csproj +++ b/src/SalmonEgg.Infrastructure/SalmonEgg.Infrastructure.csproj @@ -7,7 +7,7 @@ - + @@ -37,4 +37,4 @@ - + \ No newline at end of file diff --git a/src/SalmonEgg.Presentation.Core/SalmonEgg.Presentation.Core.csproj b/src/SalmonEgg.Presentation.Core/SalmonEgg.Presentation.Core.csproj index 4037c500..42115c8a 100644 --- a/src/SalmonEgg.Presentation.Core/SalmonEgg.Presentation.Core.csproj +++ b/src/SalmonEgg.Presentation.Core/SalmonEgg.Presentation.Core.csproj @@ -7,8 +7,8 @@ - - + + @@ -18,4 +18,4 @@ - + \ No newline at end of file diff --git a/tests/SalmonEgg.Acp.Desktop.Tests/SalmonEgg.Acp.Desktop.Tests.csproj b/tests/SalmonEgg.Acp.Desktop.Tests/SalmonEgg.Acp.Desktop.Tests.csproj index d90a37b8..8457f456 100644 --- a/tests/SalmonEgg.Acp.Desktop.Tests/SalmonEgg.Acp.Desktop.Tests.csproj +++ b/tests/SalmonEgg.Acp.Desktop.Tests/SalmonEgg.Acp.Desktop.Tests.csproj @@ -8,7 +8,7 @@ true - + diff --git a/tests/SalmonEgg.Acp.Tests/SalmonEgg.Acp.Tests.csproj b/tests/SalmonEgg.Acp.Tests/SalmonEgg.Acp.Tests.csproj index bdbdd38b..ba097f82 100644 --- a/tests/SalmonEgg.Acp.Tests/SalmonEgg.Acp.Tests.csproj +++ b/tests/SalmonEgg.Acp.Tests/SalmonEgg.Acp.Tests.csproj @@ -18,7 +18,7 @@ - + diff --git a/tests/SalmonEgg.Application.Tests/SalmonEgg.Application.Tests.csproj b/tests/SalmonEgg.Application.Tests/SalmonEgg.Application.Tests.csproj index c2431dcc..bd466eb8 100644 --- a/tests/SalmonEgg.Application.Tests/SalmonEgg.Application.Tests.csproj +++ b/tests/SalmonEgg.Application.Tests/SalmonEgg.Application.Tests.csproj @@ -14,7 +14,7 @@ - + diff --git a/tests/SalmonEgg.Cli.Tests/SalmonEgg.Cli.Tests.csproj b/tests/SalmonEgg.Cli.Tests/SalmonEgg.Cli.Tests.csproj index 844b9ad9..cbf8f1ff 100644 --- a/tests/SalmonEgg.Cli.Tests/SalmonEgg.Cli.Tests.csproj +++ b/tests/SalmonEgg.Cli.Tests/SalmonEgg.Cli.Tests.csproj @@ -11,7 +11,7 @@ - + diff --git a/tests/SalmonEgg.Domain.Tests/SalmonEgg.Domain.Tests.csproj b/tests/SalmonEgg.Domain.Tests/SalmonEgg.Domain.Tests.csproj index 3e2bb8da..14a06048 100644 --- a/tests/SalmonEgg.Domain.Tests/SalmonEgg.Domain.Tests.csproj +++ b/tests/SalmonEgg.Domain.Tests/SalmonEgg.Domain.Tests.csproj @@ -10,7 +10,7 @@ - + diff --git a/tests/SalmonEgg.GuiTests.Windows/SalmonEgg.GuiTests.Windows.csproj b/tests/SalmonEgg.GuiTests.Windows/SalmonEgg.GuiTests.Windows.csproj index 23ad6c95..74ff7366 100644 --- a/tests/SalmonEgg.GuiTests.Windows/SalmonEgg.GuiTests.Windows.csproj +++ b/tests/SalmonEgg.GuiTests.Windows/SalmonEgg.GuiTests.Windows.csproj @@ -11,7 +11,7 @@ - + diff --git a/tests/SalmonEgg.Infrastructure.Tests/SalmonEgg.Infrastructure.Tests.csproj b/tests/SalmonEgg.Infrastructure.Tests/SalmonEgg.Infrastructure.Tests.csproj index fb60519c..0782995a 100644 --- a/tests/SalmonEgg.Infrastructure.Tests/SalmonEgg.Infrastructure.Tests.csproj +++ b/tests/SalmonEgg.Infrastructure.Tests/SalmonEgg.Infrastructure.Tests.csproj @@ -12,7 +12,7 @@ - + diff --git a/tests/SalmonEgg.Presentation.Core.Tests/SalmonEgg.Presentation.Core.Tests.csproj b/tests/SalmonEgg.Presentation.Core.Tests/SalmonEgg.Presentation.Core.Tests.csproj index 6729728c..9a08c56b 100644 --- a/tests/SalmonEgg.Presentation.Core.Tests/SalmonEgg.Presentation.Core.Tests.csproj +++ b/tests/SalmonEgg.Presentation.Core.Tests/SalmonEgg.Presentation.Core.Tests.csproj @@ -11,7 +11,7 @@ - + diff --git a/tests/SalmonEgg.TerminalAuth.Windows.Tests/SalmonEgg.TerminalAuth.Windows.Tests.csproj b/tests/SalmonEgg.TerminalAuth.Windows.Tests/SalmonEgg.TerminalAuth.Windows.Tests.csproj index f5c6e1f4..1744d576 100644 --- a/tests/SalmonEgg.TerminalAuth.Windows.Tests/SalmonEgg.TerminalAuth.Windows.Tests.csproj +++ b/tests/SalmonEgg.TerminalAuth.Windows.Tests/SalmonEgg.TerminalAuth.Windows.Tests.csproj @@ -9,7 +9,7 @@ true - + From ada14118f4359357bfc86422ef81e4559c3d61db Mon Sep 17 00:00:00 2001 From: Shangxin Date: Wed, 14 Oct 2026 05:14:45 +0000 Subject: [PATCH 2/3] fix(ci): fix yaml block scalar typo in codeql workflow --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 339f8c85..0ccfceb0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -77,7 +77,7 @@ jobs: # would fail the analysis for a toolchain reason rather than a code reason. The platform heads are # thin shells over these libraries, which is where the analyzable logic lives. - name: Build analyzable projects - run: |\ + run: | set -euo pipefail for project in \ src/SalmonEgg.Domain/SalmonEgg.Domain.csproj \ From 235f9ddfb9e7cff59c319e78c3aaffd2feda210a Mon Sep 17 00:00:00 2001 From: Shangxin Date: Wed, 14 Oct 2026 06:53:12 +0000 Subject: [PATCH 3/3] fix(gui): attach terminal session after resetting bridge state --- SalmonEgg/SalmonEgg/Controls/XtermTerminalView.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SalmonEgg/SalmonEgg/Controls/XtermTerminalView.xaml.cs b/SalmonEgg/SalmonEgg/Controls/XtermTerminalView.xaml.cs index 08b5321d..684950c3 100644 --- a/SalmonEgg/SalmonEgg/Controls/XtermTerminalView.xaml.cs +++ b/SalmonEgg/SalmonEgg/Controls/XtermTerminalView.xaml.cs @@ -137,12 +137,12 @@ private static void OnSessionChanged(DependencyObject d, DependencyPropertyChang view._sessionGeneration++; view.DetachSession(e.OldValue as IInteractiveTerminalSession); - view.AttachSession(e.NewValue as IInteractiveTerminalSession); view._sessionHasLiveOutput = false; view.ClearPendingCommands(static _ => true); view._guiLocalTerminalSmokeCommandSent = false; view._guiLocalTerminalSmokeCommand = Environment.GetEnvironmentVariable(GuiLocalTerminalSmokeCommandEnvVar); _ = view.ResetTerminalBridgeAsync(); + view.AttachSession(e.NewValue as IInteractiveTerminalSession); } private async Task InitializeTerminalAsync()