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

lsm / neokai / 24869029861 / 30
83%
dev: 83%

Build:
DEFAULT BRANCH: dev
Ran 24 Apr 2026 02:27AM UTC
Files 282
Run time 9s
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

24 Apr 2026 02:24AM UTC coverage: 15.686%. First build
24869029861.30

push

github

web-flow
fix(web): gate chat empty state on first messages snapshot (#1614)

Chat UI briefly rendered the "No messages yet" empty state on slow
networks and during task/group switches because loading was tracked
only on session metadata (`state.session` RPC), not on the independent
`messages.bySession` LiveQuery snapshot. Once metadata landed, the UI
flipped out of the loading state even though rows were still empty.

Fix by introducing a separate gate for messages:

- `SessionStore` now exposes `messagesLoaded` (signal). It resets to
  false on session switch and flips true when the first snapshot is
  applied (or the subscribe rejects, to avoid stalling forever).
- `ChatContainer` gates `isInitialLoad` and `loading` on both
  `sessionState !== null` AND `messagesLoaded`, so the empty state is
  never shown while a snapshot is in flight.
- `useSpaceTaskMessages` / `useGroupMessages` replace their
  `isLoading` useState with derived state (`loadedForId !== currentId`)
  so the very first render — before effects fire — already reports
  `isLoading=true`, and task/group switches flip it back to `true`
  synchronously without a render-cycle flash.

Includes regression tests for all three code paths.

12245 of 78061 relevant lines covered (15.69%)

7.7 hits per line

Source Files on job daemon-online-mcp - 24869029861.30
  • Tree
  • List 282
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24869029861
  • 07a662b0 on github
  • Next Job for on dev (#24872378326.6)
  • 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