Skip to content

Fix source generator for void-returning activity functions #1375

Fix source generator for void-returning activity functions

Fix source generator for void-returning activity functions #1375

Triggered via pull request December 23, 2025 00:22
Status Success
Total duration 12m 59s
Artifacts

codeQL.yml

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

Annotations

11 warnings
Analyze (csharp): src/Client/OrchestrationServiceClientShim/DependencyInjection/DurableTaskClientBuilderExtensions.cs#L114
Nullability of reference types in type of parameter 'name' of 'ValidateOptionsResult OptionsValidator.Validate(string name, ShimDurableTaskClientOptions options)' doesn't match implicitly implemented member 'ValidateOptionsResult IValidateOptions<ShimDurableTaskClientOptions>.Validate(string? name, ShimDurableTaskClientOptions options)' (possibly because of nullability attributes).
Analyze (csharp): src/Client/OrchestrationServiceClientShim/DependencyInjection/DurableTaskClientBuilderExtensions.cs#L77
Nullability of reference types in type of parameter 'name' of 'void OptionsConfigure.PostConfigure(string name, ShimDurableTaskClientOptions options)' doesn't match implicitly implemented member 'void IPostConfigureOptions<ShimDurableTaskClientOptions>.PostConfigure(string? name, ShimDurableTaskClientOptions options)' (possibly because of nullability attributes).
Analyze (csharp): test/Client/Core.Tests/DependencyInjection/DefaultDurableTaskClientProviderTests.cs#L9
Null should not be used for type parameter 'clients' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Analyze (csharp): src/Client/Core/DependencyInjection/DurableTaskClientBuilderExtensions.cs#L83
Prefer the generic overload 'Microsoft.DurableTask.Client.DurableTaskBuilderExtensions.UseBuildTarget<TTarget>(Microsoft.DurableTask.Client.IDurableTaskClientBuilder)' instead of 'Microsoft.DurableTask.Client.DurableTaskBuilderExtensions.UseBuildTarget(Microsoft.DurableTask.Client.IDurableTaskClientBuilder, System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
Analyze (csharp): src/Client/Core/StartOrchestrationOptionsExtensions.cs#L13
Missing XML comment for publicly visible type or member 'StartOrchestrationOptionsExtensions.ValidDedupeStatuses'
Analyze (csharp): src/Client/Core/StartOrchestrationOptionsExtensions.cs#L18
'OrchestrationRuntimeStatus.Canceled' is obsolete: 'The Canceled status is not currently used and exists only for compatibility reasons.'
Analyze (csharp): src/Abstractions/TaskOrchestrationContext.cs#L444
Possible null reference return.
Analyze (csharp): src/Abstractions/TaskOrchestrationContext.cs#L444
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Analyze (csharp): src/Abstractions/TaskOrchestrationContext.cs#L444
Nullability in constraints for type parameter 'TState' of method 'TaskOrchestrationContext.ReplaySafeLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Analyze (csharp)
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/