Skip to content

Implement in-memory cache for resource providers #2676

Implement in-memory cache for resource providers

Implement in-memory cache for resource providers #2676

Triggered via pull request December 11, 2024 23:32
Status Success
Total duration 51s
Artifacts

dotnet-ci.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

55 warnings
build (CoreWorker)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (CoreWorker): src/dotnet/Common/Services/DependencyInjection.cs#L154
Possible null reference argument for parameter 'key' in 'string? IConfiguration.this[string key]'.
build (CoreWorker): src/dotnet/Common/Utils/Base58.cs#L79
Possible null reference return.
build (CoreWorker): src/dotnet/Common/Clients/AuthorizationServiceClient.cs#L298
Dereference of a possibly null reference.
build (CoreWorker): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build (CoreWorker): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L33
Dereference of a possibly null reference.
build (CoreWorker): src/dotnet/Common/Models/ResourceProviders/Agent/KnowledgeManagementAgent.cs#L25
Non-nullable property 'Vectorization' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (CoreWorker): src/dotnet/Common/Services/Storage/BlobStorageService.cs#L223
Dereference of a possibly null reference.
build (CoreWorker): src/dotnet/Common/Models/Orchestration/Response/CompletionResponseBase.cs#L14
Non-nullable property 'OperationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (CoreWorker): src/dotnet/Common/Models/Orchestration/Response/CompletionResponseBase.cs#L44
Non-nullable property 'UserPrompt' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (GatekeeperAPI)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (GatekeeperAPI): src/dotnet/Common/Services/DependencyInjection.cs#L154
Possible null reference argument for parameter 'key' in 'string? IConfiguration.this[string key]'.
build (GatekeeperAPI): src/dotnet/Common/Utils/Base58.cs#L79
Possible null reference return.
build (GatekeeperAPI): src/dotnet/Common/Clients/AuthorizationServiceClient.cs#L298
Dereference of a possibly null reference.
build (GatekeeperAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build (GatekeeperAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L33
Dereference of a possibly null reference.
build (GatekeeperAPI): src/dotnet/Common/Models/Orchestration/Response/CompletionResponseBase.cs#L14
Non-nullable property 'OperationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (GatekeeperAPI): src/dotnet/Common/Models/Orchestration/Response/CompletionResponseBase.cs#L44
Non-nullable property 'UserPrompt' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (GatekeeperAPI): src/dotnet/Common/Models/Orchestration/LongRunningOperationLogEntry.cs#L63
Non-nullable property 'OperationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (GatekeeperAPI): src/dotnet/Common/Services/Storage/BlobStorageService.cs#L223
Dereference of a possibly null reference.
build (GatekeeperAPI): src/dotnet/Common/Models/Orchestration/Direct/AzureOpenAICompletionResponse.cs#L14
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (OrchestrationAPI)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (OrchestrationAPI): src/dotnet/Common/Services/DependencyInjection.cs#L154
Possible null reference argument for parameter 'key' in 'string? IConfiguration.this[string key]'.
build (OrchestrationAPI): src/dotnet/Common/Utils/Base58.cs#L79
Possible null reference return.
build (OrchestrationAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build (OrchestrationAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L33
Dereference of a possibly null reference.
build (OrchestrationAPI): src/dotnet/Common/Clients/AuthorizationServiceClient.cs#L298
Dereference of a possibly null reference.
build (OrchestrationAPI): src/dotnet/Common/Services/API/HttpClientFactoryService.cs#L136
Possible null reference argument for parameter 'name' in 'void HttpHeaders.Add(string name, string? value)'.
build (OrchestrationAPI): src/dotnet/Common/Services/API/DownstreamAPIService.cs#L50
Possible null reference argument for parameter 'userIdentity' in 'Task<HttpClient> IHttpClientFactoryService.CreateClient(string clientName, UnifiedUserIdentity userIdentity)'.
build (OrchestrationAPI): src/dotnet/Common/Services/API/DownstreamAPIService.cs#L89
Possible null reference argument for parameter 'userIdentity' in 'Task<HttpClient> IHttpClientFactoryService.CreateClient(string clientName, UnifiedUserIdentity userIdentity)'.
build (OrchestrationAPI): src/dotnet/Common/Services/API/DownstreamAPIService.cs#L128
Possible null reference argument for parameter 'userIdentity' in 'Task<HttpClient> IHttpClientFactoryService.CreateClient(string clientName, UnifiedUserIdentity userIdentity)'.
build (SemanticKernelAPI)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (SemanticKernelAPI): src/dotnet/Common/Services/DependencyInjection.cs#L154
Possible null reference argument for parameter 'key' in 'string? IConfiguration.this[string key]'.
build (SemanticKernelAPI): src/dotnet/Common/Utils/Base58.cs#L79
Possible null reference return.
build (SemanticKernelAPI): src/dotnet/Common/Clients/AuthorizationServiceClient.cs#L298
Dereference of a possibly null reference.
build (SemanticKernelAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build (SemanticKernelAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L33
Dereference of a possibly null reference.
build (SemanticKernelAPI): src/dotnet/Common/Models/Orchestration/Response/CompletionResponseBase.cs#L14
Non-nullable property 'OperationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (SemanticKernelAPI): src/dotnet/Common/Models/Orchestration/Response/CompletionResponseBase.cs#L44
Non-nullable property 'UserPrompt' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (SemanticKernelAPI): src/dotnet/Common/Models/Orchestration/LongRunningOperationLogEntry.cs#L63
Non-nullable property 'OperationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (SemanticKernelAPI): src/dotnet/Common/Models/Orchestration/Direct/AzureOpenAICompletionResponse.cs#L14
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (SemanticKernelAPI): src/dotnet/Common/Models/ResourceProviders/Conversation/Conversation.cs#L14
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (CoreAPI)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (CoreAPI): src/dotnet/Common/Services/DependencyInjection.cs#L154
Possible null reference argument for parameter 'key' in 'string? IConfiguration.this[string key]'.
build (CoreAPI): src/dotnet/Common/Utils/Base58.cs#L79
Possible null reference return.
build (CoreAPI): src/dotnet/Common/Clients/AuthorizationServiceClient.cs#L298
Dereference of a possibly null reference.
build (CoreAPI): src/dotnet/Common/Services/Azure/AzureAIService.cs#L47
Possible null reference argument for parameter 'containerName' in 'Task IStorageService.WriteFileAsync(string containerName, string filePath, Stream fileContent, string? contentType, CancellationToken cancellationToken)'.
build (CoreAPI): src/dotnet/Common/Services/Azure/AzureAIService.cs#L66
Possible null reference argument for parameter 'userIdentity' in 'Task<HttpClient> IHttpClientFactoryService.CreateClient(string clientName, UnifiedUserIdentity userIdentity)'.
build (CoreAPI): src/dotnet/Common/Services/Azure/AzureAIService.cs#L82
Possible null reference return.
build (CoreAPI): src/dotnet/Common/Services/API/HttpClientFactoryService.cs#L136
Possible null reference argument for parameter 'name' in 'void HttpHeaders.Add(string name, string? value)'.
build (CoreAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build (CoreAPI): src/dotnet/Common/Extensions/DictionaryExtensions.cs#L33
Dereference of a possibly null reference.
build (CoreAPI): src/dotnet/Common/Services/API/DownstreamAPIService.cs#L42
Possible null reference assignment.