fix: Logs page — activity_logs, optional workspaceId, autoRefresh on #637

Merged
jason.woltje merged 1 commits from fix/logs-page-clean into main 2026-03-01 22:10:17 +00:00
Owner

Cherry-picked clean files from agent branch. Excludes unauthorized schema.prisma changes, worktree submodules, and untracked research docs that were swept in.

Changes:

  • Logs page now queries activity_logs via /api/activity (was querying empty runner_jobs table)
  • New activity.ts API client with action/entity filters
  • Interceptor: workspaceId optional — events no longer silently dropped
  • Fixes pre-existing TS2352 in interceptor
  • autoRefresh defaults to true
Cherry-picked clean files from agent branch. Excludes unauthorized schema.prisma changes, worktree submodules, and untracked research docs that were swept in. Changes: - Logs page now queries activity_logs via /api/activity (was querying empty runner_jobs table) - New activity.ts API client with action/entity filters - Interceptor: workspaceId optional — events no longer silently dropped - Fixes pre-existing TS2352 in interceptor - autoRefresh defaults to true
jason.woltje added 1 commit 2026-03-01 22:10:13 +00:00
- Rewrites Logs page to query activity_logs via GET /api/activity instead of runner_jobs
- New activity API client (apps/web/src/lib/api/activity.ts) with filters + types
- ActivityLoggingInterceptor: workspaceId now optional, events logged even without it
- Fixes TS2352 in interceptor via proper type assertion
- autoRefresh defaults to true
- Action/entity type filters replace status filter
jason.woltje merged commit d361d00674 into main 2026-03-01 22:10:17 +00:00
Sign in to join this conversation.