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

lsm / neokai / 25954359365
81%

Build:
DEFAULT BRANCH: dev
Ran 16 May 2026 05:55AM UTC
Jobs 28
Files 523
Run time 2min
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

16 May 2026 05:54AM UTC coverage: 83.463% (+0.009%) from 83.454%
25954359365

push

github

web-flow
feat: warmup SDK binary on daemon startup (#1912)

* feat: warmup SDK binary on daemon startup

Download/resolve Claude Code binary at daemon startup instead of first
query. Logs progress always (not gated by NEOKAI_VERBOSE). Non-fatal
on failure — resolveSDKCliPath() retries on first query.

* fix: defer SDK binary warmup to after server bind

Move warmup to after Bun.serve() so WS server accepts connections
before any potential download (~200MB, ~135s timeout). Add tests for
unsupported platform error path and mutex release behavior.

* fix: guard resolveSDKCliPath against concurrent warmup

Add warmupInProgress check in resolveSDKCliPath() to prevent duplicate
downloads if a query arrives while startup warmup is running.

* fix: add TTL-based negative cache expiry for SDK binary resolution

Negative cache expires after 60s so transient network failures
self-heal without daemon restart. Two new tests: TTL expiry and
recovery after TTL.

* fix: revert negative cache TTL, fix doc CLI flag

Revert negative cache TTL — permanent negative cache avoids periodic
request stalls in offline/firewalled environments. Self-healing on
daemon restart is acceptable. Fix doc: remove nonexistent --warmup-sdk
CLI flag, replace with volume mount and daemon-run guidance.

* docs: increase Docker warmup timeout to 180s

Resolver worst case is 15s metadata + 120s download + overhead.
Previous 120s timeout could kill daemon before download completes.

* fix: move warmup after all startup awaits, remove resolveSDKCliPath guard

Move setTimeout to just before return in createDaemonApp so it can't
fire during neoAgentManager.provision() or other async startup steps.
Remove warmupInProgress guard from resolveSDKCliPath — returning
undefined triggers SDK default resolution which fails in global installs.
Queries should run their own resolution instead.

* fix: move SDK warmup to CLI entry points after Bun.serve

Remove warmup from createDaemonApp — any await after setTimeout
(e... (continued)

8361 of 11636 branches covered (71.85%)

Branch coverage included in aggregate %.

86 of 93 new or added lines in 1 file covered. (92.47%)

68077 of 79947 relevant lines covered (85.15%)

296.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
89.07
0.96% packages/daemon/src/lib/agent/sdk-cli-resolver.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-storage - 25954359365.1 16 May 2026 05:56AM UTC 136
58.48
GitHub Action Run
2 daemon-5-space-runtime - 25954359365.2 16 May 2026 05:55AM UTC 148
43.68
GitHub Action Run
3 daemon-online-convo - 25954359365.3 16 May 2026 05:56AM UTC 294
22.23
GitHub Action Run
4 web - 25954359365.4 16 May 2026 05:56AM UTC 220
76.75
GitHub Action Run
5 daemon-online-components - 25954359365.5 16 May 2026 05:55AM UTC 294
17.8
GitHub Action Run
6 daemon-online-sdk - 25954359365.6 16 May 2026 05:55AM UTC 294
22.24
GitHub Action Run
7 daemon-online-websocket - 25954359365.7 16 May 2026 05:55AM UTC 294
17.93
GitHub Action Run
8 daemon-online-coordinator - 25954359365.8 16 May 2026 05:55AM UTC 294
7.33
GitHub Action Run
9 daemon-5-space-agent - 25954359365.9 16 May 2026 05:55AM UTC 165
28.68
GitHub Action Run
10 daemon-1-core - 25954359365.10 16 May 2026 05:55AM UTC 299
36.91
GitHub Action Run
11 daemon-online-rpc-4 - 25954359365.11 16 May 2026 05:57AM UTC 294
23.33
GitHub Action Run
12 daemon-online-git - 25954359365.12 16 May 2026 05:55AM UTC 294
18.89
GitHub Action Run
13 daemon-2-handlers - 25954359365.13 16 May 2026 05:55AM UTC 175
48.76
GitHub Action Run
14 daemon-online-space-1 - 25954359365.14 16 May 2026 05:56AM UTC 294
33.09
GitHub Action Run
15 daemon-online-mcp - 25954359365.15 16 May 2026 05:55AM UTC 294
18.24
GitHub Action Run
16 daemon-online-rewind-2 - 25954359365.16 16 May 2026 05:56AM UTC 294
23.05
GitHub Action Run
17 daemon-online-rewind-1 - 25954359365.17 16 May 2026 05:56AM UTC 294
22.54
GitHub Action Run
18 daemon-online-lifecycle - 25954359365.18 16 May 2026 05:55AM UTC 294
22.78
GitHub Action Run
19 daemon-online-agent-sdk - 25954359365.19 16 May 2026 05:56AM UTC 294
22.36
GitHub Action Run
20 daemon-online-space-2 - 25954359365.20 16 May 2026 05:57AM UTC 294
32.42
GitHub Action Run
21 daemon-5-space-workflow - 25954359365.21 16 May 2026 05:55AM UTC 102
32.22
GitHub Action Run
22 daemon-0-shared - 25954359365.22 16 May 2026 05:55AM UTC 30
83.92
GitHub Action Run
23 daemon-online-features-1 - 25954359365.23 16 May 2026 05:56AM UTC 294
23.09
GitHub Action Run
24 daemon-online-rpc-2 - 25954359365.24 16 May 2026 05:56AM UTC 294
23.6
GitHub Action Run
25 daemon-5-space-other - 25954359365.25 16 May 2026 05:55AM UTC 123
31.83
GitHub Action Run
26 daemon-online-rpc-1 - 25954359365.26 16 May 2026 05:56AM UTC 294
19.24
GitHub Action Run
27 daemon-online-rpc-3 - 25954359365.27 16 May 2026 05:56AM UTC 294
19.74
GitHub Action Run
28 daemon-online-features-2 - 25954359365.28 16 May 2026 05:55AM UTC 294
22.75
GitHub Action Run
Source Files on build 25954359365
  • Tree
  • List 523
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25954359365
  • 2438fd7f on github
  • Prev Build on dev (#25953787248)
  • Next Build on dev (#25954432999)
  • Delete
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