Skip to content

Fix to tests and upgrade to ids (#705) #1251

Fix to tests and upgrade to ids (#705)

Fix to tests and upgrade to ids (#705) #1251

Re-run triggered April 17, 2024 13:36
Status Failure
Total duration 2m 39s
Artifacts 4

workflow.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 42 warnings
deployFunction
Process completed with exit code 1.
build: src/RepoGovernance.Service/Program.cs#L17
'ApplicationInsightsExtensions.AddApplicationInsightsTelemetry(IServiceCollection, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsightsTelemetry() overload which accepts Action<ApplicationInsightsServiceOptions> and set ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
build: src/RepoGovernance.Service/Controllers/SummaryItemsController.cs#L96
Possible null reference argument for parameter 'connectionString' in 'Task<SummaryItem?> SummaryItemsDA.GetSummaryItem(string connectionString, string user, string owner, string repo)'.
build: src/RepoGovernance.Web/Services/SummaryItemsServiceApiClient.cs#L15
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: src/RepoGovernance.Web/Program.cs#L7
'ApplicationInsightsExtensions.AddApplicationInsightsTelemetry(IServiceCollection, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsightsTelemetry() overload which accepts Action<ApplicationInsightsServiceOptions> and set ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
build: src/RepoGovernance.Web/Services/BaseServiceApiClient.cs#L9
Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/RepoGovernance.Web/Models/SummaryItemsIndex.cs#L8
Non-nullable property 'SummaryItems' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Web/Models/SummaryItemsIndex.cs#L9
Non-nullable property 'SummaryRepoLanguages' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Web/Views/Home/Index.cshtml#L109
Dereference of a possibly null reference.
build: src/RepoGovernance.Web/Views/Home/Index.cshtml#L133
Dereference of a possibly null reference.
build: src/RepoGovernance.Function/ProcessItemFromQueueFunction.cs#L23
The variable 'project' is assigned but its value is never used
build: src/RepoGovernance.Core/Models/NuGetPackages/Vulnerability.cs#L5
Non-nullable property 'severity' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Vulnerability.cs#L6
Non-nullable property 'advisoryurl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Root.cs#L5
Non-nullable property 'Projects' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Project.cs#L5
Non-nullable property 'path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Project.cs#L6
Non-nullable property 'frameworks' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L5
Non-nullable property 'id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L6
Non-nullable property 'requestedVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L7
Non-nullable property 'resolvedVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L8
Non-nullable property 'latestVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L9
Non-nullable property 'deprecationReasons' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: microsoft/variable-substitution@v1, coverallsapp/github-action@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: microsoft/variable-substitution@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test: src/RepoGovernance.Core/Models/NuGetPackages/Vulnerability.cs#L5
Non-nullable property 'severity' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Vulnerability.cs#L6
Non-nullable property 'advisoryurl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Root.cs#L5
Non-nullable property 'Projects' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Project.cs#L5
Non-nullable property 'path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Project.cs#L6
Non-nullable property 'frameworks' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L5
Non-nullable property 'id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'Owner' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L6
Non-nullable property 'requestedVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L7
Non-nullable property 'resolvedVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'Project' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L8
Non-nullable property 'latestVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'Repo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: src/RepoGovernance.Core/Models/NuGetPackages/Package.cs#L9
Non-nullable property 'deprecationReasons' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'DeploymentFrequencyBadgeURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'DeploymentFrequencyBadgeWithMetricURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'LeadTimeForChangesBadgeURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'LeadTimeForChangesBadgeWithMetricURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'MeanTimeToRestoreBadgeURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'MeanTimeToRestoreBadgeWithMetricURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run SonarCloud analysis: src/RepoGovernance.Core/Models/DORASummaryItem.cs#L6
Non-nullable property 'ChangeFailureRateBadgeURL' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.