Skip to content

adding triggered workflow names to payload #3398

adding triggered workflow names to payload

adding triggered workflow names to payload #3398

Triggered via pull request May 23, 2024 10:00
Status Success
Total duration 5m 44s
Artifacts 3

test.yml

on: pull_request
unit-tests-and-codecov
3m 22s
unit-tests-and-codecov
workflow-executor-integration-tests
5m 20s
workflow-executor-integration-tests
task-manager-integration-tests
1m 43s
task-manager-integration-tests
Fit to window
Zoom out
Zoom in

Annotations

29 warnings
task-manager-integration-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
task-manager-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
task-manager-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
task-manager-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
task-manager-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
unit-tests-and-codecov
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-tests-and-codecov: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
unit-tests-and-codecov: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
unit-tests-and-codecov: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
unit-tests-and-codecov: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
unit-tests-and-codecov: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
unit-tests-and-codecov: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
workflow-executor-integration-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
workflow-executor-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
workflow-executor-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
workflow-executor-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L496
Converting null literal or possible null value to non-nullable type.
workflow-executor-integration-tests: tests/UnitTests/Common.Tests/Services/PayloadServiceTests.cs#L499
Possible null reference argument for parameter 'payload' in 'Task<bool> IPayloadService.UpdateAsyncWorkflowIds(Payload payload)'.
sonarscanner
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, actions/checkout@v3, actions/setup-dotnet@v3, actions/[email protected], actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
sonarscanner: src/WorkflowManager/Contracts/Migrations/M006_Payload_triggeredWorkflows.cs#L22
Rename class 'M006_Payload_triggeredWorkflows' to match pascal case naming rules, consider using 'M006PayloadtriggeredWorkflows'. (https://rules.sonarsource.com/csharp/RSPEC-101)
sonarscanner: src/WorkflowManager/Database/Repositories/PayloadRepository.cs#L78
Remove this argument from the method call; it hides the caller information. (https://rules.sonarsource.com/csharp/RSPEC-3236)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "code-coverage-reports", "TaskManagerIntegrationTestReport", "WorkflowExecutorIntegrationTestReport". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
sonarscanner: src/WorkflowManager/Database/Repositories/PayloadRepository.cs#L116
Remove this argument from the method call; it hides the caller information. (https://rules.sonarsource.com/csharp/RSPEC-3236)
sonarscanner: src/WorkflowManager/Database/Repositories/PayloadRepository.cs#L127
Remove this argument from the method call; it hides the caller information. (https://rules.sonarsource.com/csharp/RSPEC-3236)
sonarscanner: src/WorkflowManager/Database/Repositories/PayloadRepository.cs#L118
Await FindAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
sonarscanner: src/TaskManager/Plug-ins/Email/EmailPlugin.cs#L41
Remove this unread private field '_cancelationQueue' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
sonarscanner: src/TaskManager/Plug-ins/Email/EmailPlugin.cs#L37
Remove the field '_options' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
sonarscanner: src/TaskManager/Plug-ins/Email/EmailPlugin.cs#L42
Remove the field '_scope' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
sonarscanner: src/TaskManager/Plug-ins/Email/EmailPlugin.cs#L59
Remove this argument from the method call; it hides the caller information. (https://rules.sonarsource.com/csharp/RSPEC-3236)
sonarscanner: src/TaskManager/Plug-ins/Email/EmailPlugin.cs#L96
Remove the unnecessary Boolean literal(s). (https://rules.sonarsource.com/csharp/RSPEC-1125)

Artifacts

Produced during runtime
Name Size
TaskManagerIntegrationTestReport Expired
1.69 MB
WorkflowExecutorIntegrationTestReport Expired
2.65 MB
code-coverage-reports Expired
18.3 MB