Skip to content

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

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

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

Triggered via pull request May 15, 2024 00:19
Status Success
Total duration 2m 53s
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/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/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)
Analyze: dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/Models/AzureSdkChatMessageExtensions.cs#L38
Type 'InvalidToolCall' 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/AITests/Models/ChatMessageExtensionsTests.cs#L168
Type 'InvalidToolCall' 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/AITests/Models/SequentialDelayStrategyTests.cs#L34
Type 'TestSequentialDelayStrategy' 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)