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

lsm / HyperNeo / 32396946295
80%

Build:
DEFAULT BRANCH: dev
Ran 20 Aug 2026 05:20PM UTC
Jobs 34
Files 694
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 05:19PM UTC coverage: 79.285% (+0.03%) from 79.254%
32396946295

push

github

web-flow
perf(daemon): eliminate full-table COUNT subqueries in sessions.list (#2609)

* perf(daemon): eliminate full-table COUNT subqueries in sessions.list

sessions.list ran two full-table COUNT(*) subqueries (with json_extract per
row) on every debounced re-evaluation, which fires on every sessions-table
change including each visible_message_count bump during message saves. Replace
them with a single-row session_counters aggregate maintained by SQLite
triggers on sessions INSERT/DELETE/UPDATE(type,status,session_context), read
O(1) in mapResult. Migration 197 backfills existing DBs. Measured ~8.2ms ->
~3.0ms per evaluation on a synthetic 5k-session DB (the remaining scan is the
row query, covered by the sibling generated-column task).

* fix(daemon): make session counters robust to corrupt context and self-healing

Address review findings on the sessions.list counter PR:
- Guard json_extract in the counter triggers/backfill with a CASE-based
  json_valid check (SQLite does not short-circuit json_valid OR json_extract;
  only CASE skips the branch), so one corrupt legacy session_context row can
  no longer throw mid-backfill (boot-loop) or make archive/delete fail.
- Export the shared human-session predicate from session-counters.ts and build
  the sessions.list WHERE from it (single source of truth, no drift).
- Run backfillSessionCounters at the end of createTables so a future sessions
  rebuild that drops triggers still self-heals totals on the next boot.
- Tests: corrupt (non-JSON) context in backfill + triggers, and DELETE of
  excluded space/room sessions leaving totals unchanged.

44153 of 59591 branches covered (74.09%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 6 files covered. (100.0%)

60055 of 71843 relevant lines covered (83.59%)

3860.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-a - 32396946295.1 20 Aug 2026 05:21PM UTC 62
31.49
GitHub Action Run
2 daemon-4-space-migrations-b - 32396946295.2 20 Aug 2026 05:20PM UTC 30
69.39
GitHub Action Run
3 daemon-1-core - 32396946295.3 20 Aug 2026 05:23PM UTC 382
32.63
GitHub Action Run
4 daemon-shared - 32396946295.4 20 Aug 2026 05:20PM UTC 24
85.19
GitHub Action Run
5 daemon-online-agent-sdk - 32396946295.5 20 Aug 2026 05:21PM UTC 375
13.49
GitHub Action Run
6 daemon-online-mcp - 32396946295.6 20 Aug 2026 05:20PM UTC 375
10.07
GitHub Action Run
7 daemon-online-features-c - 32396946295.7 20 Aug 2026 05:21PM UTC 375
13.99
GitHub Action Run
8 daemon-online-rpc-c - 32396946295.8 20 Aug 2026 05:20PM UTC 375
10.09
GitHub Action Run
9 daemon-online-rpc-d - 32396946295.9 20 Aug 2026 05:20PM UTC 375
10.64
GitHub Action Run
10 daemon-online-space-c - 32396946295.10 20 Aug 2026 05:20PM UTC 375
18.2
GitHub Action Run
11 daemon-5-space-runtime-a - 32396946295.11 20 Aug 2026 05:20PM UTC 245
23.08
GitHub Action Run
12 web - 32396946295.12 20 Aug 2026 05:21PM UTC 283
77.02
GitHub Action Run
13 daemon-online-space-d - 32396946295.13 20 Aug 2026 05:20PM UTC 375
16.46
GitHub Action Run
14 daemon-5-space-runtime-b - 32396946295.14 20 Aug 2026 05:22PM UTC 229
31.54
GitHub Action Run
15 daemon-online-rpc-a - 32396946295.15 20 Aug 2026 05:21PM UTC 375
10.44
GitHub Action Run
16 daemon-online-rpc-f - 32396946295.16 20 Aug 2026 05:21PM UTC 375
13.99
GitHub Action Run
17 daemon-online-websocket - 32396946295.17 20 Aug 2026 05:20PM UTC 375
9.85
GitHub Action Run
18 daemon-online-space-a - 32396946295.18 20 Aug 2026 05:21PM UTC 375
18.26
GitHub Action Run
19 daemon-5-space-agent-other - 32396946295.19 20 Aug 2026 05:20PM UTC 296
18.92
GitHub Action Run
20 daemon-online-features-a - 32396946295.20 20 Aug 2026 05:20PM UTC 375
8.59
GitHub Action Run
21 daemon-4-space-storage - 32396946295.21 20 Aug 2026 05:21PM UTC 161
47.49
GitHub Action Run
22 daemon-online-rewind-b - 32396946295.22 20 Aug 2026 05:21PM UTC 375
13.91
GitHub Action Run
23 daemon-online-lifecycle - 32396946295.23 20 Aug 2026 05:21PM UTC 375
14.02
GitHub Action Run
24 daemon-online-convo - 32396946295.24 20 Aug 2026 05:21PM UTC 375
13.42
GitHub Action Run
25 daemon-online-components - 32396946295.25 20 Aug 2026 05:20PM UTC 375
9.75
GitHub Action Run
26 daemon-online-sdk - 32396946295.26 20 Aug 2026 05:21PM UTC 375
13.44
GitHub Action Run
27 daemon-online-rpc-b - 32396946295.27 20 Aug 2026 05:21PM UTC 375
10.7
GitHub Action Run
28 daemon-online-rewind-a - 32396946295.28 20 Aug 2026 05:21PM UTC 375
13.5
GitHub Action Run
29 daemon-online-git - 32396946295.29 20 Aug 2026 05:20PM UTC 375
10.34
GitHub Action Run
30 daemon-0-shared-handlers-workflow - 32396946295.30 20 Aug 2026 05:21PM UTC 381
28.46
GitHub Action Run
31 daemon-online-coordinator - 32396946295.31 20 Aug 2026 05:20PM UTC 365
1.24
GitHub Action Run
32 daemon-online-rpc-e - 32396946295.32 20 Aug 2026 05:21PM UTC 375
10.33
GitHub Action Run
33 daemon-online-space-b - 32396946295.33 20 Aug 2026 05:20PM UTC 375
11.31
GitHub Action Run
34 daemon-online-features-b - 32396946295.34 20 Aug 2026 05:20PM UTC 375
13.87
GitHub Action Run
Source Files on build 32396946295
  • Tree
  • List 694
  • Changed 52
  • Source Changed 5
  • Coverage Changed 52
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32396946295
  • a1a19059 on github
  • Prev Build on dev (#32395681089)
  • Next Build on dev (#32405128686)
  • 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