Test
8173ca3424
indexing hotfix
2024-08-27 13:59:18 -07:00
Test
65ffdde112
more indexing fixes
2024-08-27 12:25:53 -07:00
Test
b7ca371d57
safer indexing
2024-08-27 12:24:17 -07:00
Test
625fdb0157
Merge branch 'dev' into pe/docs-sitemap
2024-08-22 19:40:05 -07:00
Test
e5b3e283e8
cleanup
2024-08-22 19:18:31 -07:00
Test
56c7fbbcc1
tsc fix
2024-08-22 19:13:40 -07:00
Test
4edae01a90
finish docscrawler
2024-08-22 18:53:04 -07:00
Test
b9b58e23fc
use async generator
2024-08-22 17:14:06 -07:00
Patrick Erichsen
53f886fd40
fix: addTag
2024-08-22 13:13:55 -07:00
Patrick Erichsen
b9114bbdab
fix: delete all code_snippets
2024-08-22 11:28:56 -07:00
Patrick Erichsen
e8f1e3ac2c
add PCR
2024-08-22 10:24:11 -07:00
Test
6600501fe7
fix ci again
2024-08-21 22:37:07 -07:00
Test
d621cc8da9
temp: let tests run in CI (they pass locally)
2024-08-21 22:24:58 -07:00
Patrick Erichsen
23fffea2cc
copy libs into out
2024-08-21 14:06:11 -07:00
Nate Sesti
fa33df2b2a
add astro.build to crawl tests
2024-08-20 18:02:01 -07:00
Patrick Erichsen
a51c520dee
feat: use crawlee for docs service
2024-08-20 17:26:30 -07:00
Priyash Patil
acea620043
fix(core): delete indexed docs if re-indexing
2024-08-20 18:57:44 +05:30
Nate Sesti
f3a0a1fe7d
Merge pull request #2046 from continuedev/nate/fix-ci-tests
...
Fixes CI tests by installing vectordb
2024-08-19 16:50:42 -07:00
Nate Sesti
77b4b67282
improved indexing error handling
2024-08-19 13:31:18 -07:00
Nate Sesti
a841e55b44
remove unnecessary telemetry
2024-08-19 13:10:45 -07:00
Nate Sesti
e852c965e2
fix git error
2024-08-19 07:49:47 -07:00
Nate Sesti
9db4ad886a
test
2024-08-19 07:46:38 -07:00
Patrick Erichsen
c818e2d44b
remove unneeded eslint ignores
2024-08-16 10:42:12 -07:00
Patrick Erichsen
ab66a06397
Merge branch 'dev' into pe/core-test-colocation
2024-08-16 10:38:28 -07:00
Patrick Erichsen
e94c399034
chore: turn off naming-convention
2024-08-16 10:36:57 -07:00
Patrick Erichsen
5406d0e1a2
test: colocate tests in core
2024-08-16 10:35:40 -07:00
Patrick Erichsen
d8eb1894c9
Merge pull request #2017 from teslamotors/user/rleidle/fix-ignore-sub-directories
...
Correct the behavior for ignore files in sub-directories
2024-08-16 09:23:48 -07:00
Patrick Erichsen
ccd6894ab3
Merge branch 'dev' into pe/codebase-index-update-testing
2024-08-15 17:43:25 -07:00
Nate Sesti
0b6522f134
fix lancedb indexing bug
2024-08-15 17:39:22 -07:00
Patrick Erichsen
b67fbe1749
update tests
2024-08-15 17:08:54 -07:00
Patrick Erichsen
657ad97def
merge dev
2024-08-15 13:48:52 -07:00
Patrick Erichsen
8cdb68c6d6
update tests
2024-08-15 13:38:15 -07:00
Rob Leidle
81487d2d5a
Correct the behavior for ignore files in sub-directories
...
The ignore library expects for a subdirectory that the caller pass in
the relative path of files, i.e. remove the sub-directory prefix from
the filepath.
2024-08-15 10:59:45 -07:00
Nate Sesti
37269db91c
add computed rows to lancedb
2024-08-14 16:47:33 -07:00
Patrick Erichsen
978f387922
testing: add indexing update tests
2024-08-14 11:30:36 -07:00
Patrick Erichsen
50bca94eee
Update ignore.ts
2024-08-14 10:30:32 -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
333ba5d6da
Update ChunkCodebaseIndex.ts
2024-08-13 10:30:54 -07:00
Patrick Erichsen
3844208a3b
feat: improve chunking desc on large projects
2024-08-13 10:27:28 -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
bdb967d7b3
fix: REPLACE INTO code_snippet table
2024-08-12 14:54:51 -07:00
Patrick Erichsen
93b0b04baa
merge dev
2024-08-12 14:40:07 -07:00
Patrick Erichsen
e61c2e9e36
Merge pull request #1989 from teslamotors/user/rleidle/limit-concurrent-reads-planner
...
Limit the index planner to only 10 concurrent readFile(...) which prevents issues related to too many open files in large repositories
2024-08-12 11:53:44 -07:00
Patrick Erichsen
82dc972d48
Merge pull request #1984 from teslamotors/user/rleidle/fix-bulk-insert-commit-resolve
...
Move the bulk insert resolve into the COMMIT callback
2024-08-12 11:53:32 -07:00
Rob Leidle
f27a763e9a
Limit the index planner to only 10 concurrent readFile(...) which prevents issues related to too many open files in large repositories
...
With this change I am able to run the planner on the linux kernel repository. Previously the planner would error out with exceptions related to "too many file handles" on linux or "file table overflow" on macos
2024-08-11 19:47:13 -07:00
Nate Sesti
051b5a6795
remove hardcoding of MAX_CHUNK_SIZE
2024-08-10 23:32:21 -04: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
4c4b211aae
Move the bulk insert resolve into the COMMIT callback
...
db.db.serialize(...) guarantees that each statement runs in order. However, the function itself will terminate execution long before all the statements are executed. Therefore, we should only resolve the promise when the last COMMIT transaction has run. In the other cases, there will have been an error and we'll have call reject(err).
This also removed the need for the extra insert that was recently added so it was removed (in fact the extra insert was causing conflict errors).
2024-08-09 16:14:05 -07:00