Refactor Worker to use IServiceScopeFactory for dependency resolution #2178
Annotations
10 errors and 12 warnings
Compile+Test+Pack
[xUnit.net 00:00:19.54] Elsa.Workflows.ComponentTests.Scenarios.WorkflowJsonStructures.WorkflowJsonStructureTests.Workflow_ContainingWorkflowActivity_ShouldNotIncludeChildrenOfWorkflowActivity [FAIL]
|
Compile+Test+Pack
System.ArgumentException : Value cannot be an empty string. (Parameter 'connectionString')
|
Compile+Test+Pack
[xUnit.net 00:00:20.99] Elsa.Workflows.ComponentTests.Scenarios.WorkflowJsonStructures.WorkflowJsonStructureTests.Requesting_Subgraph_Returns_ExpectedSubgraph [FAIL]
|
Compile+Test+Pack
System.ArgumentException : Value cannot be an empty string. (Parameter 'connectionString')
|
Compile+Test+Pack
[xUnit.net 00:00:22.24] Elsa.Workflows.ComponentTests.Scenarios.WorkflowDefinitionReload.ReloadWorkflowTests.Reloading_AfterUpdatingSourceProvider_ShouldRefreshActivityRegistry [FAIL]
|
Compile+Test+Pack
System.ArgumentException : Value cannot be an empty string. (Parameter 'connectionString')
|
Compile+Test+Pack
[xUnit.net 00:00:23.54] Elsa.Workflows.ComponentTests.Scenarios.WorkflowDefinitionReload.ReloadWorkflowTests.Reloading_AfterUpdatingSourceProvider_ShouldRefreshCaches [FAIL]
|
Compile+Test+Pack
System.ArgumentException : Value cannot be an empty string. (Parameter 'connectionString')
|
Compile+Test+Pack
[xUnit.net 00:00:24.92] Elsa.Workflows.ComponentTests.Scenarios.WorkflowDefinitionReload.ReloadWorkflowTests.Reloading_AfterRemovingTheWorkflow_ShouldMakeWorkflowReachableAgain [FAIL]
|
Compile+Test+Pack
System.ArgumentException : Value cannot be an empty string. (Parameter 'connectionString')
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Compile+Test+Pack
Solution "/home/runner/work/elsa-core/elsa-core/Elsa.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "IHazSolution.Solution" or remove the following entries from the solution file:
" - {99F2B1DA-2F69-4D70-A2A3-AC985AD91EC4}.Debug|Any CPU.Build.0 = Debug|Any CPU"
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/build/_build.csproj : warning NU1604: Project dependency Microsoft.Identity.Client does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. [/home/runner/work/elsa-core/elsa-core/Elsa.sln]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Implementations/Module.cs(17,20): warning S3260: Private record classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Attributes/DependsOn.cs(7,14): warning S3376: Make this class name end with 'Attribute'. (https://rules.sonarsource.com/csharp/RSPEC-3376) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Extensions/EnumerableTopologicalSortExtensions.cs(38,23): warning S112: 'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Implementations/Module.cs(51,35): warning IL2087: 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Activator.CreateInstance(Type, params Object[])'. The generic parameter 'T' of 'Elsa.Features.Implementations.Module.Configure<T>(Action<T>)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Implementations/Module.cs(154,106): warning IL2067: 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Activator.CreateInstance(Type, params Object[])'. The parameter 'featureType' of method 'Elsa.Features.Implementations.Module.GetOrCreateFeature(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Implementations/Module.cs(109,39): warning IL2072: 'implementationType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(Type, Type)'. The return value of method 'Elsa.Features.Implementations.Module.HostedServiceDescriptor.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Implementations/Module.cs(95,180): warning IL2067: 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Activator.CreateInstance(Type, params Object[])'. The parameter 'featureType' of method 'lambda expression' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net6.0]
|
Compile+Test+Pack
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Implementations/Module.cs(17,20): warning S3260: Private record classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Elsa.Features.csproj::TargetFramework=net8.0]
|
Loading