Skip to content

Add DbContextChecks to Health Checks #8026

Add DbContextChecks to Health Checks

Add DbContextChecks to Health Checks #8026

Triggered via pull request December 9, 2024 12:54
Status Success
Total duration 10m 53s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.Logging/CorrelationContext.cs#L5
Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.UserContext/ClientUserInfoService.cs#L14
Non-nullable property 'UserInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.UserContext/UserInfo.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.UserContext/UserInfo.cs#L9
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API.Contracts/Project/Tasks/TaskSummaryBuilderParameters.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API.Contracts.Tests/RequestModels/Project/GetAllProjectsRequest.cs#L78
Possible null reference argument for parameter 'value' in 'bool string.StartsWith(string value)'.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.Data/Entities/Kpi.cs#L13
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API/Extensions/EnumExtensions.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test: Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.API/UseCases/Project/Tasks/Constituency/UpdateConstituencyTaskService.cs#L5
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.