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

lsm / neokai / 25615959391
82%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 12:53AM UTC
Jobs 26
Files 515
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

10 May 2026 12:52AM UTC coverage: 82.521% (-0.2%) from 82.687%
25615959391

push

github

web-flow
feat: add Create Session and Create Task buttons to Space pages (#1838)

* feat: add Create Session and Create Task buttons to Space pages

- Add `actions` slot to SpacePageHeader for contextual header buttons
- Wire "Create Session" button on Space Sessions page via createSession() API
- Wire "Create Task" button on Space Tasks page via SpaceCreateTaskDialog
- Move `space` signal read before handleCreateSession to fix TDZ issue

* fix: address review feedback on create buttons

- Add creatingSession loading state to prevent duplicate session creation
- Surface session-creation errors via toast.error instead of swallowing
- Guard post-create task navigation with currentSpaceViewModeSignal check
  to avoid stale async redirects if user navigated elsewhere

* fix: guard against stale async redirects and dialog state leak

- Verify currentSpaceIdSignal matches origin space before navigating
  after both session creation and task creation
- Reset createTaskOpen when viewMode or spaceId changes away from Tasks
  to prevent dialog reopening unexpectedly on return

* fix: reset session lock on space change and gate nav to Sessions route

- Reset creatingSession to false via useEffect when spaceId changes,
  preventing cross-space lockout from a stale in-flight request
- Capture originViewMode before async createSession and verify both
  currentSpaceIdSignal and currentSpaceViewModeSignal match before
  navigating, avoiding stale redirects when user leaves Sessions view

* fix: address round-4 review feedback and add tests

- Reset creatingSession lock via useEffect when spaceId changes
- Gate post-create session navigation on both spaceId and viewMode
- Reorder hook declarations: useState before useEffect
- Add 7 unit tests covering:
  - Create Session button renders and calls createSession
  - Navigation on success, toast.error on failure
  - Stale-redirect guard (different space)
  - Button disabled state during async creation
  - Create Task button render... (continued)

8209 of 11392 branches covered (72.06%)

Branch coverage included in aggregate %.

30 of 34 new or added lines in 1 file covered. (88.24%)

166 existing lines in 7 files now uncovered.

63934 of 76032 relevant lines covered (84.09%)

262.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
77.04
9.6% packages/web/src/islands/SpaceIsland.tsx

Coverage Regressions

Lines Coverage ∆ File
61
57.52
-7.79% packages/daemon/src/lib/rpc-handlers/space-workflow-run-handlers.ts
46
82.92
-7.89% packages/daemon/src/lib/space/runtime/space-runtime-service.ts
26
83.27
-0.92% packages/daemon/src/lib/space/runtime/task-agent-manager.ts
24
86.05
-4.65% packages/daemon/src/lib/rpc-handlers/space-workflow-handlers.ts
7
95.71
-2.11% packages/daemon/src/lib/space/managers/space-task-manager.ts
1
71.74
-0.72% packages/web/src/components/MessageInput.tsx
1
77.04
9.6% packages/web/src/islands/SpaceIsland.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-0-shared - 25615959391.1 10 May 2026 12:53AM UTC 30
84.22
GitHub Action Run
2 daemon-4-space-storage - 25615959391.2 10 May 2026 12:54AM UTC 127
55.03
GitHub Action Run
3 daemon-5-space-runtime - 25615959391.3 10 May 2026 12:53AM UTC 148
40.17
GitHub Action Run
4 daemon-5-space-agent - 25615959391.4 10 May 2026 12:54AM UTC 169
28.43
GitHub Action Run
5 daemon-online-rewind-1 - 25615959391.5 10 May 2026 12:54AM UTC 280
22.7
GitHub Action Run
6 web - 25615959391.6 10 May 2026 12:54AM UTC 222
76.99
GitHub Action Run
7 daemon-online-components - 25615959391.7 10 May 2026 12:53AM UTC 280
17.86
GitHub Action Run
8 daemon-5-space-workflow - 25615959391.8 10 May 2026 12:53AM UTC 107
31.48
GitHub Action Run
9 daemon-online-features-2 - 25615959391.9 10 May 2026 12:54AM UTC 280
22.92
GitHub Action Run
10 daemon-2-handlers - 25615959391.10 10 May 2026 12:53AM UTC 125
56.9
GitHub Action Run
11 daemon-online-features-1 - 25615959391.11 10 May 2026 12:54AM UTC 280
23.28
GitHub Action Run
12 daemon-online-space-2 - 25615959391.12 10 May 2026 12:55AM UTC 280
32.45
GitHub Action Run
13 daemon-online-agent-sdk - 25615959391.13 10 May 2026 12:54AM UTC 280
22.51
GitHub Action Run
14 daemon-online-rewind-2 - 25615959391.14 10 May 2026 12:54AM UTC 280
23.26
GitHub Action Run
15 daemon-online-rpc-4 - 25615959391.15 10 May 2026 12:54AM UTC 280
23.83
GitHub Action Run
16 daemon-online-rpc-1 - 25615959391.16 10 May 2026 12:54AM UTC 280
19.39
GitHub Action Run
17 daemon-online-rpc-2 - 25615959391.17 10 May 2026 12:54AM UTC 280
23.92
GitHub Action Run
18 daemon-online-sdk - 25615959391.18 10 May 2026 12:54AM UTC 280
22.39
GitHub Action Run
19 daemon-online-git - 25615959391.19 10 May 2026 12:53AM UTC 280
19.02
GitHub Action Run
20 daemon-online-coordinator - 25615959391.20 10 May 2026 12:53AM UTC 280
7.4
GitHub Action Run
21 daemon-1-core - 25615959391.21 10 May 2026 12:53AM UTC 285
38.36
GitHub Action Run
22 daemon-online-mcp - 25615959391.22 10 May 2026 12:53AM UTC 280
18.32
GitHub Action Run
23 daemon-5-space-other - 25615959391.23 10 May 2026 12:53AM UTC 126
31.43
GitHub Action Run
24 daemon-online-websocket - 25615959391.24 10 May 2026 12:53AM UTC 280
17.99
GitHub Action Run
25 daemon-online-rpc-3 - 25615959391.25 10 May 2026 12:54AM UTC 280
20.15
GitHub Action Run
26 daemon-online-convo - 25615959391.26 10 May 2026 12:54AM UTC 280
22.38
GitHub Action Run
Source Files on build 25615959391
  • Tree
  • List 515
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25615959391
  • 01775e4d on github
  • Prev Build on dev (#25604478977)
  • Next Build on dev (#25616140083)
  • 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