Commit 4641682
fix(config): replace lancedb import with filesystem check to prevent Kuzu segfault
index_dir_has_existing_artifacts imported lancedb to check for existing
Lance tables, spawning a LanceDBBackgroundEventLoop daemon thread. This
thread causes Kuzu C++ segfaults in subsequent tests (kuzu is archived
with known thread-safety bugs).
Replace the lancedb import with a filesystem heuristic that checks for
data.lance files inside subdirectories. Same detection capability, zero
thread creation.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent ca96a07 commit 4641682
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
404 | 402 | | |
405 | 403 | | |
406 | 404 | | |
| |||
0 commit comments