Skip to content

Bump MongoDB.Driver from 2.19.0 to 2.24.0 #64

Bump MongoDB.Driver from 2.19.0 to 2.24.0

Bump MongoDB.Driver from 2.19.0 to 2.24.0 #64

Triggered via pull request February 22, 2024 16:59
Status Success
Total duration 3m 16s
Artifacts

dotnet.yml

on: pull_request
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

88 warnings
run-tests (Unit, test/WorkflowCore.UnitTests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (Unit, test/WorkflowCore.UnitTests): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (Unit, test/WorkflowCore.UnitTests): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (Unit, test/WorkflowCore.UnitTests): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (Unit, test/WorkflowCore.UnitTests): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (Unit, test/WorkflowCore.UnitTests): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (Unit, test/WorkflowCore.UnitTests): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (Unit, test/WorkflowCore.UnitTests): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Unit, test/WorkflowCore.UnitTests): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Unit, test/WorkflowCore.UnitTests): src/samples/WorkflowCore.Sample06/MultipleOutcomeWorkflow.cs#L16
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Redis, test/WorkflowCore.Tests.Redis)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (Redis, test/WorkflowCore.Tests.Redis): src/samples/WorkflowCore.Sample06/MultipleOutcomeWorkflow.cs#L16
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Integration, test/WorkflowCore.IntegrationTests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/samples/WorkflowCore.TestSample01/NUnitTest.cs#L14
'NUnitTest.Setup()' hides inherited member 'WorkflowTest<MyWorkflow, MyDataClass>.Setup()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (Integration, test/WorkflowCore.IntegrationTests): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (MySQL, test/WorkflowCore.Tests.MySQL)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (MySQL, test/WorkflowCore.Tests.MySQL): src/samples/WorkflowCore.Sample06/MultipleOutcomeWorkflow.cs#L16
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (SqlServer, test/WorkflowCore.Tests.SqlServer): src/samples/WorkflowCore.Sample06/MultipleOutcomeWorkflow.cs#L16
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/samples/WorkflowCore.Sample06/MultipleOutcomeWorkflow.cs#L16
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/samples/WorkflowCore.Sample06/MultipleOutcomeWorkflow.cs#L16
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (PostgreSQL, test/WorkflowCore.Tests.PostgreSQL): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (ElasticSearch, test/WorkflowCore.Tests.Elasticsearch): src/samples/WorkflowCore.Sample03/Steps/AddNumbers.cs#L18
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.
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/WorkflowCore/Primitives/WaitFor.cs#L23
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/WorkflowCore/Primitives/Activity.cs#L24
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/WorkflowCore/Services/DefaultProviders/TransientMemoryPersistenceProvider.cs#L43
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/providers/WorkflowCore.Persistence.RavenDB/Services/RavendbPersistenceProvider.cs#L243
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/extensions/WorkflowCore.WebAPI/Controllers/WorkflowsController.cs#L34
'IWorkflowRepository.GetWorkflowInstances(WorkflowStatus?, string, DateTime?, DateTime?, int, int)' is obsolete
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L20
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/samples/WorkflowCore.Sample02/SimpleDecisionWorkflow.cs#L29
'IStepBuilder<object, RandomOutput>.When(object, string)' is obsolete
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/providers/WorkflowCore.LockProviders.SqlServer/SqlLockProvider.cs#L83
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
run-tests (MongoDB, test/WorkflowCore.Tests.MongoDB): src/samples/WorkflowCore.TestSample01/NUnitTest.cs#L14
'NUnitTest.Setup()' hides inherited member 'WorkflowTest<MyWorkflow, MyDataClass>.Setup()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.