Complete transport health checks: all 7 remaining transports + IHealthCheck adapter#2444
Merged
jeremydmiller merged 2 commits intomainfrom Apr 6, 2026
Merged
Conversation
…ck adapter New health check implementations: - RedisHealthCheck: IConnectionMultiplexer.IsConnected + StreamLengthAsync for queue depth - NatsHealthCheck: NatsConnection.ServerInfo availability - MqttHealthCheck: IManagedMqttClient.IsConnected (no queue depth — MQTT is pub/sub) - PulsarHealthCheck: IPulsarClient initialization check - SqsHealthCheck: IAmazonSQS.ListQueuesAsync probe + GetQueueAttributesAsync for queue depth - AzureServiceBusHealthCheck: GetNamespacePropertiesAsync probe + GetQueueRuntimePropertiesAsync for depth - KafkaHealthCheck: AdminClient.GetMetadata for broker connectivity Each transport's BuildHealthCheck() wired in the transport class. ASP.NET Core integration: - WolverineTransportHealthCheckAdapter: wraps WolverineTransportHealthCheck as IHealthCheck - Startup grace period (30s default) prevents false Unhealthy during initialization All transport projects build with 0 errors. Smoke tests inherited from TransportCompliance base class cover all implementations. Completes wolverine#2400. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…perly - Catch OperationCanceledException in SocketListener.DisposeAsync when the receiving loop task is cancelled during teardown - Convert GloballyLatchedListenerTests from IDisposable to IAsyncLifetime to properly await host startup and shutdown Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes wolverine#2400 by adding health check implementations for all remaining transports and an ASP.NET Core
IHealthCheckadapter with startup grace period.New health check implementations:
RedisHealthCheck—IConnectionMultiplexer.IsConnected+StreamLengthAsyncfor broker queue depthNatsHealthCheck—NatsConnection.ServerInfoavailabilityMqttHealthCheck—IManagedMqttClient.IsConnected(no queue depth — MQTT is pub/sub)PulsarHealthCheck—IPulsarClientinitialization checkSqsHealthCheck—IAmazonSQS.ListQueuesAsyncprobe +GetQueueAttributesAsyncfor queue depthAzureServiceBusHealthCheck—GetNamespacePropertiesAsyncprobe +GetQueueRuntimePropertiesAsyncfor depthKafkaHealthCheck—AdminClient.GetMetadatafor broker connectivityASP.NET Core integration:
WolverineTransportHealthCheckAdapterwrapsWolverineTransportHealthCheckasIHealthCheckUnhealthyreports during initializationWiring: Each transport's
BuildHealthCheck()implemented and returns the transport-specific health check.Transport coverage matrix
ConnectionMonitor.IsConnected/IsBlockedMessageCountAsyncIConnectionMultiplexer.IsConnectedStreamLengthAsyncServerInfoavailabilityIManagedMqttClient.IsConnectedIPulsarClient != nullListQueuesAsyncprobeGetQueueAttributesGetNamespacePropertiesprobeGetQueueRuntimePropertiesAdminClient.GetMetadataTest plan
TransportCompliance<T>pass for each transport:can_collect_endpoint_health_snapshots_without_errorreceiver_endpoint_health_includes_listenerssender_endpoint_health_includes_senderstransport_health_check_does_not_throwWolverineTransportHealthCheckAdapterreports Healthy during grace period🤖 Generated with Claude Code