Repository navigation
[TASK] Phase 5 SignalR clients #11
Copy link
Copy link
Labels
assigned:copilotIssues assigned to GitHub CopilotIssues assigned to GitHub Copilotcopilot-taskTask for GitHub Copilot workflowTask for GitHub Copilot workflow
Description
Activity
- addedassigned:copilotIssues assigned to GitHub CopilotIssues assigned to GitHub Copilotcopilot-taskTask for GitHub Copilot workflowTask for GitHub Copilot workflow
on Nov 23, 2025 - linked a pull request that will close this issueImplement SignalR TaskHub client with lifecycle management #12
on Nov 23, 2025 Progress Update (Phase 5 SignalR)\n\n- [x] Shared TaskHub client contract/base + endpoint resolver live in DotnetAgents.Core.\n- [x] Web SignalR client + hosted service registered; lifecycle + logging in place.\n- [x] Console client now surfaces connection state and reuses the shared abstractions.\n- [x] Phase 5 walkthrough updated to describe the new architecture and verification steps.\n- [ ] Remaining work: expand automated tests, run dotnet build/test for validation, and capture Aspire log evidence for the verification doc.\n\nHappy to adjust focus if you need other items tackled first.
- added a commit that references this issue
on Nov 23, 2025 Phase 5 validation update
- Latest commit 5431b50 contains all Workstreams A–E plus the shared SignalR lifecycle + docs/tests.
- Validation reran locally prior to the push:
- dotnet build DotnetAgents/DotnetAgents.slnx ✔️
- dotnet test DotnetAgents/DotnetAgents.Tests/DotnetAgents.Tests.csproj ✔️ (19 tests, 1 skipped — warning MTP0001 only)
- SonarCloud Code Analysis has been re-triggered via the PR branch update and is now passing (gh pr checks 12 shows ✓ SonarCloud, only the automated Claude review remains outstanding).
- Remaining follow-up is simply awaiting reviewer approval on PR Implement SignalR TaskHub client with lifecycle management #12 plus any manual log capture you’d still like; let me know if you want additional evidence gathered.
Metadata
Metadata
Assignees
Labels
assigned:copilotIssues assigned to GitHub CopilotIssues assigned to GitHub Copilotcopilot-taskTask for GitHub Copilot workflowTask for GitHub Copilot workflow
Task Description
Implement Phase 5 of the LLM response routing plan by wiring resilient SignalR clients for both the Blazor web UI and the Consolonia console UI so downstream chat/dashboard features can subscribe to real-time task events.
Implementation Plan
/taskHub).TaskHubServicein DotnetAgents.Web with automatic reconnect, subscribe/unsubscribe helpers, lifecycle logging, and DI registration/startup/shutdown wiring.ConsoleTaskHubServiceplus lightweight UI hooks (status text, connection lifecycle) so the console app also establishes and maintains a hub connection using the shared contract.Acceptance Criteria
ITaskHubClientas a singleton, starts the hub connection on startup, and exposes typed events (TaskStatusChanged,TaskProgress, etc.).dotnet build+dotnet testsucceed, and manual Aspire/AppHost run logs show clients connecting to/taskHubwith no unhandled exceptions.Testing Plan
dotnet build DotnetAgents/DotnetAgents.slnxdotnet test DotnetAgents/DotnetAgents.Tests/DotnetAgents.Tests.csprojdotnet run DotnetAgents/DotnetAgents.AppHost) to verify both clients log successful SignalR connections.Implementation Notes
services:agentapi:https:0) with fallback toAGENT_API_BASE_URLenv var andhttps://localhost:7000default for standalone console runs.IHostApplicationLifetime(web) / Avalonia lifetime (console) to stop the hub gracefully on shutdown.docs/Phase5_Web_SignalR_Client_Walkthrough.md.Related Issues/PRs