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

lsm / neokai / 24789741734 / 21
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 22 Apr 2026 04:25PM UTC
Files 277
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 04:22PM UTC coverage: 19.269%. First build
24789741734.21

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>

14450 of 74989 relevant lines covered (19.27%)

9.69 hits per line

Source Files on job daemon-online-agent-sdk - 24789741734.21
  • Tree
  • List 277
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24789741734
  • 39ef7c12 on github
  • 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