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

lsm / neokai / 25261971329 / 12
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 02 May 2026 09:13PM UTC
Files 217
Run time 7s
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

02 May 2026 09:10PM UTC coverage: 77.515% (-0.005%) from 77.52%
25261971329.12

push

github

web-flow
Guard idle node agents with last-message checks (#1755)

* Guard idle node agents with last-message checks

Inspect the last persisted SDK message for idle node-agent sessions.
Non-terminal messages (unresolved tool_use, thinking-only, no message)
trigger retry-to-pending up to a limit, then block/escalate. Terminal
messages allow normal workflow progression. Use rowid for deterministic
insertion-order tie-breaking in getLastSDKMessage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Fix getLastSDKMessage ordering and test SDK table bootstrap

Use rowid DESC (monotonic insertion order) instead of random UUID id
DESC for deterministic tie-breaking in getLastSDKMessage. Clear
agentSessionId on auto-completed executions so the non-terminal idle
handler does not re-process them. Add sdk_messages table to runtime
test fixtures that exercise idle execution paths.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Exhaust blocked retry budget on non-terminal idle escalation

When handleNonTerminalIdleExecutions blocks a run after exhausting its
retry budget, set blockedRetryCounts to MAX_BLOCKED_RUN_RETRIES so
that attemptBlockedRunRecovery does not immediately auto-retry the
blocked execution. This preserves the escalation signal for the Space
Agent instead of re-spawning agents that will likely idle again.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Filter getLastSDKMessage to top-level SDK rows only

Exclude subagent/tool-linked messages (those with parent_tool_use_id)
from getLastSDKMessage so that a subagent result cannot shadow a
stalled main-thread message and cause a false terminal classification.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Reset nonTerminalIdleCounts on recovery and exclude unsent user rows

Clear nonTerminalIdleCounts for a run's executions when
recoverWorkflowBackedTask recovers the run, so manual recovery starts
with a fresh retry budget. Exclude deferred/enqueued user messages... (continued)

7843 of 10812 branches covered (72.54%)

Branch coverage included in aggregate %.

10270 of 12555 relevant lines covered (81.8%)

55.03 hits per line

Source Files on job web - 25261971329.12
  • Tree
  • List 217
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25261971329
  • 6030cd58 on github
  • Prev Job for on dev (#25261444067.12)
  • Next Job for on dev (#25263895299.22)
  • 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