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

lsm / HyperNeo / 31992362095
79%

Build:
DEFAULT BRANCH: dev
Ran 17 Aug 2026 03:50AM UTC
Jobs 34
Files 687
Run time 3min
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

17 Aug 2026 03:49AM UTC coverage: 78.911% (+0.03%) from 78.877%
31992362095

push

github

web-flow
feat(daemon): startup-phase concurrency gate for SDK subprocess cold-starts (#2552)

* feat(daemon): startup-phase concurrency gate for SDK subprocess cold-starts

Add a daemon-wide admission gate bounding how many sessions may be in the
spawn→first-message phase at once (HYPERNEO_SDK_STARTUP_MAX_CONCURRENT,
default 3, invalid/0 falls back to the default). The permit is acquired just
before the SDK spawns its subprocess and released on the first SDK message
(alongside clearing the startup timer), at catch entry (before teardown waits
and recursive retries), and via a finally backstop — so streaming sessions
hold no slot, retries re-queue FIFO like any other start, and a reclaimed
herd rolls its cold-starts instead of missing the startup window en masse.

The gate lives in QueryRunner (not the delivery claim path) so direct session
starts after restart are bounded too; delivery active-turn slot semantics are
unchanged. A stop/interrupt/restart during the wait aborts the admission
instead of spawning an orphaned subprocess.

* fix(daemon): reset startup timer + firstMessageReceived in transient/message-not-found retries

The transient-connection retry fires mid-stream, after firstMessageReceived
was set true, and its recursive runQuery bypasses start() — so a stale true
flag disabled the retry's startup timer. A silent replacement spawn then
never exited the for-await: no permit release site ran and the startup-gate
slot was held forever (three such leaks would stall every daemon cold-start).
Mirror the provider-retry path's timer clear + flag reset in both the
transient-connection and message-not-found retry paths, and add a regression
test that fails (hangs) without the reset.

Also verified the herd behavior end-to-end on a real daemon + Dev Proxy:
with K=3, 10 simultaneous delivery-driven sessions cold-start in rolling
batches of 3 and all reach first_sdk_response (~14s last, default 30s
startup timeout untouched); a K=10 control shows all 10 starti... (continued)

43628 of 59227 branches covered (73.66%)

Branch coverage included in aggregate %.

74 of 84 new or added lines in 2 files covered. (88.1%)

3 existing lines in 2 files now uncovered.

59435 of 71379 relevant lines covered (83.27%)

3796.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
83.48
2.36% packages/daemon/src/lib/agent/query-runner.ts
2
94.2
packages/daemon/src/lib/agent/sdk-startup-gate.ts

Coverage Regressions

Lines Coverage ∆ File
2
81.59
0.05% packages/daemon/src/lib/space/runtime/space-runtime.ts
1
83.48
2.36% packages/daemon/src/lib/agent/query-runner.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-shared - 31992362095.1 17 Aug 2026 03:50AM UTC 24
85.08
GitHub Action Run
2 daemon-4-space-migrations-a - 31992362095.2 17 Aug 2026 03:56AM UTC 26
65.4
GitHub Action Run
3 daemon-4-space-migrations-b - 31992362095.3 17 Aug 2026 03:51AM UTC 59
32.88
GitHub Action Run
4 daemon-online-rpc-c - 31992362095.4 17 Aug 2026 03:50AM UTC 368
10.13
GitHub Action Run
5 daemon-online-websocket - 31992362095.5 17 Aug 2026 03:50AM UTC 368
9.89
GitHub Action Run
6 web - 31992362095.6 17 Aug 2026 03:51AM UTC 284
76.96
GitHub Action Run
7 daemon-online-space-d - 31992362095.7 17 Aug 2026 03:51AM UTC 368
16.09
GitHub Action Run
8 daemon-4-space-storage - 31992362095.8 17 Aug 2026 03:51AM UTC 158
47.34
GitHub Action Run
9 daemon-online-rpc-a - 31992362095.9 17 Aug 2026 03:51AM UTC 368
10.5
GitHub Action Run
10 daemon-online-lifecycle - 31992362095.10 17 Aug 2026 03:51AM UTC 368
13.81
GitHub Action Run
11 daemon-online-features-a - 31992362095.11 17 Aug 2026 03:50AM UTC 368
8.61
GitHub Action Run
12 daemon-online-agent-sdk - 31992362095.12 17 Aug 2026 03:51AM UTC 368
13.46
GitHub Action Run
13 daemon-online-components - 31992362095.13 17 Aug 2026 03:50AM UTC 368
9.79
GitHub Action Run
14 daemon-online-git - 31992362095.14 17 Aug 2026 03:50AM UTC 368
10.38
GitHub Action Run
15 daemon-online-space-c - 31992362095.15 17 Aug 2026 03:51AM UTC 368
18.19
GitHub Action Run
16 daemon-5-space-agent-other - 31992362095.16 17 Aug 2026 03:51AM UTC 289
19.11
GitHub Action Run
17 daemon-online-rpc-b - 31992362095.17 17 Aug 2026 03:51AM UTC 368
10.75
GitHub Action Run
18 daemon-online-mcp - 31992362095.18 17 Aug 2026 03:50AM UTC 368
10.11
GitHub Action Run
19 daemon-online-features-c - 31992362095.19 17 Aug 2026 03:52AM UTC 368
13.94
GitHub Action Run
20 daemon-online-convo - 31992362095.20 17 Aug 2026 03:51AM UTC 368
13.39
GitHub Action Run
21 daemon-online-coordinator - 31992362095.21 17 Aug 2026 03:50AM UTC 358
1.22
GitHub Action Run
22 daemon-online-rewind-a - 31992362095.22 17 Aug 2026 03:52AM UTC 368
13.47
GitHub Action Run
23 daemon-1-core - 31992362095.23 17 Aug 2026 03:54AM UTC 375
32.05
GitHub Action Run
24 daemon-online-space-a - 31992362095.24 17 Aug 2026 03:51AM UTC 368
18.46
GitHub Action Run
25 daemon-5-space-runtime-b - 31992362095.25 17 Aug 2026 03:52AM UTC 221
31.3
GitHub Action Run
26 daemon-online-rpc-f - 31992362095.26 17 Aug 2026 03:51AM UTC 368
13.94
GitHub Action Run
27 daemon-online-features-b - 31992362095.27 17 Aug 2026 03:50AM UTC 368
13.91
GitHub Action Run
28 daemon-online-rpc-d - 31992362095.28 17 Aug 2026 03:50AM UTC 368
10.65
GitHub Action Run
29 daemon-0-shared-handlers-workflow - 31992362095.29 17 Aug 2026 03:52AM UTC 374
28.07
GitHub Action Run
30 daemon-online-rpc-e - 31992362095.30 17 Aug 2026 03:51AM UTC 368
10.38
GitHub Action Run
31 daemon-5-space-runtime-a - 31992362095.31 17 Aug 2026 03:51AM UTC 235
21.01
GitHub Action Run
32 daemon-online-sdk - 31992362095.32 17 Aug 2026 03:51AM UTC 368
13.41
GitHub Action Run
33 daemon-online-rewind-b - 31992362095.33 17 Aug 2026 03:51AM UTC 368
13.89
GitHub Action Run
34 daemon-online-space-b - 31992362095.34 17 Aug 2026 03:50AM UTC 368
11.37
GitHub Action Run
Source Files on build 31992362095
  • Tree
  • List 687
  • Changed 24
  • Source Changed 1
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31992362095
  • 105f40d4 on github
  • Prev Build on dev (#31992055349)
  • 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