LibreChat/packages/client/src
Danny Avila 03ecac8ac1
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
🧪 ci: Resolve DataTable test infinite re-render (#13947)
DataTable.spec failed with "Too many re-renders" (35 tests). Root cause: @tanstack/react-virtual is measurement-driven, and jsdom has no real layout, so its re-render loop never converges. This went unnoticed because packages/client had no jest CI job (only the client workspace runs jest in frontend-review.yml).

- DataTable: only read the virtualizer (getVirtualItems/getTotalSize) when virtualization is active; the non-virtualized branch renders rows directly, so engaging it for small tables was wasted render-phase work.
- Spec: mock @tanstack/react-virtual, since jsdom can't exercise real virtualization layout.
- Add a test:ci script to @librechat/client and a Tests: @librechat/client CI job so packages/client specs run on every frontend PR.
2026-06-24 23:40:18 -04:00
..
common 🔖 fix: Announce Bookmark Selection State (#11450) 2026-01-21 13:49:50 -05:00
components 🧪 ci: Resolve DataTable test infinite re-render (#13947) 2026-06-24 23:40:18 -04:00
hooks ⚙️ refactor: Lazy load locale resources (#13640) 2026-06-10 08:48:58 -04:00
locales refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
Providers refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
svgs refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
theme refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
utils refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
index.ts 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
store.ts refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00