Skip to content

feat: add error message to deadletter queue #1769

feat: add error message to deadletter queue

feat: add error message to deadletter queue #1769

Triggered via pull request January 17, 2024 16:11
Status Failure
Total duration 9m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

code-pr-check.yml

on: pull_request
Get Directories for Linting
2s
Get Directories for Linting
Build database upgrader
36s
Build database upgrader
Run javascript tests
15s
Run javascript tests
Matrix: Lint & Commit
Build and run unit tests
1m 46s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 21 warnings
Lint & Commit (Dfe.PlanTech.Application/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.AzureFunctions/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.DatabaseUpgrader/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Domain/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Infrastructure.Contentful/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Infrastructure.Data/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Infrastructure.SignIn/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Web.Node/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Lint & Commit (Dfe.PlanTech.Web/)
Received status code 403. Resource not accessible by integration https://docs.github.com/rest/checks/runs#create-a-check-run
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L105
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L133
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L150
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L169
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L191
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L213
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L235
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L257
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L277
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/Functions/QueueReceiverTests.cs#L105
There is no argument given that corresponds to the required parameter 'cancellationToken' of 'QueueReceiver.QueueReceiverDbWriter(ServiceBusReceivedMessage[], ServiceBusMessageActions, CancellationToken)'
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Lint & Commit (Dfe.PlanTech.Application/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.AzureFunctions/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.DatabaseUpgrader/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Domain/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Infrastructure.Contentful/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Infrastructure.Data/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Infrastructure.SignIn/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Web.Node/)
Some check runs could not be created.
Lint & Commit (Dfe.PlanTech.Web/)
Some check runs could not be created.
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: tests/Dfe.PlanTech.Infrastructure.SignIn.UnitTests/DfeOpenIdConnectEventsTests.cs#L286
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build and run unit tests: src/Dfe.PlanTech.AzureFunctions/Mappings/SectionMapper.cs#L41
Possible null reference argument for parameter 'inner' in 'void JsonToDbMapper<SectionDbEntity>.UpdateRelatedEntity<PageDbEntity>(object inner, DbSet<PageDbEntity> dbSet, Action<string, PageDbEntity> updateEntity)'.
Build and run unit tests: src/Dfe.PlanTech.AzureFunctions/Functions/QueueReceiver.cs#L106
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Build and run unit tests: src/Dfe.PlanTech.Web/Controllers/CheckAnswersController.cs#L47
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
Build and run unit tests: tests/Dfe.PlanTech.AzureFunctions.UnitTests/AsyncQueryProvider.cs#L50
Converting null literal or possible null value to non-nullable type.