1.3.2 #36
Triggered via release
March 3, 2024 10:19
kbeaugrand
published
1.3.2
Status
Success
Total duration
2m 19s
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#L31
Cannot convert null literal to non-nullable reference type.
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerClient.cs#L466
Missing XML comment for publicly visible type or member 'SqlServerClient.Dispose()'
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L230
Missing XML comment for publicly visible type or member 'SqlServerMemoryStore.Dispose()'
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerMemoryStore.cs#L183
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#L197
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#L204
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#L461
In method 'NormalizeIndexName', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
Publish (Connectors.Memory.SqlServer):
src/Connectors.Memory.SqlServer/SqlServerClient.cs#L430
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 (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#L160
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#L448
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#L628
In method 'NormalizeIndexName', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
Publish (KernelMemory.MemoryStorage.SqlServer):
src/KernelMemory.MemoryStorage.SqlServer/SqlServerMemory.cs#L593
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/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#L160
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)
|