improve: SettingsData.FromJson null safety + GatewayUrlHelper static … #286
Annotations
17 warnings
|
Complete job
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/
|
|
Build Tests:
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)
|
|
Build Tests:
tests/OpenClaw.Shared.Tests/OpenClawGatewayClientTests.cs#L233
Possible null reference argument for parameter 'value' in 'void GatewayClientTestHelper.SetPrivateField(string fieldName, object value)'.
|
|
Build Tests:
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).
|
|
Build Tests:
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)
|
|
Build Tests:
tests/OpenClaw.Shared.Tests/OpenClawGatewayClientTests.cs#L233
Possible null reference argument for parameter 'value' in 'void GatewayClientTestHelper.SetPrivateField(string fieldName, object value)'.
|
|
Build Tests:
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).
|
|
Build Tray App (WinUI):
src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
|
|
Build Tray App (WinUI):
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 Tray App (WinUI):
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 Tray App (WinUI):
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 Tray App (WinUI):
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 Tray App (WinUI):
src/OpenClaw.Tray.WinUI/Windows/StatusDetailWindow.xaml.cs#L87
Dereference of a possibly null reference.
|
|
Build Tray App (WinUI):
src/OpenClaw.Tray.WinUI/App.xaml.cs#L305
Dereference of a possibly null reference.
|
|
Build Tray App (WinUI):
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 Tray App (WinUI):
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 Tray App (WinUI):
src/OpenClaw.Tray.WinUI/Dialogs/QuickSendDialog.cs#L370
The member 'QuickSendDialog.ShowAsync()' does not hide an accessible member. The new keyword is not required.
|
Loading