feat: add Jobs and Runners commands with SSE event wiring #24

Merged
forbes merged 1 commits from feat/worker-client-ui into feat/dag-activity-display 2026-02-15 14:20:14 +00:00
Owner

Client-side UI for the worker system.

Changes

JobMonitorDialog (Silo_Jobs command)

  • Filter bar with status dropdown and search field
  • Job table: Status, Definition, Item, Runner, Progress, Created, Duration
  • Detail panel with log viewer for selected job
  • Actions: Trigger Job (definition picker), Cancel Job, Refresh
  • Auto-refreshes on SSE job events when visible

RunnerAdminDialog (Silo_Runners command)

  • Runner table: Name, Tags, Status, Last Heartbeat, Jobs Completed
  • Register runner (name + tags, token shown once)
  • Delete runner with confirmation

SSE Event Wiring

  • Connect job_claimed, job_progress, job_cancelled signals (previously only created/completed/failed were wired)
  • All handlers log to FreeCAD console
  • job_created, job_failed, job_cancelled add activity panel entries

Command Registration

  • Silo_Jobs added to Silo Origin toolbar and menu (after BOM)
  • Silo_Runners added to menu (admin section, after Auth)

Dependencies

Client-side UI for the worker system. ## Changes ### JobMonitorDialog (`Silo_Jobs` command) - Filter bar with status dropdown and search field - Job table: Status, Definition, Item, Runner, Progress, Created, Duration - Detail panel with log viewer for selected job - Actions: Trigger Job (definition picker), Cancel Job, Refresh - Auto-refreshes on SSE job events when visible ### RunnerAdminDialog (`Silo_Runners` command) - Runner table: Name, Tags, Status, Last Heartbeat, Jobs Completed - Register runner (name + tags, token shown once) - Delete runner with confirmation ### SSE Event Wiring - Connect `job_claimed`, `job_progress`, `job_cancelled` signals (previously only created/completed/failed were wired) - All handlers log to FreeCAD console - `job_created`, `job_failed`, `job_cancelled` add activity panel entries ### Command Registration - `Silo_Jobs` added to Silo Origin toolbar and menu (after BOM) - `Silo_Runners` added to menu (admin section, after Auth) ### Dependencies - Requires kindred/silo-client#1 (worker API methods)
forbes added 1 commit 2026-02-15 11:08:09 +00:00
- Add JobMonitorDialog (Silo_Jobs): filter, view, trigger, cancel jobs
- Add RunnerAdminDialog (Silo_Runners): list, register, delete runners
- Wire job_claimed, job_progress, job_cancelled SSE signals to handlers
- Add activity panel entries for job lifecycle events
- Register Silo_Jobs in toolbar and menu, Silo_Runners in menu
- Update silo-client submodule with worker API methods
forbes merged commit 27ddd6d750 into feat/dag-activity-display 2026-02-15 14:20:13 +00:00
forbes deleted branch feat/worker-client-ui 2026-02-15 14:20:14 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/silo-mod#24