Skip to content

feat(storage): add typed Storage.rebuildFts, drop unknown-cast in reindex#33

Merged
NagyVikt merged 1 commit intomainfrom
agent/claude/storage-rebuild-fts-2026-04-24-10-48
Apr 24, 2026
Merged

feat(storage): add typed Storage.rebuildFts, drop unknown-cast in reindex#33
NagyVikt merged 1 commit intomainfrom
agent/claude/storage-rebuild-fts-2026-04-24-10-48

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

…ndex

The `colony reindex` command was reaching through the type system with
`(s as unknown as { db: { exec } }).db` to poke the private
better-sqlite3 handle. Add a public `Storage.rebuildFts()` that runs
the same FTS5 rebuild statement, and call it from the CLI instead.

Behavior unchanged; only the cast goes away. Covered by a new
`rebuildFts leaves FTS queryable` regression test.
@NagyVikt NagyVikt merged commit 2f371d4 into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/claude/storage-rebuild-fts-2026-04-24-10-48 branch April 24, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant