Skip to content

Fix source generator for void-returning activity functions #1346

Fix source generator for void-returning activity functions

Fix source generator for void-returning activity functions #1346

Triggered via pull request December 20, 2025 00:39
Status Success
Total duration 11m 27s
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#L193
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
Analyze (csharp): src/Worker/Core/DurableTaskWorkerOptions.cs#L193
'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/