Skip to content

Add LogDebug() to scheduled message code paths#2210

Merged
jeremydmiller merged 1 commit intomainfrom
multi-stream-and-before
Feb 18, 2026
Merged

Add LogDebug() to scheduled message code paths#2210
jeremydmiller merged 1 commit intomainfrom
multi-stream-and-before

Conversation

@jeremydmiller
Copy link
Member

Summary

  • Adds LogDebug() statements at every decision point and state transition in the scheduled message lifecycle
  • Covers routing decisions (local/native/durable), in-memory scheduling, buffered/durable receivers, flush paths, reschedule paths, and database persistence
  • Each log includes structured placeholders: {EnvelopeId}, {MessageType}, {Destination}, and context-specific values like {ExecutionTime}

Test plan

  • dotnet build src/Wolverine --framework net9.0 — 0 errors
  • dotnet build src/Persistence/Wolverine.RDBMS --framework net9.0 — 0 errors
  • dotnet test src/Testing/CoreTests --framework net9.0 — 1013 passed, 0 failed

🤖 Generated with Claude Code

…le tracing

Adds structured debug logging across all scheduled message decision points:
MessageRoute, MessageContext, WolverineRuntime, InMemoryScheduledJobProcessor,
BufferedReceiver, DurableReceiver, ScheduledSendEnvelopeHandler, and
MessageDatabase. Each log includes envelope ID, message type, and destination.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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