Skip to content

feat: Add dashboard controls for deleting local runs#11

Open
GO1984 wants to merge 1 commit into
outsourc-e:mainfrom
GO1984:feature/delete-local-runs-ui
Open

feat: Add dashboard controls for deleting local runs#11
GO1984 wants to merge 1 commit into
outsourc-e:mainfrom
GO1984:feature/delete-local-runs-ui

Conversation

@GO1984
Copy link
Copy Markdown

@GO1984 GO1984 commented Jun 1, 2026

Summary

Adds dashboard controls for deleting persisted local benchmark runs.

Changes

  • Add deleteRun(runId) API helper for DELETE /api/benchmark/runs/{run_id}.
  • Add a Delete button on the run detail page.
  • Add a Delete action in the local leaderboard table.
  • Ask for confirmation before deleting.
  • Show API errors inline if deletion fails.
  • Navigate back to the leaderboard after deleting from the detail page.
  • Refresh the leaderboard after deleting from the table.

Why

BenchLoop already lists and opens local benchmark runs, including partial and failed runs, but there is no UI action to delete a single stored run. Users currently need to manually remove folders from ~/.bench-loop/runs/.

This makes cleanup easier for accidental, partial, failed, or obsolete local runs.

Backend dependency

This UI expects the local dashboard API to provide:

DELETE /api/benchmark/runs/{run_id}

Matching backend PR:

outsourc-e/bench-loop#16

Validation

npm run build
success

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