• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mehdihadeli / food-delivery-microservices / 28674357353

03 Jul 2026 05:09PM UTC coverage: 16.207%. First build
28674357353

Pull #253

github

web-flow
Merge bac29ff01 into 6c7e230c7
Pull Request #253: feat: replace masstransit with wolverine

337 of 3348 branches covered (10.07%)

Branch coverage included in aggregate %.

125 of 258 new or added lines in 26 files covered. (48.45%)

1396 of 7345 relevant lines covered (19.01%)

0.39 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

6.67
/src/BuildingBlocks/BuildingBlocks.Core/Messages/MessageMetadataAccessor.cs
1
using BuildingBlocks.Core.Web.Extensions;
2
using Microsoft.AspNetCore.HeaderPropagation;
3

4
namespace BuildingBlocks.Core.Messages;
5

6
using BuildingBlocks.Abstractions.Messages;
7

8
public class MessageMetadataAccessor(HeaderPropagationValues headerPropagationValues) : IMessageMetadataAccessor
2✔
9
{
10
    public Guid GetCorrelationId()
11
    {
12
        var cid = headerPropagationValues.GetCorrelationId();
×
13

14
        if (cid is not null)
×
15
        {
16
            return (Guid)cid;
×
17
        }
18

NEW
19
        var correlationId = Guid.CreateVersion7();
×
20
        headerPropagationValues.AddCorrelationId(correlationId);
×
21

22
        return correlationId;
×
23
    }
24

25
    public Guid? GetCautionId()
26
    {
27
        var causationId = headerPropagationValues.GetCausationId();
×
28

29
        if (causationId is not null)
×
30
        {
31
            return (Guid)causationId;
×
32
        }
33

34
        return null;
×
35
    }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc