feat(dashboard): add worker-logs tile #8

Merged
janpeter merged 1 commit from feat/worker-logs-tile into main 2026-05-17 23:00:08 +02:00
Owner

Reads 24h aggregates and the most recent run from the WorkerRun table
(populated by the ingest timer) and renders a tile linking to /worker-logs.

  • lib/worker-logs-summary.ts: server-only Prisma groupBy over the last 24h
  • app/api/worker-logs/summary: GET endpoint for client-side refresh (30s)
  • app/_components/WorkerLogsWidget.tsx: tile UI; red on errors, orange on
    token-expired, green on healthy traffic, muted when idle for 24h
  • app/page.tsx: wire into the Promise.allSettled batch and grid

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Reads 24h aggregates and the most recent run from the WorkerRun table (populated by the ingest timer) and renders a tile linking to /worker-logs. - lib/worker-logs-summary.ts: server-only Prisma groupBy over the last 24h - app/api/worker-logs/summary: GET endpoint for client-side refresh (30s) - app/_components/WorkerLogsWidget.tsx: tile UI; red on errors, orange on token-expired, green on healthy traffic, muted when idle for 24h - app/page.tsx: wire into the Promise.allSettled batch and grid Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Reads 24h aggregates and the most recent run from the WorkerRun table
(populated by the ingest timer) and renders a tile linking to /worker-logs.

- lib/worker-logs-summary.ts: server-only Prisma groupBy over the last 24h
- app/api/worker-logs/summary: GET endpoint for client-side refresh (30s)
- app/_components/WorkerLogsWidget.tsx: tile UI; red on errors, orange on
  token-expired, green on healthy traffic, muted when idle for 24h
- app/page.tsx: wire into the Promise.allSettled batch and grid

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
janpeter/Ops-dashboard!8
No description provided.