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

lsm / neokai / 24756060735 / 31
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 22 Apr 2026 01:55AM UTC
Files 282
Run time 13s
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: 35.058% (-0.04%) from 35.097%
24756060735.31

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.

24883 of 70977 relevant lines covered (35.06%)

18.22 hits per line

Source Files on job daemon-1-core - 24756060735.31
  • Tree
  • List 282
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24756060735
  • 461f4035 on github
  • Prev Job for on dev (#24755715908.34)
  • 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