Skip to content

Add service resources dashboard - #823

Merged
selfcontained merged 12 commits into
mainfrom
agt_95daaf47b497/agent-47b497
Jul 24, 2026
Merged

Add service resources dashboard#823
selfcontained merged 12 commits into
mainfrom
agt_95daaf47b497/agent-47b497

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • add a Resources settings dashboard for Dispatch CPU, memory, database, host, agent-process, workload, and subsystem health
  • retain bounded in-memory history for CPU and memory charts, with 15-minute and 1-hour views
  • make resource collection runtime-configurable and disabled by default, with settings persisted across restarts
  • instrument API traffic and core service loops including agent reconciliation, activity monitoring, Git refreshes, schedulers, terminal observers, UI events, database probes, and update checks
  • add resilient sampling, stable error reporting, cache-consistent toggling, responsive runtime-health details, accessible chart legends, and cross-theme interaction styling
  • document the dashboard architecture and operational tradeoffs

Validation

  • pnpm run check
  • pnpm run finalize:web
  • pnpm run test
  • pnpm run test:e2e — 170 passed, 12 skipped
  • live desktop and mobile Playwright validation
  • architecture, backend security, product, and frontend UX reviews

@selfcontained
selfcontained merged commit 52a6866 into main Jul 24, 2026
1 check passed
@selfcontained
selfcontained deleted the agt_95daaf47b497/agent-47b497 branch July 24, 2026 13:49
selfcontained added a commit that referenced this pull request Jul 25, 2026
…dback-panel claim (#831)

- New in-app docs section (Settings → Resources dashboard from #823):
  opt-in collection, summary cards, history charts, subsystem health,
  workload/capacity cards
- Ambient tip pointing at the new dashboard (since 0.30.0)
- README features bullet for the resources dashboard
- Agents section: the expanded-card 'feedback panel' was removed in #782
  (reviews now live in feedback threads); describe the Review button, IDE
  launch button, and worktree-path copy pill instead

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
selfcontained added a commit that referenced this pull request Jul 26, 2026
Adds unit coverage for the #823 service-resources web side, which had
none: service-resources-format.ts (formatBytes unit ladder + decimal
threshold, formatMs branches, formatUptime d/h/m tiers, stateLabel,
the full stateBadgeVariant mapping, metadataLabel camelCase split) and
use-service-resources.ts (per-window query keys + URL, placeholder
data across window switches, mutation POST payload, optimistic
disable/enable across every cached window, error rollback, and
post-settle invalidation). Verified non-vacuous with a 13-mutant
battery (13/13 caught).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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