Skip to content

Update workflows and add Agents module #2147

Update workflows and add Agents module

Update workflows and add Agents module #2147

Triggered via push September 11, 2024 12:25
Status Failure
Total duration 10m 15s
Artifacts

packages.yml

on: push
Publish to feedz.io
0s
Publish to feedz.io
Publish preview to nuget.org
0s
Publish preview to nuget.org
Publish release to nuget.org
0s
Publish release to nuget.org
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
Build packages
[xUnit.net 00:00:01.51] Workflows should complete successfully.(workflowFileName: "workflow6.json") [FAIL]
Build packages
[xUnit.net 00:00:01.67] Elsa.Workflows.IntegrationTests.Scenarios.HttpRequestWithLiquid.Tests.GetProducts [FAIL]
Elsa.Workflows.IntegrationTests.Scenarios.HttpRequestWithLiquid.Tests.GetProducts: _/test/integration/Elsa.Workflows.IntegrationTests/Scenarios/HttpRequestWithLiquid/Tests.cs#L35
Assert.Contains() Failure: Item not found in collection Collection: ["First product id: ", "First product price rounded: 0", "First product as json: null", "Second product id: ", "Single product id: ", ···] Not found: "First product id: 1"
Build packages
[xUnit.net 00:00:02.51] Child activity receives workflow input from parent even if same name. [FAIL]
Child activity receives workflow input from parent even if same name.: _/test/integration/Elsa.Workflows.IntegrationTests/Scenarios/ParentChildInputs/Tests.cs#L39
Assert.Equal() Failure: Collections differ ↓ (pos 1) Expected: string[] ["Parent: Foo", "Child: Bar"] Actual: List<string> ["Parent: Foo", "Child: null"] ↑ (pos 1)
Build packages
[xUnit.net 00:00:02.74] Child activity receives input from parent event if same name and does not use global workflow input. [FAIL]
Child activity receives input from parent event if same name and does not use global workflow input.: _/test/integration/Elsa.Workflows.IntegrationTests/Scenarios/ParentChildInputs/Tests.cs#L62
Assert.Equal() Failure: Collections differ ↓ (pos 1) Expected: string[] ["Parent: Foo", "Child: Foo"] Actual: List<string> ["Parent: Foo", "Child: null"] ↑ (pos 1)
Build packages
[xUnit.net 00:00:02.77] The ParallelForEach activity completes when its Body contains a Join activity [FAIL]
Build packages
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/
Build packages
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/
Build packages
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Features/Extensions/EnumerableTopologicalSortExtensions.cs(36,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]
Build packages
/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]
Build packages
/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]
Build packages
/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]
Build packages
/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]
Build packages
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Middleware/Notification/Components/NotificationLoggingMiddleware.cs(20,12): warning S1135: Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Elsa.Mediator.csproj::TargetFramework=net6.0]
Build packages
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Extensions/DependencyInjectionExtensions.cs(224,39): warning S1144: Remove the unused private method 'AddHandlersFromInternal'. (https://rules.sonarsource.com/csharp/RSPEC-1144) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Elsa.Mediator.csproj::TargetFramework=net6.0]
Build packages
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Extensions/DependencyInjectionExtensions.cs(239,37): warning S1144: Remove the unused private method 'CreateChannelReader'. (https://rules.sonarsource.com/csharp/RSPEC-1144) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Elsa.Mediator.csproj::TargetFramework=net6.0]
Build packages
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Extensions/DependencyInjectionExtensions.cs(240,37): warning S1144: Remove the unused private method 'CreateChannelWriter'. (https://rules.sonarsource.com/csharp/RSPEC-1144) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Elsa.Mediator.csproj::TargetFramework=net6.0]
Build packages
/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Contracts/ICommand.cs(18,27): warning S2326: 'T' is not used in the interface. (https://rules.sonarsource.com/csharp/RSPEC-2326) [/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Elsa.Mediator.csproj::TargetFramework=net6.0]