continue-custom/core/util
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
..
ca.ts Convert core/ to NodeNext (#1877) 2024-07-30 19:04:30 -07:00
devdata.ts ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
devdataSqlite.ts Change indexing to operate on batches as returned by getComputeDeleteAddRemove to fix problems (#1971) 2024-08-08 15:34:55 -07:00
fetchWithOptions.ts feat: Client Certificate Options Support (#1658) 2024-07-03 23:44:06 -07:00
filesystem.ts Add Pause Codebase On Start setting (#1788) 2024-07-22 14:19:49 -07:00
GlobalContext.ts feat: allow JetBrains users to index docs (#1797) 2024-07-22 13:22:31 -07:00
history.ts ✨ many jetbrains improvements 2024-06-13 14:53:26 -07:00
index.ts Merge branch 'main' into preview 2024-06-23 12:44:14 -07:00
lcs.ts ⚡️ filter out extreme repetitions from autocomplete 2024-06-11 15:28:59 -07:00
LruCache.ts dev (#1542) 2024-06-28 16:21:36 -07:00
merge.ts 🚢 Preview (#1355) 2024-05-24 22:39:22 -07:00
messageIde.ts infoPopup 2024-08-05 18:00:14 -04:00
messenger.ts Convert core/ to NodeNext (#1877) 2024-07-30 19:04:30 -07:00
parameters.ts chore: clearer naming for useSuffix (#1702) 2024-07-10 10:08:03 -07:00
paths.ts feat: configure docs through config.json (#1864) 2024-08-01 16:56:27 -07:00
posthog.ts Convert core/ to NodeNext (#1877) 2024-07-30 19:04:30 -07:00
ranges.ts ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
reverseMessageIde.ts Convert core/ to NodeNext (#1877) 2024-07-30 19:04:30 -07:00
treeSitter.ts don't return parser with undefined language 2024-08-05 19:39:38 -04:00
verticalEdit.ts Nate/control plane client (#1691) 2024-07-08 21:51:53 -07:00
withExponentialBackoff.ts 🚢 Preview (#1355) 2024-05-24 22:39:22 -07:00