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

lsm / neokai / 24756060735
82%

Build:
DEFAULT BRANCH: dev
Ran 22 Apr 2026 01:53AM UTC
Jobs 34
Files 525
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

22 Apr 2026 01:52AM UTC coverage: 86.226% (-0.007%) from 86.233%
24756060735

push

github

web-flow
fix(space): auto-resume idle node-agent session when a message is queued for it (#1583)

Previously, when a Task Agent called send_message targeting a node agent
whose session had completed/gone idle, the message was persisted in the
pending queue (PendingAgentMessageRepository) with status "pending
activation" but never delivered — it would sit in the queue until the
10-minute TTL expired.

Three changes close the gap:

1. spawnWorkflowNodeAgentForExecution now passes `agentName` and `nodeId`
   into `createSubSession`, enabling session reuse (each named agent lives
   in one session per task lifetime) and automatic queue flush when the
   session is created/reused.

2. A new public method `tryResumeNodeAgentSession(workflowRunId, agentName)`
   is added to TaskAgentManager. It looks up the most recent NodeExecution
   with an agentSessionId, then either flushes the queue directly (fast
   path when the session is in memory) or calls rehydrateSubSession (slow
   path when the session must be restored from DB). Both paths drain the
   pending queue into the live session.

3. send_message in task-agent-tools and deliverMessage in AgentMessageRouter
   now call tryResumeNodeAgentSession (best-effort, non-fatal) after
   enqueueing a non-deduped message, so the send → queue → resume → drain
   cycle completes in a single flow without requiring an external activation
   trigger. A matching onMessageQueued callback is wired into the
   AgentMessageRouter constructor from buildNodeAgentMcpServerForSession.

9071 of 12358 branches covered (73.4%)

Branch coverage included in aggregate %.

22 of 32 new or added lines in 3 files covered. (68.75%)

66866 of 75709 relevant lines covered (88.32%)

301.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
90.97
-0.2% packages/daemon/src/lib/space/runtime/task-agent-manager.ts
5
81.89
-0.5% packages/daemon/src/lib/space/tools/task-agent-tools.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-rpc-3 - 24756060735.1 22 Apr 2026 01:54AM UTC 277
20.5
GitHub Action Run
2 daemon-0-shared - 24756060735.2 22 Apr 2026 01:53AM UTC 29
85.16
GitHub Action Run
3 daemon-online-space-2 - 24756060735.3 22 Apr 2026 01:55AM UTC 277
27.05
GitHub Action Run
4 daemon-online-sdk - 24756060735.4 22 Apr 2026 01:54AM UTC 277
19.24
GitHub Action Run
5 daemon-online-features-3 - 24756060735.5 22 Apr 2026 01:54AM UTC 277
15.23
GitHub Action Run
6 daemon-online-room-mcp - 24756060735.6 22 Apr 2026 01:54AM UTC 277
17.17
GitHub Action Run
7 daemon-online-features-2 - 24756060735.7 22 Apr 2026 01:54AM UTC 277
19.74
GitHub Action Run
8 daemon-4-space-storage - 24756060735.8 22 Apr 2026 01:54AM UTC 115
49.49
GitHub Action Run
9 daemon-online-websocket - 24756060735.9 22 Apr 2026 01:53AM UTC 277
15.69
GitHub Action Run
10 daemon-5-space-other - 24756060735.10 22 Apr 2026 01:54AM UTC 99
31.44
GitHub Action Run
11 daemon-2-handlers - 24756060735.11 22 Apr 2026 01:54AM UTC 225
50.49
GitHub Action Run
12 daemon-5-space-workflow - 24756060735.12 22 Apr 2026 01:54AM UTC 78
33.2
GitHub Action Run
13 daemon-online-cross-provider-3 - 24756060735.13 22 Apr 2026 01:53AM UTC 277
6.47
GitHub Action Run
14 web - 24756060735.14 22 Apr 2026 01:55AM UTC 237
78.52
GitHub Action Run
15 daemon-online-components - 24756060735.15 22 Apr 2026 01:53AM UTC 277
15.57
GitHub Action Run
16 daemon-5-space-runtime - 24756060735.16 22 Apr 2026 01:54AM UTC 98
43.25
GitHub Action Run
17 daemon-5-space-agent - 24756060735.17 22 Apr 2026 01:54AM UTC 131
26.8
GitHub Action Run
18 daemon-online-features-1 - 24756060735.18 22 Apr 2026 01:54AM UTC 277
20.05
GitHub Action Run
19 daemon-online-rewind-1 - 24756060735.19 22 Apr 2026 01:54AM UTC 277
19.54
GitHub Action Run
20 daemon-online-rpc-2 - 24756060735.20 22 Apr 2026 01:54AM UTC 277
19.06
GitHub Action Run
21 daemon-online-convo - 24756060735.21 22 Apr 2026 01:54AM UTC 277
19.23
GitHub Action Run
22 daemon-online-lifecycle - 24756060735.22 22 Apr 2026 01:54AM UTC 277
19.77
GitHub Action Run
23 daemon-online-mcp - 24756060735.23 22 Apr 2026 01:53AM UTC 277
16.5
GitHub Action Run
24 daemon-online-cross-provider-2 - 24756060735.24 22 Apr 2026 01:54AM UTC 277
18.16
GitHub Action Run
25 daemon-online-agent-sdk - 24756060735.25 22 Apr 2026 01:54AM UTC 277
19.33
GitHub Action Run
26 daemon-online-coordinator - 24756060735.26 22 Apr 2026 01:54AM UTC 277
6.48
GitHub Action Run
27 daemon-online-rpc-4 - 24756060735.27 22 Apr 2026 01:54AM UTC 277
20.23
GitHub Action Run
28 daemon-online-rewind-2 - 24756060735.28 22 Apr 2026 01:54AM UTC 277
20.0
GitHub Action Run
29 daemon-online-room-coder-subagents - 24756060735.29 22 Apr 2026 01:53AM UTC 277
17.43
GitHub Action Run
30 daemon-online-git - 24756060735.30 22 Apr 2026 01:54AM UTC 277
18.44
GitHub Action Run
31 daemon-1-core - 24756060735.31 22 Apr 2026 01:54AM UTC 282
35.06
GitHub Action Run
32 daemon-online-cross-provider-4 - 24756060735.32 22 Apr 2026 01:54AM UTC 277
20.08
GitHub Action Run
33 daemon-online-rpc-1 - 24756060735.33 22 Apr 2026 01:54AM UTC 277
19.53
GitHub Action Run
34 daemon-online-space-1 - 24756060735.34 22 Apr 2026 01:54AM UTC 277
26.44
GitHub Action Run
Source Files on build 24756060735
  • Tree
  • List 525
  • Changed 11
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24756060735
  • 461f4035 on github
  • Prev Build on dev (#24755715908)
  • Next Build on dev (#24758235380)
  • 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