Skip to content

Provide the ability to Mock WorkflowActivityContext #3113

Provide the ability to Mock WorkflowActivityContext

Provide the ability to Mock WorkflowActivityContext #3113

Re-run triggered December 11, 2024 19:21
Status Failure
Total duration 2m 0s
Artifacts

sdk_build.yml

on: pull_request
Matrix: test
Publish Packages
0s
Publish Packages
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 55 warnings
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 6.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 7.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 8.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L25
Non-nullable field 'workflowActivity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L27
Non-nullable field 'workflowActivityContextMock' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test .NET 9.0: test/Dapr.Workflow.Test/WorkflowActivityTest.cs#L37
Converting null literal or possible null value to non-nullable type.
Test .NET 6.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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.
Test .NET 6.0
The target framework 'net7' 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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
The target framework 'net7' 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 'net7' 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 'net7' 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 'net7' 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 'net7' 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 'net7' 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 'net7' 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 'net7' 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 'net7' 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 'net7' 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.
Test .NET 7.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 7.0
The target framework 'net7' 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.
Test .NET 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 8.0
The target framework 'net7' 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.
Test .NET 9.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.
Test .NET 9.0
The target framework 'net7' 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.