Skip to content

Added overloads for simplified func-based activity and orchestrator registration #2110

Added overloads for simplified func-based activity and orchestrator registration

Added overloads for simplified func-based activity and orchestrator registration #2110

Triggered via pull request January 6, 2026 23:59
Status Success
Total duration 8m 2s
Artifacts 1

validate-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/Worker/Grpc/GrpcDurableTaskWorker.cs#L20
'IOrchestrationFilter' is obsolete: 'Experimental'
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#L193
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
build: src/Worker/Core/DurableTaskWorkerOptions.cs#L193
'DurableTaskWorkerOptions.OrchestrationFilter' is obsolete: 'Experimental'
build: src/Abstractions/TaskOrchestrationContext.cs#L459
Possible null reference return.
build: 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.
build: 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.

Artifacts

Produced during runtime
Name Size Digest
pkg
2.65 MB
sha256:92e504c934fe042fb88fb809b48f874166dfa228e5596324a1bf9115436c3330