Skip to content

fix(MsSql): don't leak idle slot when validation throws OperationCanc… #95

fix(MsSql): don't leak idle slot when validation throws OperationCanc…

fix(MsSql): don't leak idle slot when validation throws OperationCanc… #95

Triggered via push May 10, 2026 21:18
Status Success
Total duration 1m 1s
Artifacts

nuget.yml

on: push
Pack & Push
58s
Pack & Push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Pack & Push
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L164
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L833
The EnumeratorCancellationAttribute applied to parameter 'ct' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L940
Dereference of a possibly null reference.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L928
Possible null reference argument for parameter 'name' in 'void MsSqlConnection.WriteNamedParam(BinaryWriter bw, string name, SqlValue value, bool isOutput = false)'.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L914
Possible null reference argument for parameter 'name' in 'void MsSqlConnection.WriteNamedParam(BinaryWriter bw, string name, SqlValue value, bool isOutput = false)'.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlParameter.cs#L54
Dereference of a possibly null reference.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L847
Possible null reference return.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlDataReader.cs#L176
Possible null reference argument for parameter 'json' in 'T? JsonSerializer.Deserialize<T>(string json, JsonSerializerOptions? options = null)'.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L191
Possible null reference argument for parameter 'connectionString' in 'Task<MsSqlConnection> MsSqlConnectionPoolManager.AcquireAsync(string connectionString, MsSqlConfiguration config, CancellationToken ct)'.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L833
The EnumeratorCancellationAttribute applied to parameter 'ct' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L164
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlConnection.cs#L833
The EnumeratorCancellationAttribute applied to parameter 'ct' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlTransaction.cs#L63
'MsSqlTransaction.DisposeAsync()' hides inherited member 'DbTransaction.DisposeAsync()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlTransaction.cs#L53
'MsSqlTransaction.RollbackAsync(CancellationToken)' hides inherited member 'DbTransaction.RollbackAsync(CancellationToken)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlTransaction.cs#L44
'MsSqlTransaction.CommitAsync(CancellationToken)' hides inherited member 'DbTransaction.CommitAsync(CancellationToken)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Pack & Push: src/CosmoSQLClient.MsSql/MsSqlCommand.cs#L22
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
Pack & Push: src/CosmoSQLClient.MySql/MySqlConnection.cs#L323
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Pack & Push: src/CosmoSQLClient.MySql/MySqlConnection.cs#L82
Cannot convert null literal to non-nullable reference type.
Pack & Push: src/CosmoSQLClient.MySql/MySqlCommand.cs#L134
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
Pack & Push: src/CosmoSQLClient.MySql/MySqlConnection.cs#L74
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).