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

lsm / HyperNeo / 32409389337
80%

Build:
DEFAULT BRANCH: dev
Ran 20 Aug 2026 07:35PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
  cancel
32409389337

push

github

web-flow
perf(daemon): defer message-search FTS indexing off the save path (#2616)

* perf(daemon): defer message-search FTS indexing off the save path

Every SDK message save synchronously re-indexed message_search_content
(~15 statements: JOIN SELECT, JSON.parse, DELETE+INSERT, FTS triggers).
Saves now only INSERT OR IGNORE the message id into a durable
message_search_pending queue; a 2s background timer (plus a startup
drain for crash recovery) flushes the queue through the existing indexer
in one transaction. Supersession deletion and message deletion stay
synchronous. Per-save wall time on a 500-message burst: 3.13ms -> 1.53ms.

* fix(daemon): harden deferred message-search flush against review findings

Address review on #2616: isolate per-message flush failures (a throwing
upsert drops only its own pending row instead of stalling the batch and
rejecting the startup flush), bound each flush to one batch, make the
pending insert FK-safe via INSERT...SELECT...WHERE EXISTS, and purge
pending rows in deleteTask/deleteTasksForSpace/deleteSpace so a later
flush cannot re-index messages whose task/space was deleted. Merges dev
(including the E1 introspection-caching test, updated to flush before
asserting search bodies) and pins the previously untested paths: the
interval-driven timer, the per-flush batch bound, the synchronous
fallback, and supersession while the original is still pending.

* fix(daemon): enqueue search-index work atomically with message saves

Insert the message_search_pending row inside the save transaction for
saveSDKMessage and saveUserMessageCore so a crash between the message
commit and the queue insert can no longer leave a saved message without
a pending index entry (and a rolled-back outbox transaction no longer
leaves an orphan). runPostSaveSideEffects no longer schedules, dropping
its now-unused message parameter.

* fix(daemon): retain pending search-index rows on transient flush failures

A flush that fails on a temporary database... (continued)
Source Files on build 32409389337
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #32409389337
  • 1c0ee5d3 on github
  • Prev Build on dev (#32406683312)
  • Next Build on dev (#32409485379)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc