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

lsm / neokai / 25267878734 / 16
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 03 May 2026 02:39AM UTC
Files 297
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

03 May 2026 02:36AM UTC coverage: 16.606%. First build
25267878734.16

push

github

web-flow
Add native draft status to Space tasks (#1766)

* Add native draft status to Space tasks

Add a first-class `draft` status to SpaceTaskStatus so tasks can be created
as drafts that the orchestrator never auto-starts. Draft tasks can only be
promoted to `open` via explicit publish action (or archived). This replaces
the fragile `[DRAFT]` title prefix workaround.

Changes:
- Add `draft` to SpaceTaskStatus union type
- Add draft → open/archived transitions (all others rejected)
- Add migration 114 to update space_tasks CHECK constraint
- Add `publishTask` method to SpaceTaskManager
- Add `spaceTask.publish` RPC handler
- Add `draft` boolean to create_standalone_task MCP tool schema
- Update frontend transitions, colors, filters, badges, and SpaceStore
- Add comprehensive unit tests for draft lifecycle

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

* Fix migration 114: wrap table rebuild in FK-off/try-finally

The DROP TABLE space_tasks triggers ON DELETE CASCADE on child tables
(space_worktrees, space_task_report_results). Wrap the rebuild in
PRAGMA foreign_keys = OFF / ON to prevent data loss.

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

* Rewrite migration 114 to use dynamic DDL approach

Instead of hardcoding a new table schema (which dropped FOREIGN KEY
constraints and CHECK constraints on enum columns), derive the new
DDL from the live schema and only modify the status CHECK to include
'draft'. This preserves all existing constraints automatically.

Follows the same pattern as M104 (completion_action cleanup).

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

* Add Drafts tab so draft tasks are visible in the UI

Draft tasks were excluded from all existing tab predicates (Action,
Active, Completed, Archived) making them invisible. Add a Drafts tab
to both the SpaceTasks main view (conditionally shown when drafts
exist) and the SpaceDetailPanel sidebar.

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

* Add dr... (continued)

14149 of 85204 relevant lines covered (16.61%)

8.37 hits per line

Source Files on job daemon-online-rpc-1 - 25267878734.16
  • Tree
  • List 297
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25267878734
  • 08edbd47 on github
  • Next Job for on dev (#25270888469.1)
  • 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