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

lsm / neokai / 25615959391 / 2
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 12:55AM UTC
Files 127
Run time 4s
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: 55.032%. Remained the same
25615959391.2

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)

14092 of 25607 relevant lines covered (55.03%)

31.28 hits per line

Source Files on job daemon-4-space-storage - 25615959391.2
  • Tree
  • List 127
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25615959391
  • 01775e4d on github
  • Prev Job for on dev (#25604478977.8)
  • Next Job for on dev (#25616140083.20)
  • 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