Skip to content

Commit 3ccb706

Browse files
committed
chore(benchmark): archive the unreferenced SWE-bench Rust runner
The 2026-08-16 SWE-bench UI archival left `src-tauri/src/benchmark/` compiled and registered with no frontend caller, and recorded that a backend-only removal should follow. This is that removal. Moves the runner (3,542 LOC: SWE-bench dataset/task loading, run and agent-batch orchestration, Docker evaluation, preflight, retention, history) to `.archive/src-tauri/src/benchmark/` and unwires it: 13 `benchmark_*` registrations, `pub mod benchmark;`, the handler-list `use` scope, and the exit-time evaluator-termination call.
1 parent d67dfc3 commit 3ccb706

19 files changed

Lines changed: 12 additions & 21 deletions

File tree

.archive/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,19 @@ is a different feature and stays live.
352352
- `src/app/root/e2e/helpers/benchmark.ts` — E2E seed/inspect helpers
353353
- `tests/e2e/specs/core/{benchmark-run-ui,benchmark-docker-execution}.spec.mjs` (mirrored under `.archive/tests/`)
354354

355+
**Rust runner — archived 2026-09-01 (follow-up to the UI archival above):**
356+
357+
- `src-tauri/src/benchmark/` — the SWE-bench runner, agent-batch orchestration, Docker evaluation, preflight, retention, and the 13 `benchmark_*` Tauri commands (3,542 LOC). The UI archival left these compiled and registered with no frontend caller; this is the backend-only removal that entry called for.
358+
359+
**Shared files edited in place** for the Rust archival:
360+
361+
- `src-tauri/src/commands/handler_list.inc` — dropped the 13 `benchmark::benchmark_*` registrations
362+
- `src-tauri/src/lib.rs` — dropped `pub mod benchmark;`
363+
- `src-tauri/src/app/builder.rs` — dropped `benchmark` from the handler-list `use crate::{…}` scope
364+
- `src-tauri/src/app/lifecycle.rs` — dropped the exit-time `benchmark::terminate_running_evaluators_sync()` call (nothing can spawn an evaluator any more)
365+
355366
**What deliberately stayed live:**
356367

357-
- `src-tauri/src/benchmark/` — the Rust runner/commands still compile and are registered; they are now unreferenced from the frontend and can be removed in a backend-only PR
358368
- `src/config/agentIcons.tsx` `flask-conical` entry and `src/assets/fileTypeIcons/folder-benchmark*.svg` — generic icon registry / file-icon theme, not feature-specific
359369
- Housekeeper token benchmark (`src/modules/MainApp/Integrations/Housekeeper/HousekeeperCategoryView.tsx`, `rpc.validation.housekeeperTokenBenchmark`)
360370

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)