refactor(indexing): delete the workspace codesearch indexer
The index built google/codesearch over the chat workspace on every daemon start, for the process lifetime, through a child-process helper and a SQLite metadata DB -- and grep consulted it only for searches confined to the workspace root, which the analysed sessions showed was a small fraction of searches. The compute was continuous; the benefit was not. Removes internal/indexing, the workspace-codesearch helper subcommand, the [indexing] config section, and the GrepIndex accelerator seam from the grep tool, which returns to its direct walk. google/codesearch leaves go.mod with it.
This commit is contained in:
25 files changed
+139
-1463
No files matched your search
@@ -50,8 +50,9 @@ configured_agent_image() {
|
||||
# rollback would then restore that empty file over the database and delete its
|
||||
# -wal/-shm -- destroying the task store it exists to protect.
|
||||
#
|
||||
# Only the top-level key counts. db_path also appears in other sections
|
||||
# ([indexing] owns its own database), and the first match in the file can
|
||||
# Only the top-level key counts. db_path can also appear under a TOML table
|
||||
# (the retired [indexing] section once owned its own database), and the first
|
||||
# match in the file can
|
||||
# easily be one of those.
|
||||
configured_task_db_path() {
|
||||
local base
|
||||
|
||||
Reference in new issue
Block a user