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

lsm / neokai / 28218871896
82%

Build:
DEFAULT BRANCH: dev
Ran 26 Jun 2026 05:21AM UTC
Jobs 28
Files 617
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

26 Jun 2026 05:20AM UTC coverage: 81.959% (-0.04%) from 82.001%
28218871896

push

github

web-flow
feat(space-runtime): auto-continue on terminal error results (#2180)

* feat(space-runtime): auto-continue on terminal error results (#673)

A node-agent session that ends on a terminal error result (e.g. Codex 400,
error_during_execution) left the node silently idle with a *live* session and
no recovery firing — every result message was classified terminal, so the
alive-stuck, non-terminal-idle, crash-retry, and blocked-run sweeps all bailed.
The worker was revivable only by a manual 'continue'.

Add handleTerminalErrorIdleExecutions, a catch-all sweep in processRunTick
(right after handleNonTerminalIdleExecutions) that injects a bounded number of
'continue' messages via the same primitive a manual continue uses
(tam.injectRuntimeRecoveryMessage), then escalates to 'blocked' so
attemptBlockedRunRecovery takes over with its own MAX_BLOCKED_RUN_RETRIES cap.

Guards (task #673):
- Only retryable subtypes: error_during_execution, error_max_turns.
  Cost (error_max_budget_usd) and structured-output exhaustion are skipped.
- Prompt-too-long results skipped (deferred to #670 compaction), detected via
  terminal_reason='prompt_too_long' or errors[] signature.
- Only when task is in_progress with no reportedStatus and session alive.
- Per-execution cap MAX_TERMINAL_ERROR_CONTINUE_RETRIES=2, then blocked.
- Deterministic repeats (identical error signature) escalate immediately.
- Grace cooldown between attempts (mirrors alive-stuck nag grace); applied on
  failure too so a transiently-failing injection cannot tight-loop.
- Re-spawn (new session id after blocked recovery) resets the budget; total
  stays bounded by MAX_BLOCKED_RUN_RETRIES.

Escalation mirrors handleAliveStuckExecutions' blocked path: execution/run/task
-> blocked with blockReason 'execution_failed' + task_blocked/workflow_run_blocked
notifications, deduplicated via notifiedTaskSet.

* fix(space-runtime): harden terminal-error recovery per review (#673)

Address codex review findings on PR #2180... (continued)

11423 of 16451 branches covered (69.44%)

Branch coverage included in aggregate %.

200 of 310 new or added lines in 2 files covered. (64.52%)

226 existing lines in 1 file now uncovered.

96470 of 115191 relevant lines covered (83.75%)

298.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
110
90.68
-1.46% packages/daemon/src/lib/space/runtime/space-runtime.ts

Coverage Regressions

Lines Coverage ∆ File
226
90.68
-1.46% packages/daemon/src/lib/space/runtime/space-runtime.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-runtime-a - 28218871896.1 26 Jun 2026 05:21AM UTC 131
38.85
GitHub Action Run
2 daemon-4-space-migrations-a - 28218871896.2 26 Jun 2026 05:21AM UTC 74
36.91
GitHub Action Run
3 daemon-online-components - 28218871896.3 26 Jun 2026 05:22AM UTC 359
17.38
GitHub Action Run
4 daemon-online-sdk - 28218871896.4 26 Jun 2026 05:22AM UTC 359
21.58
GitHub Action Run
5 daemon-online-features-2 - 28218871896.5 26 Jun 2026 05:22AM UTC 359
21.71
GitHub Action Run
6 daemon-4-space-migrations-b - 28218871896.6 26 Jun 2026 05:21AM UTC 48
56.03
GitHub Action Run
7 daemon-0-shared-handlers-workflow - 28218871896.7 26 Jun 2026 05:22AM UTC 364
32.34
GitHub Action Run
8 daemon-online-rpc-2 - 28218871896.8 26 Jun 2026 05:23AM UTC 359
22.59
GitHub Action Run
9 daemon-online-git - 28218871896.9 26 Jun 2026 05:21AM UTC 359
18.21
GitHub Action Run
10 daemon-online-rpc-4 - 28218871896.10 26 Jun 2026 05:23AM UTC 359
22.28
GitHub Action Run
11 daemon-4-space-storage - 28218871896.11 26 Jun 2026 05:21AM UTC 160
53.63
GitHub Action Run
12 daemon-online-convo - 28218871896.12 26 Jun 2026 05:22AM UTC 359
21.49
GitHub Action Run
13 daemon-1-core - 28218871896.13 26 Jun 2026 05:22AM UTC 365
34.72
GitHub Action Run
14 daemon-online-coordinator - 28218871896.14 26 Jun 2026 05:21AM UTC 348
7.75
GitHub Action Run
15 daemon-online-mcp - 28218871896.15 26 Jun 2026 05:22AM UTC 359
17.69
GitHub Action Run
16 daemon-online-lifecycle - 28218871896.16 26 Jun 2026 05:22AM UTC 359
21.86
GitHub Action Run
17 daemon-5-space-agent-other - 28218871896.17 26 Jun 2026 05:21AM UTC 286
25.72
GitHub Action Run
18 daemon-online-rpc-1 - 28218871896.18 26 Jun 2026 05:22AM UTC 359
18.46
GitHub Action Run
19 daemon-online-rewind-2 - 28218871896.19 26 Jun 2026 05:22AM UTC 359
22.15
GitHub Action Run
20 daemon-online-rpc-3 - 28218871896.20 26 Jun 2026 05:22AM UTC 359
18.79
GitHub Action Run
21 daemon-online-features-1 - 28218871896.21 26 Jun 2026 05:22AM UTC 359
22.25
GitHub Action Run
22 daemon-online-rewind-1 - 28218871896.22 26 Jun 2026 05:23AM UTC 359
21.7
GitHub Action Run
23 daemon-online-agent-sdk - 28218871896.23 26 Jun 2026 05:22AM UTC 359
21.57
GitHub Action Run
24 web - 28218871896.24 26 Jun 2026 05:22AM UTC 248
74.63
GitHub Action Run
25 daemon-5-space-runtime-b - 28218871896.25 26 Jun 2026 05:21AM UTC 185
47.15
GitHub Action Run
26 daemon-online-space-1 - 28218871896.26 26 Jun 2026 05:23AM UTC 359
31.27
GitHub Action Run
27 daemon-online-websocket - 28218871896.27 26 Jun 2026 05:22AM UTC 359
17.47
GitHub Action Run
28 daemon-online-space-2 - 28218871896.28 26 Jun 2026 05:23AM UTC 359
31.3
GitHub Action Run
Source Files on build 28218871896
  • Tree
  • List 617
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28218871896
  • 9987c099 on github
  • Prev Build on dev (#28218727048)
  • Next Build on dev (#28238590024)
  • 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