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

lsm / neokai / 24789741734
82%

Build:
DEFAULT BRANCH: dev
Ran 22 Apr 2026 04:23PM 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 04:22PM UTC coverage: 86.314%. First build
24789741734

push

github

web-flow
fix(space): preserve task agent sessions across daemon restart (#1595)

* fix(space): preserve task agent sessions across daemon restart

cleanupAll was treating SIGINT as task completion: it hard-deleted
session DB rows and marked worktrees completed, leaving space_tasks with
dangling task_agent_session_id FKs that rehydrate silently skipped.
After restart the task agent + reviewer disappeared from the dropdown
and the canvas went blank.

- Split cleanupAll into a shutdown path (shutdownTask +
  stopSessionPreserveDb) that interrupts the SDK query but leaves the
  session row and worktree state intact for rehydrate.
- Self-heal dangling task_agent_session_id on rehydrate so any existing
  inconsistent DB state from past bad shutdowns no longer breaks the UI.
- Guard broadcastSessionStateChange against empty sessionId to stop the
  noisy "Session not found" warnings.

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

* test(space): cover sub-session shutdown and rehydrate self-heal

- shutdownTask: drop redundant listener/callback cleanup that
  stopSessionPreserveDb already performs
- add test: cleanupAll preserves sub-session DB rows while stopping
  in-memory queries
- add tests: rehydrate clears task_agent_session_id when the referenced
  session row is missing or of the wrong type

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

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

8972 of 12186 branches covered (73.63%)

Branch coverage included in aggregate %.

60 of 60 new or added lines in 2 files covered. (100.0%)

67050 of 75890 relevant lines covered (88.35%)

302.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-storage - 24789741734.1 22 Apr 2026 04:23PM UTC 115
49.56
GitHub Action Run
2 daemon-online-lifecycle - 24789741734.2 22 Apr 2026 04:23PM UTC 277
19.7
GitHub Action Run
3 daemon-online-cross-provider-3 - 24789741734.3 22 Apr 2026 04:23PM UTC 277
6.43
GitHub Action Run
4 daemon-5-space-other - 24789741734.4 22 Apr 2026 04:23PM UTC 101
33.43
GitHub Action Run
5 daemon-5-space-runtime - 24789741734.5 22 Apr 2026 04:23PM UTC 98
43.19
GitHub Action Run
6 daemon-5-space-workflow - 24789741734.6 22 Apr 2026 04:23PM UTC 78
33.26
GitHub Action Run
7 daemon-online-features-2 - 24789741734.7 22 Apr 2026 04:23PM UTC 277
19.68
GitHub Action Run
8 daemon-online-websocket - 24789741734.8 22 Apr 2026 04:23PM UTC 277
15.62
GitHub Action Run
9 daemon-online-coordinator - 24789741734.9 22 Apr 2026 04:23PM UTC 277
6.43
GitHub Action Run
10 daemon-online-room-mcp - 24789741734.10 22 Apr 2026 04:23PM UTC 277
17.09
GitHub Action Run
11 web - 24789741734.11 22 Apr 2026 04:24PM UTC 237
78.71
GitHub Action Run
12 daemon-online-space-2 - 24789741734.12 22 Apr 2026 04:24PM UTC 277
27.04
GitHub Action Run
13 daemon-online-rpc-2 - 24789741734.13 22 Apr 2026 04:24PM UTC 277
18.99
GitHub Action Run
14 daemon-online-rpc-1 - 24789741734.14 22 Apr 2026 04:24PM UTC 277
19.48
GitHub Action Run
15 daemon-1-core - 24789741734.15 22 Apr 2026 04:23PM UTC 282
34.84
GitHub Action Run
16 daemon-online-cross-provider-4 - 24789741734.16 22 Apr 2026 04:24PM UTC 277
19.91
GitHub Action Run
17 daemon-online-space-1 - 24789741734.17 22 Apr 2026 04:24PM UTC 277
26.48
GitHub Action Run
18 daemon-online-features-1 - 24789741734.18 22 Apr 2026 04:23PM UTC 277
19.98
GitHub Action Run
19 daemon-online-sdk - 24789741734.19 22 Apr 2026 04:23PM UTC 277
19.18
GitHub Action Run
20 daemon-2-handlers - 24789741734.20 22 Apr 2026 04:23PM UTC 225
50.35
GitHub Action Run
21 daemon-online-agent-sdk - 24789741734.21 22 Apr 2026 04:23PM UTC 277
19.27
GitHub Action Run
22 daemon-online-git - 24789741734.22 22 Apr 2026 04:23PM UTC 277
18.38
GitHub Action Run
23 daemon-online-rewind-1 - 24789741734.23 22 Apr 2026 04:24PM UTC 277
19.48
GitHub Action Run
24 daemon-online-features-3 - 24789741734.24 22 Apr 2026 04:23PM UTC 277
15.16
GitHub Action Run
25 daemon-online-cross-provider-2 - 24789741734.25 22 Apr 2026 04:23PM UTC 277
18.11
GitHub Action Run
26 daemon-online-rpc-4 - 24789741734.26 22 Apr 2026 04:24PM UTC 277
20.16
GitHub Action Run
27 daemon-online-rpc-3 - 24789741734.27 22 Apr 2026 04:24PM UTC 277
20.43
GitHub Action Run
28 daemon-online-rewind-2 - 24789741734.28 22 Apr 2026 04:23PM UTC 277
19.93
GitHub Action Run
29 daemon-online-convo - 24789741734.29 22 Apr 2026 04:23PM UTC 277
19.17
GitHub Action Run
30 daemon-online-mcp - 24789741734.30 22 Apr 2026 04:23PM UTC 277
16.43
GitHub Action Run
31 daemon-online-components - 24789741734.31 22 Apr 2026 04:23PM UTC 277
15.5
GitHub Action Run
32 daemon-0-shared - 24789741734.32 22 Apr 2026 04:23PM UTC 29
85.16
GitHub Action Run
33 daemon-online-room-coder-subagents - 24789741734.33 22 Apr 2026 04:23PM UTC 277
17.36
GitHub Action Run
34 daemon-5-space-agent - 24789741734.34 22 Apr 2026 04:23PM UTC 133
28.41
GitHub Action Run
Source Files on build 24789741734
  • Tree
  • List 525
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24789741734
  • 39ef7c12 on github
  • Prev Build on dev (#24788859147)
  • Next Build on dev (#24790638237)
  • 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