Skip to content

KM web service: fix max upload size logic #475

KM web service: fix max upload size logic

KM web service: fix max upload size logic #475

Triggered via pull request November 17, 2024 19:52
Status Failure
Total duration 3m 58s
Artifacts

dotnet-unit-tests.yml

on: pull_request
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 warnings
Unit Tests (8.0.x, ubuntu-latest): service/Service.AspNetCore/WebAPIEndpoints.cs#L29
'ServiceConfig' does not contain a definition for 'GetMaxUploadSizeInBytes' and no accessible extension method 'GetMaxUploadSizeInBytes' accepting a first argument of type 'ServiceConfig' could be found (are you missing a using directive or an assembly reference?)
Unit Tests (8.0.x, ubuntu-latest): service/Service.AspNetCore/WebAPIEndpoints.cs#L29
'ServiceConfig' does not contain a definition for 'GetMaxUploadSizeInBytes' and no accessible extension method 'GetMaxUploadSizeInBytes' accepting a first argument of type 'ServiceConfig' could be found (are you missing a using directive or an assembly reference?)
Unit Tests (8.0.x, ubuntu-latest)
Process completed with exit code 1.
Unit Tests (8.0.x, windows-latest): service/Service.AspNetCore/WebAPIEndpoints.cs#L29
'ServiceConfig' does not contain a definition for 'GetMaxUploadSizeInBytes' and no accessible extension method 'GetMaxUploadSizeInBytes' accepting a first argument of type 'ServiceConfig' could be found (are you missing a using directive or an assembly reference?)
Unit Tests (8.0.x, windows-latest): service/Service.AspNetCore/WebAPIEndpoints.cs#L29
'ServiceConfig' does not contain a definition for 'GetMaxUploadSizeInBytes' and no accessible extension method 'GetMaxUploadSizeInBytes' accepting a first argument of type 'ServiceConfig' could be found (are you missing a using directive or an assembly reference?)
Unit Tests (8.0.x, windows-latest)
Process completed with exit code 1.
Unit Tests (8.0.x, ubuntu-latest)
No files were found with the provided path: TestResults-ubuntu-latest-8.0.x. No artifacts will be uploaded.
Unit Tests (8.0.x, windows-latest)
No files were found with the provided path: TestResults-windows-latest-8.0.x. No artifacts will be uploaded.
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/DataPipelineStatus.cs#L35
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/DataPipelineStatus.cs#L57
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/DataPipelineStatus.cs#L50
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/DataPipelineStatus.cs#L64
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/AI/TextGenerationOptions.cs#L60
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/Citation.cs#L68
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Search/SearchClientConfig.cs#L90
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Search/SearchClientConfig.cs#L85
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/Citation.cs#L72
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Unit Tests (8.0.x, windows-latest): service/Abstractions/Models/DocumentUploadRequest.cs#L51
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)