LibreChat/packages
Julien Millau fe2cd45c43 🗂️ perf: Drop Schema Indexes That a Wider Index Already Covers
31 indexes are a key prefix of another index on the same collection that
holds every document, so they serve no read the wider index cannot, yet
every write maintains them. Remove the declarations and add a spec that
fails when one is declared again, and that pins the eight field-level
indexes kept because their name collides with a legacy unique index: that
collision is what surfaces the tenant-index migration hint.

Partial, sparse, hidden and collated indexes never count as a cover, and
prefixes whose only cover is multikey (users/groups tenantId) stay.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 13:50:58 +01:00
..
api 🦿 chore: Bump Agents SDK to 4.2.1 (#17664) 2026-10-31 15:17:05 -04:00
chat 🚦 refactor: Move the Tool Outcome Helpers Into the Chat Package (#17708) 2026-11-02 01:43:38 +01:00
client 🖼️ refactor: Move the Composer Layout Into the Chat Package (#17680) 2026-11-02 01:23:49 +01:00
data-provider 🏷️ refactor: Paint the Provider Badge Over Media Through a Theme Role (#17681) 2026-10-31 22:48:10 +01:00
data-schemas 🗂️ perf: Drop Schema Indexes That a Wider Index Already Covers 2026-11-02 13:50:58 +01:00