Skip to content

Add integration test coverage for Suspend/Resume operations #1212

Add integration test coverage for Suspend/Resume operations

Add integration test coverage for Suspend/Resume operations #1212

Triggered via pull request December 16, 2025 17:43
Status Failure
Total duration 11m 4s
Artifacts

codeQL.yml

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

Annotations

3 errors and 11 warnings
Analyze (csharp)
Process completed with exit code 1.
Analyze (csharp): test/Grpc.IntegrationTests/GrpcDurableTaskClientIntegrationTests.cs#L641
'TaskOrchestrationContext' does not contain a definition for 'CancellationToken' and no accessible extension method 'CancellationToken' accepting a first argument of type 'TaskOrchestrationContext' could be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Grpc.IntegrationTests/GrpcDurableTaskClientIntegrationTests.cs#L641
'TaskOrchestrationContext' does not contain a definition for 'CancellationToken' and no accessible extension method 'CancellationToken' accepting a first argument of type 'TaskOrchestrationContext' could be found (are you missing a using directive or an assembly reference?)
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/