Skip to content

[Backend API] Implement endpoint for list of events #514

[Backend API] Implement endpoint for list of events

[Backend API] Implement endpoint for list of events #514

Triggered via pull request October 10, 2024 03:40
Status Failure
Total duration 1m 53s
Artifacts

azure-dev-build-only.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build-test
Process completed with exit code 1.
build-test: src/AzureOpenAIProxy.ApiApp/Services/PlaygroundService.cs#L27
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.
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L52
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.
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L58
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.
build-test: src/AzureOpenAIProxy.ApiApp/Repositories/AdminEventRepository.cs#L77
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.
build-test: src/AzureOpenAIProxy.PlaygroundApp/Components/UI/OldChatWindowComponent.razor#L47
'OpenAIApiClientOptions.MaxTokens' is obsolete: 'Use MaxOutputTokenCount instead.'
build-test: test/AzureOpenAIProxy.ApiApp.Tests/Repositories/AdminEventRepositoryTests.cs#L40
Possible null reference argument for parameter 'tableServiceClient' in 'AdminEventRepository.AdminEventRepository(TableServiceClient tableServiceClient, StorageAccountSettings storageAccountSettings)'.
build-test: test/AzureOpenAIProxy.ApiApp.Tests/Repositories/EventRepositoryTests.cs#L41
Possible null reference argument for parameter 'tableServiceClient' in 'EventRepository.EventRepository(TableServiceClient tableServiceClient, StorageAccountSettings storageAccountSettings)'.
build-test: test/AzureOpenAIProxy.ApiApp.Tests/Repositories/AdminEventRepositoryTests.cs#L54
Possible null reference argument for parameter 'storageAccountSettings' in 'AdminEventRepository.AdminEventRepository(TableServiceClient tableServiceClient, StorageAccountSettings storageAccountSettings)'.
build-test: test/AzureOpenAIProxy.ApiApp.Tests/Repositories/EventRepositoryTests.cs#L55
Possible null reference argument for parameter 'storageAccountSettings' in 'EventRepository.EventRepository(TableServiceClient tableServiceClient, StorageAccountSettings storageAccountSettings)'.
build-test: test/AzureOpenAIProxy.ApiApp.Tests/Extensions/ServiceCollectionExtensionsTests.cs#L317
Possible null reference argument for parameter 'value' in 'void Dictionary<string, string>.Add(string key, string value)'.