Skip to content

Remove the MessageFailuresUpdated notification chain - #5664

Open
johnsimons wants to merge 1 commit into
john/remove_signalrfrom
john/broadcast_MessageFailuresUpdated
Open

Remove the MessageFailuresUpdated notification chain#5664
johnsimons wants to merge 1 commit into
john/remove_signalrfrom
john/broadcast_MessageFailuresUpdated

Conversation

@johnsimons

Copy link
Copy Markdown
Member

#5659 removed SignalR, including the IUserInterfaceEvent marker that selected which domain events got broadcast. It stopped at the marker, so MessageFailuresUpdated survived, along with everything that exists to produce it. That event only ever had one sink, and it was the SignalR hub.

With ServicePulseNotifier gone, nothing handles it. There is no IDomainHandler<MessageFailuresUpdated> anywhere in src, and it falls through all three catch-all IDomainHandler<IDomainEvent> handlers:

  • IntegrationEventWriter dispatches to 12 EventPublisher<TEvent, TDispatchContext> implementations. Handles is @event is TEvent, and none of the 12 event types match, so it is never published externally.
  • AuditEventLogWriter looks the event up in EventLogMappings, an exact GetType() dictionary keyed by the registered definitions. None of the 23 registered definitions is for this event, so no log item is written.
  • ServicePulseNotifier no longer exists.

So the whole chain now computes two counts, raises an event, and drops it on the floor.

No client is affected. ServicePulse takes its failed message counts from the Total-Count header on the errors endpoints and always has. The SignalR event was a nudge, never the data source.

This system was responsible for tracking and broadcasting updates about
failed message counts (unresolved and archived). It is no longer consumed
by any UI component (e.g., ServicePulse) or other parts of ServiceControl.
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