• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 26015113785

18 May 2026 05:22AM UTC coverage: 82.938% (-0.2%) from 83.182%
26015113785

push

github

web-flow
Add full-text message search (#1933)

* feat: add full-text message search

Add FTS5-backed message and task indexing with a message.search RPC and chat search UI so sessions can search current or global history with highlighted snippets.

* fix: address message search review feedback

Keep search timestamps numeric, make cross-session highlights target-aware, and sync search rows when timestamps or draft task state changes.

* test: cover message search review cases

Keep task titles searchable in the FTS index and add repository coverage for cross-session, filtered, and task search sync behavior.

* fix: harden message search result handling

Ensure task titles are indexed in stored task bodies, ignore stale overlay searches, and preload the target message window before jumping to a search result.

* fix: preserve search backfill milliseconds

Keep migrated message-search timestamps aligned with runtime upserts so ordering and boundary filters remain consistent.

* fix: address remaining search review comments

Avoid repeated FTS reindexing on startup, remove stale search rows during session deletion, and ensure search jumps target resolvable message IDs.

* fix: cover message search maintenance gaps

Keep FTS projections in sync for session renames and space cascades, and recover empty message search tables after interrupted migrations.

* fix: preserve message ids for search jumps

Return database row ids from paginated SDK message loads so uuid-less results can scroll and dedupe correctly.

* fix: harden message search edge cases

Recover partial FTS migration backfills and prevent stale loading states or repeated pagination during search jumps.

* fix: avoid repeated message search rebackfills

Use the empty-table recovery guard for migration 132 so non-indexable messages do not trigger full startup rebuilds.

* fix: harden search jump pagination

Guard async search-window prepends by active session and keep paging until the target message is lo... (continued)

8378 of 12095 branches covered (69.27%)

Branch coverage included in aggregate %.

412 of 621 new or added lines in 16 files covered. (66.34%)

4 existing lines in 3 files now uncovered.

68213 of 80252 relevant lines covered (85.0%)

300.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.96
/packages/web/src/components/SectionSwitcher.tsx


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc