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

lsm / neokai / 24751481267 / 30
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 21 Apr 2026 11:21PM UTC
Files 277
Run time 9s
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

21 Apr 2026 11:18PM UTC coverage: 15.218% (-0.05%) from 15.267%
24751481267.30

push

github

web-flow
fix(space): list_peers shows topology peers; send_message queues for inactive nodes (#1579)

* fix(space): list_peers shows all topology peers; send_message queues for inactive nodes

Bug 1 — list_peers returned empty for not-yet-activated nodes:
- Only queried within-node executions; cross-node peers were invisible until
  their sessions spawned.
- Fix: after resolving within-node peers, query all executions for the run and
  expand permitted topology targets (via ChannelResolver.getPermittedTargets,
  called with both agent slot name and node name). Nodes with no execution
  records are returned as "not_started" peers using agent slots from
  resolveNodeAgents(). Nodes with records are returned with their real status.

Bug 2 — send_message hard-failed for declared-but-inactive targets:
- AgentMessageRouter only loaded executions with agentSessionId, so pending
  targets were invisible and caused "Unknown target" errors.
- Fix: load ALL executions (with and without session) for declared-agent
  detection. When a target has no live session but IS declared (via
  node_executions or channel topology), enqueue via PendingAgentMessageRepository
  instead of failing — mirrors the task-agent-tools queue path. Wire
  pendingMessageRepo + spaceId + taskId into the router via TaskAgentManager.
  Callers receive success:true with a "queued" array in the result.

Updated tests:
- New suite node-agent-tools: list_peers — cross-node peer discovery (4 tests)
- New suite node-agent-tools: send_message — queue-when-inactive (3 tests)
- New suite AgentMessageRouter: queue message for declared-but-inactive target (4 tests)
- Updated 3 pre-existing tests whose "unknown target" assertion changed to
  "no active sessions found" — topology-declared targets are no longer unknown;
  they resolve correctly and only fail at delivery when no session exists.

* test(space): add negative-path coverage for fromNodeName topology resolution

Adds two tests to the AgentMessageRouter ... (continued)

11612 of 76305 relevant lines covered (15.22%)

7.35 hits per line

Source Files on job daemon-online-features-3 - 24751481267.30
  • Tree
  • List 277
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24751481267
  • 37d6ed65 on github
  • Prev Job for on dev (#24747474391.32)
  • 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