Skip to content

[Host.Outbox] Clean up in batches #1491

[Host.Outbox] Clean up in batches

[Host.Outbox] Clean up in batches #1491

Triggered via pull request March 5, 2025 15:33
@EtherZaEtherZa
synchronize #376
Status Success
Total duration 11m 37s
Artifacts 2

build.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/SlimMessageBus.Host.Nats/NatsSubjectConsumer.cs#L37
Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks.
build: src/SlimMessageBus.Host.Outbox/Services/OutboxSendingTask.cs#L236
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: src/SlimMessageBus.Host.Sql.Common/Transactions/SqlTransactionService.cs#L9
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: src/SlimMessageBus.Host.Sql.Common/Transactions/SqlTransactionService.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.
build: src/SlimMessageBus.Host.Outbox/Services/OutboxSendingTask.cs#L236
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: src/SlimMessageBus.Host.Outbox.Sql/SqlOutboxMessageRepository.cs#L247
Await IsDBNullAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
build: src/SlimMessageBus.Host.Outbox.Sql/SqlOutboxMessageRepository.cs#L261
Await IsDBNullAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
build: src/SlimMessageBus.Host.Outbox.Sql/SqlOutboxMessageRepository.cs#L265
Await IsDBNullAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
build: src/SlimMessageBus.Host.Outbox.Sql/SqlOutboxMessageRepository.cs#L268
Await IsDBNullAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
build: src/SlimMessageBus.Host.Outbox.Sql/SqlOutboxMessageRepository.cs#L247
Await IsDBNullAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)

Artifacts

Produced during runtime
Name Size Digest
nuget-packages Expired
4.42 MB
sha256:189227c834927da608ccb69289090157756db36e1181cff2ec7d54d6885b5c9b
test-results Expired
562 KB
sha256:c595fbc871ae1db7baf61abc7ff7d8333f6b5fd59a650d09c0db686adc473eb4