Skip to content

feat(otel): add ITraceable to compensation events (SAGA) - #92

Merged
falberthen merged 4 commits into
masterfrom
fix/otel-compensation
Apr 25, 2026
Merged

feat(otel): add ITraceable to compensation events (SAGA)#92
falberthen merged 4 commits into
masterfrom
fix/otel-compensation

Conversation

@falberthen

Copy link
Copy Markdown
Owner

Refactored

  • Add ITraceable to CancelPayment and RequestCancelPayment to extend span enrichment coverage so order.id flows through the cancellation/compensation path. RequestCancelPayment now carries OrderId explicitly to satisfy GetSpanTags() without reaching into the aggregate.
  • Split OrderSaga compensation handlers into a partial class OrderSaga.Compensation.cs holds failure/compensation event handlers.
  • Correct the CancelPaymentAsync parameter order and regenerate the Kiota client.
  • Include OrderId in CancelPayment request contract Threads OrderId from the HTTP request through to the CancelPayment
    command so the cancellation span can be tagged with order.id end-to-end.

@falberthen
falberthen merged commit 2754b2d into master Apr 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant