Skip to content

[C#] feat: Powered by AI: Citations, feedback loop, and GeneratedByAI icon #460

[C#] feat: Powered by AI: Citations, feedback loop, and GeneratedByAI icon

[C#] feat: Powered by AI: Citations, feedback loop, and GeneratedByAI icon #460

Triggered via pull request May 14, 2024 22:30
Status Success
Total duration 2m 48s
Artifacts

dotnet-codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Application/Authentication/AdaptiveCards/AdaptiveCardsAuthenticationBase.cs#L16
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Application/Application.cs#L766
Converting null literal or possible null value to non-nullable type.
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Application/Application.cs#L767
Possible null reference argument for parameter 'continuation' in 'Task HandoffHandler<TState>.Invoke(ITurnContext turnContext, TState turnState, string continuation, CancellationToken cancellationToken)'.
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Planners/PredictedSayCommand.cs#L36
Missing XML comment for publicly visible type or member 'PredictedSayCommand.PredictedSayCommand(string)'
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/StateTests/TurnStateTests.cs#L187
Modify 'Test_SaveState_Existing_Loading_Operation' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/Application/Authentication/TestAuthenticationManager.cs#L6
Type 'TestAuthenticationManager' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/Application/Authentication/Bot/TeamsSsoBotAuthenticationTests.cs#L14
Type 'MockTeamsSsoBotAuthentication' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/Application/Authentication/TeamsSsoAuthenticationTests.cs#L20
Type 'TeamsSsoAuthenticationMock' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/Application/Authentication/MessageExtensions/TeamsSsoMessageExtensionsAuthenticationTests.cs#L19
Type 'TeamsSsoMessageExtensionsAuthenticationMock' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/Application/Authentication/Bot/OAuthBotAuthenticationTests.cs#L9
Type 'TestOAuthBotAuthentication' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)