CI Perf Lint

recommend-modern-test-runner

Suggests evaluating a modern JavaScript test runner for repositories still on a legacy runner.

What it detects

It is a suggestion, and it does not assume a single target.

Candidate targets

Why it matters

Modern runners are generally faster and lower-overhead than the legacy runners: Vitest avoids a separate transform pipeline on Vite projects, bun:test skips Node startup, and node:test needs no dependencies. With AI-assisted migration the API work — jest.fn to vi.fn, jest.mock semantics, snapshot formats, globals — is largely mechanical, so the historical migration cost is much lower than before.

Suggested action

Pick the target that fits the stack, run both runners side by side during the migration, and only switch the default once behavior and coverage match. Keep the change only if test wall-clock time improves.

Measurement

Compare full test-run wall-clock time, startup time, and worker memory between the current runner and the candidate.