Commit graph

54 commits

Author SHA1 Message Date
Josh Holmer
deb9faacee
fix: refresh codebase index on config change 2025-07-14 10:17:56 -04:00
uinstinct
a020a49f4b add timestamp calculation 2025-07-10 20:47:44 +05:30
uinstinct
69f035d263 fix eslint 2025-07-10 19:28:18 +05:30
uinstinct
a472461478 introduce indexing lock 2025-07-10 19:27:00 +05:30
Ting-Wai To
057809b242 Prevent entire indexing process from stopping on error and surface messages to Indexing menu 2025-07-02 10:13:00 -07:00
Dallin Romney
69ea88ccc5 reduce codebase indexer file batch size 2025-06-17 15:52:17 -07:00
Patrick Erichsen
7140451aa3
Merge pull request #6032 from owl-app/fix-codebase-indexing
fix: 🐛 Codebase Indexing still not work
2025-06-09 14:48:43 -07:00
Paweł Kęska
955ab93efc fix: 🐛 Codebase Indexing still not work 2025-06-08 15:16:35 +02:00
chezsmithy
0c7cecd53d Updates to use codebase indexer 2025-06-04 22:02:59 -07:00
chezsmithy
f1a44194fb more cleanup 2025-06-04 20:54:28 -07:00
chezsmithy
2a719dea88 mak'in it prettier 2025-06-03 12:56:54 -07:00
chezsmithy
a5db30dab3 refactor: ♻️ Refactor CodeBaseIndexer out of core 2025-06-03 12:52:48 -07:00
Dallin Romney
98d065ac30 fix codebase indexer config logic 2025-05-26 11:55:16 -07:00
Fred Bricon
1dc58c63ab fix: allow downloading missing embedder on Ollama, in VS Code
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-04-17 18:17:37 +02:00
Dallin Romney
9e0c5f64bb fix merge conflicts 2025-03-13 17:08:37 -07:00
Dallin Romney
bf9cc74ace walk dir logging 2025-03-10 21:21:50 -07:00
Nate
cfc99b7e57 remove legacy server cache logic 2025-03-10 20:41:40 -07:00
Patrick Erichsen
963713d356 Merge branch 'main' into index-fixes 2025-03-03 18:44:56 -08:00
Patrick Erichsen
82a328ca15 feat: merge conflicts 2025-03-03 16:18:51 -08:00
Patrick Erichsen
9a318737df Merge branch 'main' into pe/unsupported-cpu-check-pt-2 2025-03-03 16:18:30 -08:00
jubilantjerry
7264c9d12b Fix tag catalog inconsistency bugs 2025-02-25 15:15:42 +08:00
Dallin Romney
a0a152e603 fix embed and reranking logic 2025-02-19 12:24:17 -08:00
Patrick Erichsen
90c663146e feat: more dynamic imports for LanceDB 2025-02-06 12:44:48 -08:00
Nate
9edd5e3e24 Use ConfigResult everywhere 2024-12-24 14:03:23 -05:00
Nate
26a847cd12 file stats method 2024-12-24 10:54:40 -05:00
Dallin Romney
a3b5dd9e0c fix config yaml conflicts 2024-12-13 15:41:12 -08:00
Dallin Romney
b6b3cceb78 (BROKEN COMMI) path -> uri vscode utils and prompt files cont 2024-12-10 17:28:56 -08:00
Nate
9658449c03 remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Dallin Romney
f7f64ff341 pause fix, cancelled status 2024-11-27 23:42:15 -07:00
Dallin Romney
77aa657d8b index files - cleanup 2024-11-14 17:14:07 -08:00
Dallin Romney
2bb2e65575 refresh index for files 2024-11-14 16:33:05 -08:00
Test
b5cab4609b chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
Nate
72e5216633 extract EXTENSION_NAME 2024-09-24 14:49:49 -07:00
Shigma
7f214adcbd
fix: fix 100% indexing progress 2024-09-23 18:02:31 +08:00
Nate Sesti
1a4ffd17a8 reduce batch size for indexing to avoid API limits 2024-08-21 14:34:16 -07:00
Nate Sesti
77b4b67282 improved indexing error handling 2024-08-19 13:31:18 -07:00
Patrick Erichsen
5406d0e1a2 test: colocate tests in core 2024-08-16 10:35:40 -07:00
Nate Sesti
3c4f4dea31 extract functions responsible for errors 2024-08-13 18:13:36 -07:00
Patrick Erichsen
b6fedb54b3 merge dev 2024-08-13 11:29:07 -07:00
Patrick Erichsen
c978d7c871 feat: create "rebuild index" dialog 2024-08-12 18:04:13 -07:00
Patrick Erichsen
994c9c4dcf remove extra arg 2024-08-12 15:47:17 -07:00
Patrick Erichsen
93b0b04baa merge dev 2024-08-12 14:40:07 -07:00
Rob Leidle
2272aa121a Change the indexing batch size to a static value of 100
This appears to have a positive impact on indexing throughput on my M1 mac
2024-08-09 16:46:52 -07:00
Rob Leidle
d9efc11193 Turn of chunking for files with more than 1m characters and files lacking extensions
This should help with some of the unnecessary work being done in indexing
2024-08-09 13:41:15 -07:00
Patrick Erichsen
9f39e12d44 break down computeRows 2024-08-09 13:32:31 -07:00
Nate Sesti
7582aa8240
Indexing tests (#1979)
* fix missing insertion into lancedb index

* successfully running codebaseindex test

* await

* fix typo

* clean up indexing tests

* expectPlan
2024-08-09 12:54:53 -07:00
Rob Leidle
fad684cb78
Change indexing to operate on batches as returned by getComputeDeleteAddRemove to fix problems (#1971)
The prior approach, of batching on lists of files as returned by
walkDir(...) broke the assumptions made by
getComputeDeleteAddRemove(...). Instead, call
getComputeDeleteAddRemove() and then batch on its results. This
approach uses a bit more memory but is roughly just as fast.

In addition, made markComplete(...)'s signature return Promise<void> as
it is an async function. Awaiting this async function has made
everything "slow" again because we do not do bulk inserts for
markComplete database rows. However, that can be fixed in a subsequent
commit.

Also disabled WAL mode for SQLite as we do not completely control the
program lifecycle so was noticing a lot of times where indexing resutls
were not checkpointed to disk.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-08 15:34:55 -07:00
Nate Sesti
faef4a6ed1 use console.debug 2024-08-08 16:20:52 -04:00
Rob Leidle
d9ca1c7c65
Make indexing functional in large workspaces by chunking segments of the workspace instead of workign on the entire workspace at once (#1876)
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-05 16:31:38 -07:00
Rob Leidle
da6428afc3
Change the onDidSaveTextDocument handler to only reindex the single saved file (#1873)
This will improve scale as before the indexing process was restarted on
every file save.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-30 12:16:29 -07:00