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

lsm / HyperNeo / 32406683312
80%

Build:
DEFAULT BRANCH: dev
Ran 20 Aug 2026 07:06PM UTC
Jobs 34
Files 695
Run time 4min
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

20 Aug 2026 07:04PM UTC coverage: 79.295% (-0.006%) from 79.301%
32406683312

push

github

web-flow
perf(daemon): cache prepared statements in the sqlite compat layer (#2617)

* perf(daemon): cache prepared statements in the sqlite compat layer

db.prepare() compiles SQL on every call (bun:sqlite does not cache
prepared statements internally), so per-message hot paths pay repeated
compilation on top of the wrapper allocation. Add a bounded SQL->statement
cache to both runtime paths: a CachedDatabase subclass of bun:sqlite under
Bun, and the node:sqlite Database wrapper under Node. Statements are
re-bound on every .run/.all/.get call, so reuse is safe across concurrent
queries; the cache is cleared on close and evicts FIFO past a 500-statement
capacity.

Bun 1.3.13 micro-benchmark (scripts/benchmark/statement-caching.ts) shows
fresh prepare vs reused statement on sdk_messages-shaped queries:
- INSERT: ~29us -> ~11us per op (~2.6x)
- SELECT (40 rows): ~47us -> ~36us per op (~1.3x)
- point GET: ~13us -> ~1.9us per op (~6.8x)

* refactor(daemon): benchmark the delivered cache path

The cached variants hoisted prepare() out of the measured loop, so they
compared fresh compilation against manual statement retention rather than
the implementation under review. Route them through the compat Database
(CachedDatabase under Bun), which exercises the StatementCache lookup on
every measured operation. Reuse win holds: INSERT ~18.4us -> ~7.5us, 40-row
SELECT ~40.5us -> ~27.7us, point GET ~11.7us -> ~1.6us under Bun 1.3.14.

* chore: bump bun to 1.3.14

Patch upgrade from the pinned 1.3.13: update the root packageManager
declaration, the setup-bun CI pins across main/release/real-api-tests, and
align @types/bun in ui/shared/messaging with the 1.3.14 already used by
web/cli/daemon. Verified lint/typecheck/no-comments and the sqlite suite
under an isolated bun 1.3.14 binary.

* chore: sync bun.lock with @types/bun 1.3.14

The messaging/shared/ui manifests were bumped to @types/bun 1.3.14 but
bun.lock still resolved them to 1.3.13, so bun install --frozen-lockfile
fa... (continued)

44197 of 59633 branches covered (74.12%)

Branch coverage included in aggregate %.

22 of 34 new or added lines in 3 files covered. (64.71%)

1 existing line in 1 file now uncovered.

60108 of 71907 relevant lines covered (83.59%)

3975.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
19.05
-55.95% packages/daemon/src/storage/sqlite-compat.ts

Coverage Regressions

Lines Coverage ∆ File
1
67.1
-0.09% packages/daemon/src/lib/space/runtime/space-runtime-service.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-1-core - 32406683312.1 20 Aug 2026 07:13PM UTC 383
32.62
GitHub Action Run
2 daemon-online-mcp - 32406683312.2 20 Aug 2026 07:07PM UTC 376
10.13
GitHub Action Run
3 daemon-shared - 32406683312.3 20 Aug 2026 07:07PM UTC 24
85.19
GitHub Action Run
4 daemon-online-sdk - 32406683312.4 20 Aug 2026 07:09PM UTC 376
13.49
GitHub Action Run
5 daemon-online-agent-sdk - 32406683312.5 20 Aug 2026 07:07PM UTC 376
13.54
GitHub Action Run
6 daemon-online-features-a - 32406683312.6 20 Aug 2026 07:06PM UTC 376
8.61
GitHub Action Run
7 daemon-online-features-b - 32406683312.7 20 Aug 2026 07:07PM UTC 376
13.91
GitHub Action Run
8 daemon-online-rpc-b - 32406683312.8 20 Aug 2026 07:10PM UTC 376
10.75
GitHub Action Run
9 daemon-5-space-agent-other - 32406683312.9 20 Aug 2026 07:09PM UTC 297
18.94
GitHub Action Run
10 daemon-4-space-migrations-b - 32406683312.10 20 Aug 2026 07:09PM UTC 31
69.23
GitHub Action Run
11 daemon-online-convo - 32406683312.11 20 Aug 2026 07:06PM UTC 376
13.47
GitHub Action Run
12 daemon-4-space-storage - 32406683312.12 20 Aug 2026 07:10PM UTC 162
47.62
GitHub Action Run
13 daemon-online-components - 32406683312.13 20 Aug 2026 07:06PM UTC 376
9.81
GitHub Action Run
14 daemon-online-coordinator - 32406683312.14 20 Aug 2026 07:06PM UTC 366
1.24
GitHub Action Run
15 daemon-online-space-d - 32406683312.15 20 Aug 2026 07:09PM UTC 376
16.5
GitHub Action Run
16 daemon-online-rpc-a - 32406683312.16 20 Aug 2026 07:09PM UTC 376
10.5
GitHub Action Run
17 daemon-online-lifecycle - 32406683312.17 20 Aug 2026 07:08PM UTC 376
14.07
GitHub Action Run
18 daemon-online-rewind-b - 32406683312.18 20 Aug 2026 07:09PM UTC 376
13.96
GitHub Action Run
19 daemon-online-git - 32406683312.19 20 Aug 2026 07:07PM UTC 376
10.39
GitHub Action Run
20 daemon-online-rewind-a - 32406683312.20 20 Aug 2026 07:09PM UTC 376
13.55
GitHub Action Run
21 daemon-4-space-migrations-a - 32406683312.21 20 Aug 2026 07:07PM UTC 63
31.53
GitHub Action Run
22 daemon-online-rpc-d - 32406683312.22 20 Aug 2026 07:09PM UTC 376
10.69
GitHub Action Run
23 daemon-0-shared-handlers-workflow - 32406683312.23 20 Aug 2026 07:08PM UTC 382
28.49
GitHub Action Run
24 daemon-online-space-a - 32406683312.24 20 Aug 2026 07:09PM UTC 376
18.3
GitHub Action Run
25 daemon-5-space-runtime-a - 32406683312.25 20 Aug 2026 07:08PM UTC 246
23.09
GitHub Action Run
26 daemon-5-space-runtime-b - 32406683312.26 20 Aug 2026 07:08PM UTC 230
31.56
GitHub Action Run
27 daemon-online-rpc-f - 32406683312.27 20 Aug 2026 07:07PM UTC 376
14.04
GitHub Action Run
28 daemon-online-websocket - 32406683312.28 20 Aug 2026 07:08PM UTC 376
9.91
GitHub Action Run
29 daemon-online-space-c - 32406683312.29 20 Aug 2026 07:07PM UTC 376
18.24
GitHub Action Run
30 daemon-online-rpc-c - 32406683312.30 20 Aug 2026 07:07PM UTC 376
10.15
GitHub Action Run
31 daemon-online-features-c - 32406683312.31 20 Aug 2026 07:10PM UTC 376
14.03
GitHub Action Run
32 web - 32406683312.32 20 Aug 2026 07:08PM UTC 283
77.03
GitHub Action Run
33 daemon-online-rpc-e - 32406683312.33 20 Aug 2026 07:09PM UTC 376
10.38
GitHub Action Run
34 daemon-online-space-b - 32406683312.34 20 Aug 2026 07:07PM UTC 376
11.36
GitHub Action Run
Source Files on build 32406683312
  • Tree
  • List 695
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32406683312
  • fd5c2ad2 on github
  • Prev Build on dev (#32405128686)
  • Next Build on dev (#32409389337)
  • 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