Skip to content

Fix FunctionContext Check and Polymorphic Type Conversions in Activity Analyzer #1567

Fix FunctionContext Check and Polymorphic Type Conversions in Activity Analyzer

Fix FunctionContext Check and Polymorphic Type Conversions in Activity Analyzer #1567

Triggered via pull request November 26, 2025 04:07
Status Success
Total duration 5m 27s
Artifacts 1

validate-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
build: 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)
build: 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)
build: src/Worker/Core/DurableTaskWorkerOptions.cs#L179
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
build: src/Worker/Core/DurableTaskWorkerOptions.cs#L179
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
build: 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)
build
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: src/Abstractions/TaskOrchestrationContext.cs#L444
Possible null reference return.
build: 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.
build: 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.
build
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.

Artifacts

Produced during runtime
Name Size Digest
pkg Expired
2.6 MB
sha256:b4d1201f2accd8f125629ff97c4a808fca4678718df04cf18b34b4b7bd34a9ed