app/(dashboard)/runs/page.tsx¶
Purpose¶
Filterable table of recent runs for the selected project.
Public Surface¶
- Uses route
/runs. - Consumes Convex query
api.runs.listRuns({ projectId, sinceMs }).
Behavior & Invariants¶
- Shows last 24h by default (
sinceMs). - Caps to 500 results from Convex query.
- Filters on provider and status in client.
Dependencies¶
- Depends on:
components/project-context,components/project-selector,convex/api. - Used by: Linked from navbar/dashboard.
Error Handling¶
- When
currentProjectmissing, renders instruction to select a project. - Empty state for no runs.
Example Usage¶
TODO / Technical Debt¶
- Server-side filters (provider/model/status) to reduce client CPU.
- Add row detail drawer with traceId and metadata.