Skip to content

[Host.Outbox] Clean up in batches #1484

[Host.Outbox] Clean up in batches

[Host.Outbox] Clean up in batches #1484

Triggered via pull request March 5, 2025 13:29
@EtherZaEtherZa
synchronize #376
Status Failure
Total duration 3m 45s
Artifacts 1

build.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Produce_Given_LongRunningCreateInterceptor_Then_ProduceWaitsUntilInterceptorFinishes(isPublish: False): src/Tests/SlimMessageBus.Host.Test/MessageBusTested.cs#L74
Failed test found in: ./test-results/SlimMessageBus.Host.Test_Unit_net9.0_20250305133210.trx Error: System.NullReferenceException : Object reference not set to an instance of an object.
SlimMessageBus.Host.Test.MessageBusBaseTests ► When_Send_Given_InterceptorsInDI_Then_InterceptorInfluenceIfTheMessageIsDelivered(producedMessages: 1, producerInterceptorCallsNext: True, sendInterceptorCallsNext: null): src/Tests/SlimMessageBus.Host.Test/MessageBusTested.cs#L74
Failed test found in: ./test-results/SlimMessageBus.Host.Test_Unit_net9.0_20250305133210.trx Error: System.NullReferenceException : Object reference not set to an instance of an object.
build
Failed test were found and 'fail-on-error' option is set to ***
build
Process completed with exit code 1.
build: src/SlimMessageBus.Host.Outbox/Services/OutboxCleanUpTask.cs#L165
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
build: src/SlimMessageBus.Host.Outbox/Services/OutboxCleanUpTask.cs#L12
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
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/Services/OutboxCleanUpTask.cs#L45
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
build: src/SlimMessageBus.Host.Outbox/Services/OutboxCleanUpTask.cs#L127
Remove this empty statement. (https://rules.sonarsource.com/csharp/RSPEC-1116)
build: src/SlimMessageBus.Host.Outbox/Services/OutboxCleanUpTask.cs#L165
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
build: src/SlimMessageBus.Host.Outbox/Services/OutboxCleanUpTask.cs#L12
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
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/Services/OutboxCleanUpTask.cs#L45
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
build: src/SlimMessageBus.Host.Outbox/Services/OutboxCleanUpTask.cs#L127
Remove this empty statement. (https://rules.sonarsource.com/csharp/RSPEC-1116)

Artifacts

Produced during runtime
Name Size Digest
test-results Expired
130 KB
sha256:6a299fa58f5bd619a8398375cc7233c89c6cc64701e0cfdc1e4389ebdf2dc1d7