litellm/ui
Yuneng Jiang 1d55ef8684
perf(ui): run the vitest tiers on the threads pool
The dashboard suite ran every tier in the forks pool, which pays a child
process plus a fresh module graph per test file. Worker threads reuse the
process and cut the wall clock by about 20% on the same hardware, with no
change to how the tiers are isolated: vitest still gives each file its own
environment, so the per-file globals, module registry and jsdom document
stay exactly as they were.

Measured on the 743-file suite: 86s, 88s and 88s on forks against 71s, 66s
and 70s on threads, all 8,588 tests passing in every run.

The pool now lives in vitest.config.ts so local runs match CI, and the
workflow keeps pinning the worker count for the 16-core runner.
2026-08-19 23:19:24 -07:00
..
litellm-dashboard perf(ui): run the vitest tiers on the threads pool 2026-08-19 23:19:24 -07:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00