Skip to content

Story/241800 user redirect #3852

Story/241800 user redirect

Story/241800 user redirect #3852

Triggered via pull request March 4, 2025 07:07
Status Failure
Total duration 3m 24s
Artifacts

code-pr-check.yml

on: pull_request
Lint & Commit
49s
Lint & Commit
Build database upgrader
30s
Build database upgrader
Run javascript tests
17s
Run javascript tests
Build and run unit tests
2m 20s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Build and run unit tests
Failed test were found and 'fail-on-error' option is set to true
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.
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: src/Dfe.PlanTech.Infrastructure.Redis/RedisCache.cs#L50
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build and run unit tests: src/Dfe.PlanTech.Infrastructure.SignIn/ConnectEvents/OnUserInformationReceivedEvent.cs#L55
The parameter name 'EstablishmentId' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build and run unit tests: src/Dfe.PlanTech.Web/Helpers/MaintainUrlOnKeyNotFoundAttribute.cs#L14
Specify AttributeUsage on 'MaintainUrlOnKeyNotFoundAttribute' to improve readability, even though it inherits it from its base type. (https://rules.sonarsource.com/csharp/RSPEC-3993)
Build and run unit tests: src/Dfe.PlanTech.Web/Middleware/ServiceExceptionHandlerMiddleWare.cs#L38
Make 'ContextRedirect' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build and run unit tests: src/Dfe.PlanTech.Web/Middleware/ServiceExceptionHandlerMiddleWare.cs#L29
Remove the unused local variable 'exception'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
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: src/Dfe.PlanTech.Infrastructure.Redis/RedisCache.cs#L50
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build and run unit tests: src/Dfe.PlanTech.Infrastructure.SignIn/ConnectEvents/OnUserInformationReceivedEvent.cs#L55
The parameter name 'EstablishmentId' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)