Skip to content

Refactor session message handling #184

Refactor session message handling

Refactor session message handling #184

Triggered via pull request April 3, 2024 18:10
Status Success
Total duration 15m 20s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-java@v2, actions/setup-dotnet@v3, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Analyze (csharp)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpAppBase.cs#L42
Ensure that 'CdpAppBase.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpAppBase.cs#L11
Provide an overridable implementation of Dispose(bool) on 'CdpAppBase' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L22
Member 'HostCapabilities' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L23
Member 'ClientCapabilities' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L94
Member '_sequenceNumber' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L119
Member '_connectionEstablished' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L95
Member '_requestId' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L192
Member 'IsDisposed' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpChannel.cs#L73
Ensure that 'CdpChannel.System.IDisposable.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']