Skip to content

JSON Source async Streams #80

JSON Source async Streams

JSON Source async Streams #80

Triggered via pull request April 23, 2023 22:34
@bowencodebowencode
synchronize #44
develop
Status Success
Total duration 1m 3s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet-build-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
build
No files were found with the provided path: /home/runner/work/azure-documentdb-datamigrationtool/azure-documentdb-datamigrationtool/Core/Cosmos.DataTransfer.Core/bin/Debug/net6.0. No artifacts will be uploaded.
build: Extensions/Mongo/Cosmos.DataTransfer.MongoExtension/MongoDataSourceExtension.cs#L38
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.
build: Extensions/Json/Cosmos.DataTransfer.JsonExtension.UnitTests/JsonSinkTests.cs#L117
Possible null reference argument for parameter 'source' in 'DateTime Enumerable.ElementAt<DateTime>(IEnumerable<DateTime> source, int index)'.
build: Extensions/Json/Cosmos.DataTransfer.JsonExtension.UnitTests/JsonSinkTests.cs#L118
Possible null reference argument for parameter 'source' in 'DateTime Enumerable.ElementAt<DateTime>(IEnumerable<DateTime> source, int index)'.
build: Extensions/Json/Cosmos.DataTransfer.JsonExtension.UnitTests/JsonSinkTests.cs#L119
Possible null reference argument for parameter 'source' in 'DateTime Enumerable.ElementAt<DateTime>(IEnumerable<DateTime> source, int index)'.
build: Extensions/Mongo/Cosmos.DataTransfer.MongoExtension/MongoDataSourceExtension.cs#L38
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.
build: Extensions/Json/Cosmos.DataTransfer.JsonExtension.UnitTests/JsonSinkTests.cs#L117
Possible null reference argument for parameter 'source' in 'DateTime Enumerable.ElementAt<DateTime>(IEnumerable<DateTime> source, int index)'.
build: Extensions/Json/Cosmos.DataTransfer.JsonExtension.UnitTests/JsonSinkTests.cs#L118
Possible null reference argument for parameter 'source' in 'DateTime Enumerable.ElementAt<DateTime>(IEnumerable<DateTime> source, int index)'.
build: Extensions/Json/Cosmos.DataTransfer.JsonExtension.UnitTests/JsonSinkTests.cs#L119
Possible null reference argument for parameter 'source' in 'DateTime Enumerable.ElementAt<DateTime>(IEnumerable<DateTime> source, int index)'.