Implementing 404 error when repo is not found #4798
designer-dotnet-test.yaml
on: pull_request
Matrix: Run dotnet build and test
Annotations
30 warnings
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/TypedHttpClients/Altinn2Metadata/Altinn2MetadataClient.cs#L56
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/Models/ServiceResource.cs#L58
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/Program.cs#L152
'ApplicationInsightsLoggingBuilderExtensions.AddApplicationInsights(ILoggingBuilder, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsights() overload which accepts Action<TelemetryConfiguration> and set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/Program.cs#L216
'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.'
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/Services/Implementation/MaskinPortenClientDefinition.cs#L22
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.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L11
Non-nullable property 'Links' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L17
Non-nullable property 'DownloadUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L23
Non-nullable property 'GitUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L26
Non-nullable property 'HtmlUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (ubuntu-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L29
Non-nullable property 'LastCommitSha' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/TypedHttpClients/Altinn2Metadata/Altinn2MetadataClient.cs#L56
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/Program.cs#L152
'ApplicationInsightsLoggingBuilderExtensions.AddApplicationInsights(ILoggingBuilder, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsights() overload which accepts Action<TelemetryConfiguration> and set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Run dotnet build and test (macos-latest):
backend/src/Designer/Program.cs#L216
'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.'
|
Run dotnet build and test (macos-latest):
backend/src/Designer/Services/Implementation/MaskinPortenClientDefinition.cs#L22
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.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/Models/ServiceResource.cs#L58
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L11
Non-nullable property 'Links' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L17
Non-nullable property 'DownloadUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L23
Non-nullable property 'GitUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L26
Non-nullable property 'HtmlUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (macos-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L29
Non-nullable property 'LastCommitSha' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/Program.cs#L152
'ApplicationInsightsLoggingBuilderExtensions.AddApplicationInsights(ILoggingBuilder, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsights() overload which accepts Action<TelemetryConfiguration> and set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Run dotnet build and test (windows-latest):
backend/src/Designer/Program.cs#L216
'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.'
|
Run dotnet build and test (windows-latest):
backend/src/Designer/TypedHttpClients/Altinn2Metadata/Altinn2MetadataClient.cs#L56
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/Models/ServiceResource.cs#L58
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L11
Non-nullable property 'Links' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L17
Non-nullable property 'DownloadUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L23
Non-nullable property 'GitUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L26
Non-nullable property 'HtmlUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L29
Non-nullable property 'LastCommitSha' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Run dotnet build and test (windows-latest):
backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L32
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|