feat: agent cycle visibility — WebSocket emits + dashboard polling (#461)

- Wire WebSocketGateway into RunnerJobsService: emit job:created,
  job:status, and job:progress on create/cancel/retry/updateStatus/
  updateProgress operations
- Add 30s polling interval to dashboard page for near-real-time updates
- Enhance OrchestratorSessions widget with progress bars and step
  status labels
- Update test mocks with WebSocketGateway provider

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 19:02:51 -06:00
parent 63178df643
commit 5d3045ab4f
7 changed files with 110 additions and 4 deletions

View File

@@ -11,6 +11,6 @@
| MS-P2-001 | done | phase-2 | Create dashboard summary API endpoint: aggregate task counts, project counts, recent activity, active jobs in single call | — | issue #459, commit e38aaa9, 7 files +430 lines |
| MS-P2-002 | done | phase-2 | Wire dashboard widgets to real API data: ActivityFeed, DashboardMetrics, OrchestratorSessions replace mock with API calls | — | issue #459, commit 7c762e6 + remediation |
| MS-P2-003 | done | phase-2 | Phase verification: create task via API, confirm visible in dashboard, all quality gates pass | — | issue #459, lint 8/8 typecheck 7/7 test 8/8 |
| MS-P3-001 | not-started | phase-3 | Wire WebSocket emits into RunnerJobsService: broadcast job status/progress/step events to workspace rooms | — | issue #461, est 20K |
| MS-P3-002 | not-started | phase-3 | Dashboard auto-refresh + enhanced OrchestratorSessions: polling interval, progress bars, step status indicators, timestamps | — | issue #461, est 25K |
| MS-P3-001 | in-progress | phase-3 | Wire WebSocket emits into RunnerJobsService: broadcast job status/progress/step events to workspace rooms | — | issue #461, est 20K |
| MS-P3-002 | in-progress | phase-3 | Dashboard auto-refresh + enhanced OrchestratorSessions: polling interval, progress bars, step status indicators, timestamps | — | issue #461, est 25K |
| MS-P3-003 | not-started | phase-3 | Phase verification: all quality gates pass, demonstrate agent job cycle visibility end-to-end | — | issue #461, est 10K, depends MS-P3-001+002 |