Skip to content

Add pre-scheduling and retry handler cancellation support for activities and sub-orchestrators #1525

Add pre-scheduling and retry handler cancellation support for activities and sub-orchestrators

Add pre-scheduling and retry handler cancellation support for activities and sub-orchestrators #1525

Triggered via pull request January 7, 2026 00:11
Status Failure
Total duration 6m 29s
Artifacts

codeQL.yml

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

Annotations

5 errors and 11 warnings
Analyze (csharp)
Process completed with exit code 1.
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): 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#L459
Possible null reference return.
Analyze (csharp): src/Abstractions/TaskOrchestrationContext.cs#L459
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#L459
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/