1.0.2 #25
Triggered via release
January 9, 2024 15:02
kbeaugrand
published
1.0.2
Status
Success
Total duration
46s
Artifacts
–
Annotations
20 warnings
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/ISqlServerClient.cs#L77
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L188
In externally visible method 'Task<string> SqlServerMemoryStore.UpsertAsync(string collectionName, MemoryRecord record, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'record' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L202
In externally visible method 'IAsyncEnumerable<string> SqlServerMemoryStore.UpsertBatchAsync(string collectionName, IEnumerable<MemoryRecord> records, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'records' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L209
Member 'GetMemoryRecordFromEntry' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerClient.cs#L456
Member 'ReadEntryAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/ISqlServerClient.cs#L77
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L188
In externally visible method 'Task<string> SqlServerMemoryStore.UpsertAsync(string collectionName, MemoryRecord record, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'record' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L202
In externally visible method 'IAsyncEnumerable<string> SqlServerMemoryStore.UpsertBatchAsync(string collectionName, IEnumerable<MemoryRecord> records, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'records' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L209
Member 'GetMemoryRecordFromEntry' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerClient.cs#L456
Member 'ReadEntryAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L223
Async-iterator 'SqlServerMemory.GetListAsync(string, ICollection<MemoryFilter>?, int, bool, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L271
Async-iterator 'SqlServerMemory.GetSimilarListAsync(string, string, ICollection<MemoryFilter>?, double, int, bool, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/KernelMemoryBuilderExtensions.cs#L30
In externally visible method 'IKernelMemoryBuilder KernelMemoryBuilderExtensions.WithSqlServerMemoryDb(IKernelMemoryBuilder builder, string connString)', validate parameter 'builder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/KernelMemoryBuilderExtensions.cs#L19
In externally visible method 'IKernelMemoryBuilder KernelMemoryBuilderExtensions.WithSqlServerMemoryDb(IKernelMemoryBuilder builder, SqlServerConfig config)', validate parameter 'builder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L164
In externally visible method 'Task SqlServerMemory.DeleteAsync(string index, MemoryRecord record, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'record' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L416
In externally visible method 'Task<string> SqlServerMemory.UpsertAsync(string index, MemoryRecord record, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'record' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L545
Member 'ReadEntryAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/KernelMemoryBuilderExtensions.cs#L38
The type name DependencyInjection conflicts in whole or in part with the namespace name 'Microsoft.Extensions.DependencyInjection'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L223
Async-iterator 'SqlServerMemory.GetListAsync(string, ICollection<MemoryFilter>?, int, bool, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L271
Async-iterator 'SqlServerMemory.GetSimilarListAsync(string, string, ICollection<MemoryFilter>?, double, int, bool, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|