CUB-55: Add SendStatusUpdate method to AgentStatusHub #25

Merged
overseer merged 2 commits from agent/dex/CUB-55-signalr-broadcast into dev 2026-04-27 17:42:10 -04:00
Owner

What

Adds SendStatusUpdate(AgentStatusUpdateDto update) method to AgentStatusHub that broadcasts agent status updates to all connected SignalR clients.

Changes

  • Added SendStatusUpdate(AgentStatusUpdateDto update) hub method to backend/ControlCenter/Hubs/AgentStatusHub.cs
  • Added AgentStatusUpdateDto class with ToUpdate() conversion method to backend/ControlCenter/Hubs/Models/AgentStatusModels.cs
  • The method converts the DTO to an AgentStatusUpdate record and calls Clients.All.AgentStatusChanged() plus the agent-specific group

Validation

  • dotnet build passes with 0 warnings, 0 errors

Linear

Closes CUB-55

## What Adds `SendStatusUpdate(AgentStatusUpdateDto update)` method to `AgentStatusHub` that broadcasts agent status updates to all connected SignalR clients. ### Changes - Added `SendStatusUpdate(AgentStatusUpdateDto update)` hub method to `backend/ControlCenter/Hubs/AgentStatusHub.cs` - Added `AgentStatusUpdateDto` class with `ToUpdate()` conversion method to `backend/ControlCenter/Hubs/Models/AgentStatusModels.cs` - The method converts the DTO to an `AgentStatusUpdate` record and calls `Clients.All.AgentStatusChanged()` plus the agent-specific group ### Validation - `dotnet build` passes with 0 warnings, 0 errors ## Linear Closes CUB-55
Dex added 1 commit 2026-04-27 06:09:52 -04:00
overseer added 1 commit 2026-04-27 17:40:54 -04:00
overseer scheduled this pull request to auto merge when all checks succeed 2026-04-27 17:42:05 -04:00
overseer merged commit bcaf85c369 into dev 2026-04-27 17:42:10 -04:00
overseer deleted branch agent/dex/CUB-55-signalr-broadcast 2026-04-27 17:42:11 -04:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CubeCraft-Creations/Control-Center#25