Skip to content

Fix orchestration analyzer to detect non-function orchestrations correctly #1256

Fix orchestration analyzer to detect non-function orchestrations correctly

Fix orchestration analyzer to detect non-function orchestrations correctly #1256

Re-run triggered December 17, 2025 02:37
Status Success
Total duration 15m 47s
Artifacts

codeQL.yml

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

Annotations

11 warnings
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/Worker/Core/DependencyInjection/DurableTaskWorkerBuilderExtensions.cs#L81
Prefer the generic overload 'Microsoft.DurableTask.Worker.DurableTaskWorkerBuilderExtensions.UseBuildTarget<TTarget>(Microsoft.DurableTask.Worker.IDurableTaskWorkerBuilder)' instead of 'Microsoft.DurableTask.Worker.DurableTaskWorkerBuilderExtensions.UseBuildTarget(Microsoft.DurableTask.Worker.IDurableTaskWorkerBuilder, System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
Analyze (csharp): src/Worker/Core/Shims/TaskOrchestrationShim.cs#L98
The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1116.md)
Analyze (csharp): src/Worker/Core/DurableTaskWorkerOptions.cs#L179
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
Analyze (csharp): src/Worker/Core/DurableTaskWorkerOptions.cs#L179
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
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/