mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
## Summary Observe Promise-backed query preparation when the builder stores it, including promises produced by fluent modifiers. Terminal operations still await the original promise and receive its original rejection. ## Validation - Both delayed-execution regressions fail on main. The new tests exercise a plain Promise-backed builder and a builder with chained filters, and check rejection identity. - Native Jest query suite: 43 passed. TypeScript compilation with `--noEmit` and Biome checks passed. - Ran real embedded direct-Promise and forced string-vector queries with Node's strict unhandled rejection mode. Both baseline processes exit before execution. With the fix each process survives the delay, receives the expected error when awaited, and successfully executes a control query. Fixes https://github.com/lancedb/lancedb/issues/5279 --------- Co-authored-by: Divyam Talwar <DivyamTalwar@users.noreply.github.com> Co-authored-by: Divyam Talwar <152021174+DivyamTalwar@users.noreply.github.com>