Skip to content

test: expand WindowsNodeClient coverage with 10 new unit tests (#157) #288

test: expand WindowsNodeClient coverage with 10 new unit tests (#157)

test: expand WindowsNodeClient coverage with 10 new unit tests (#157) #288

Triggered via push April 8, 2026 20:09
Status Success
Total duration 5m 48s
Artifacts 6

ci.yml

on: push
Matrix: build-extension
Matrix: build-msix
Matrix: build
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

83 warnings
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test: tests/OpenClaw.Shared.Tests/CapabilityTests.cs#L274
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
test: tests/OpenClaw.Shared.Tests/OpenClawGatewayClientTests.cs#L233
Possible null reference argument for parameter 'value' in 'void GatewayClientTestHelper.SetPrivateField(string fieldName, object value)'.
test: tests/OpenClaw.Shared.Tests/ExecApprovalPolicyTests.cs#L714
Nullability of reference types in type of parameter 'ex' of 'void ExecTestLogger.Error(string message, Exception ex)' doesn't match implicitly implemented member 'void IOpenClawLogger.Error(string message, Exception? ex = null)' (possibly because of nullability attributes).
test: tests/OpenClaw.Shared.Tests/CapabilityTests.cs#L274
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
test: tests/OpenClaw.Shared.Tests/OpenClawGatewayClientTests.cs#L233
Possible null reference argument for parameter 'value' in 'void GatewayClientTestHelper.SetPrivateField(string fieldName, object value)'.
test: tests/OpenClaw.Shared.Tests/ExecApprovalPolicyTests.cs#L714
Nullability of reference types in type of parameter 'ex' of 'void ExecTestLogger.Error(string message, Exception ex)' doesn't match implicitly implemented member 'void IOpenClawLogger.Error(string message, Exception? ex = null)' (possibly because of nullability attributes).
test: src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
test: src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
test: src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
test: src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
test: src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
test: src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
test: src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
test: src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
test: src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-extension (arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-extension (arm64)
No implementation file was provided for the .winmd file 'C:\Users\runneradmin\.nuget\packages\microsoft.commandpalette.extensions\0.5.250829002\winmd\Microsoft.CommandPalette.Extensions.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.
build-extension (arm64)
A publish profile with the name 'win-arm64.pubxml' was not found in the project. Set the PublishProfile property to a valid file name.
build-extension (arm64)
No implementation file was provided for the .winmd file 'C:\Users\runneradmin\.nuget\packages\microsoft.commandpalette.extensions\0.5.250829002\winmd\Microsoft.CommandPalette.Extensions.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.
build-extension (arm64)
A publish profile with the name 'win-arm64.pubxml' was not found in the project. Set the PublishProfile property to a valid file name.
build-extension (x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-extension (x64)
No implementation file was provided for the .winmd file 'C:\Users\runneradmin\.nuget\packages\microsoft.commandpalette.extensions\0.5.250829002\winmd\Microsoft.CommandPalette.Extensions.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.
build-extension (x64)
A publish profile with the name 'win-x64.pubxml' was not found in the project. Set the PublishProfile property to a valid file name.
build-extension (x64)
No implementation file was provided for the .winmd file 'C:\Users\runneradmin\.nuget\packages\microsoft.commandpalette.extensions\0.5.250829002\winmd\Microsoft.CommandPalette.Extensions.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.
build-extension (x64)
A publish profile with the name 'win-x64.pubxml' was not found in the project. Set the PublishProfile property to a valid file name.
build (win-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (win-x64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
build (win-x64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
build (win-x64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
build (win-x64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
build (win-x64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-x64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-x64)
Targeting .NET 10.0 or higher in Visual Studio 2022 17.14 is not supported.
build-msix (win-x64)
Targeting .NET 10.0 or higher in Visual Studio 2022 17.14 is not supported.
build (win-arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (win-arm64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
build (win-arm64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
build (win-arm64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
build (win-arm64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
build (win-arm64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L104
Possible null reference argument for parameter 'source' in 'IEnumerable<ChannelViewModel> Enumerable.Select<ChannelHealth, ChannelViewModel>(IEnumerable<ChannelHealth> source, Func<ChannelHealth, ChannelViewModel> selector)'.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/WelcomeDialog.cs#L133
The member 'WelcomeDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/UpdateDialog.cs#L116
The member 'UpdateDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-arm64): src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
build-msix (win-arm64)
Targeting .NET 10.0 or higher in Visual Studio 2022 17.14 is not supported.
build-msix (win-arm64)
Targeting .NET 10.0 or higher in Visual Studio 2022 17.14 is not supported.

Artifacts

Produced during runtime
Name Size Digest
openclaw-commandpalette-arm64
12.6 MB
sha256:c6a6f66668b3b996d18c1d566a2a102645f2ee589ebc0d4bdc923aa14cb35de0
openclaw-commandpalette-x64
12.6 MB
sha256:6c34556c33d1a8348532552637b38f6370dff3e33b93ca44891ace5bf570dcbc
openclaw-msix-win-arm64
49.3 MB
sha256:816e6a0c62fac2ebfde6aac29cc46a70c41d65e33f68155449c559b5cd14728e
openclaw-msix-win-x64
51.3 MB
sha256:ef53a47170e0db9feb886b102c80eccb2441622b82c9b863faa3fbdfca42cfa6
openclaw-tray-win-arm64
83.3 MB
sha256:b26ddd5d0563f0be318efa2b40731f8abd7a3469c520b4b2d7095e681456a110
openclaw-tray-win-x64
86.8 MB
sha256:559c86c1020359bfcac541a8aeae9fdd48cb008bdae4e1616efc63bc82d74900