Query service #75
lint.yml
on: pull_request
autoformat check
3m 4s
Inspection
2m 10s
Annotations
2 errors and 10 warnings
Inspection
Issues found.
|
autoformat check
Process completed with exit code 1.
|
Inspection:
src/Ydb.Sdk/tests/Query/TestExecuteQuery.cs#L120
"[UnusedVariable] Local variable 'part' is never used" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/tests/Query/TestExecuteQuery.cs(120,3463)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L12
"[UnusedParameter.Local] Parameter 'driver' is never used" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(12,191)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L40
"[CSharpWarnings::CS1998] 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." on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(40,864)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L47
"[CSharpWarnings::CS1998] 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." on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(47,1050)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L52
"[CSharpWarnings::CS1998] 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." on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(52,1182)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QueryClient.cs#L57
"[CSharpWarnings::CS1998] 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." on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QueryClient.cs(57,1276)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L2
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(2,22)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L37
"[ReturnTypeCanBeNotNullable] Return type of 'ResultSet' can be non-nullable" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(37,686)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L50
"[UnassignedGetOnlyAutoProperty] Get-only auto-property 'ExecStats' is never assigned" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(50,1093)
|
Inspection:
src/Ydb.Sdk/src/Services/Query/QuerySession.cs#L83
"[UnassignedGetOnlyAutoProperty] Get-only auto-property 'Current' is never assigned" on /home/runner/work/ydb-dotnet-sdk/ydb-dotnet-sdk/src/Ydb.Sdk/src/Services/Query/QuerySession.cs(83,1965)
|