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

lsm / neokai / 22647166951
84%

Build:
DEFAULT BRANCH: dev
Ran 03 Mar 2026 11:14PM UTC
Jobs 20
Files 244
Run time 1min
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 Mar 2026 11:14PM UTC coverage: 80.893% (-0.02%) from 80.911%
22647166951

push

github

web-flow
feat: mark orphaned sent messages as failed instead of re-dispatching (#179)

* wip: save work in progress from stuck session

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: prevent synthetic/tool_result messages from being re-dispatched on recovery

Skip isSynthetic=true messages and messages with tool_result-only content
in MessageRecoveryHandler to avoid incorrectly re-queuing SDK-internal
messages as orphaned user input on session restart.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat: mark orphaned sent messages as failed instead of re-dispatching

When the server crashes mid-flight, messages stuck in 'sent' status were
previously reset to 'saved' for automatic retry on next start. This caused
problems: tool_result messages (SDK-internal) could be re-dispatched, and
any partial side effects from the original run could be duplicated.

New approach:
- Mark orphaned messages as 'failed' so they surface in the UI as "not delivered"
- Skip synthetic (isSynthetic=true) and tool_result-only messages entirely
- User sees what was lost without any automatic re-dispatch

Changes:
- Add 'failed' to SendStatus type and DB CHECK constraint (migration 15)
- Recovery handler marks orphaned messages as 'failed' (not 'saved')
- SDK message query surfaces 'failed' messages to UI with sendStatus field
- SDKUserMessage.tsx shows "not delivered" badge for failed messages
- SDKUserMessage type gets optional sendStatus?: 'failed' field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* style: apply biome formatting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

2641 of 3114 branches covered (84.81%)

Branch coverage included in aggregate %.

35 of 48 new or added lines in 3 files covered. (72.92%)

21436 of 26650 relevant lines covered (80.44%)

258.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
76.51
-2.76% packages/daemon/src/storage/schema/migrations.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-providers - 22647166951.1 03 Mar 2026 11:14PM UTC 142
14.31
GitHub Action Run
2 daemon-online-rpc-2 - 22647166951.2 03 Mar 2026 11:16PM UTC 142
28.34
GitHub Action Run
3 daemon-online-features-2 - 22647166951.3 03 Mar 2026 11:15PM UTC 142
23.75
GitHub Action Run
4 web - 22647166951.4 03 Mar 2026 11:15PM UTC 100
85.16
GitHub Action Run
5 daemon-online-sdk - 22647166951.5 03 Mar 2026 11:15PM UTC 142
23.52
GitHub Action Run
6 daemon-online-mcp - 22647166951.6 03 Mar 2026 11:15PM UTC 142
20.58
GitHub Action Run
7 daemon-online-websocket - 22647166951.7 03 Mar 2026 11:15PM UTC 142
19.37
GitHub Action Run
8 daemon-online-agent - 22647166951.8 03 Mar 2026 11:16PM UTC 142
29.71
GitHub Action Run
9 daemon-online-room-1 - 22647166951.9 03 Mar 2026 11:15PM UTC 142
38.28
GitHub Action Run
10 daemon-online-components - 22647166951.10 03 Mar 2026 11:15PM UTC 142
18.99
GitHub Action Run
11 daemon-online-coordinator - 22647166951.11 03 Mar 2026 11:14PM UTC 142
6.73
GitHub Action Run
12 daemon - 22647166951.12 03 Mar 2026 11:15PM UTC 144
74.58
GitHub Action Run
13 daemon-online-convo - 22647166951.13 03 Mar 2026 11:15PM UTC 142
28.78
GitHub Action Run
14 daemon-online-git - 22647166951.14 03 Mar 2026 11:15PM UTC 142
26.9
GitHub Action Run
15 daemon-online-room-2 - 22647166951.15 03 Mar 2026 11:16PM UTC 142
35.93
GitHub Action Run
16 daemon-online-rpc-3 - 22647166951.16 03 Mar 2026 11:15PM UTC 142
27.12
GitHub Action Run
17 daemon-online-rewind - 22647166951.17 03 Mar 2026 11:15PM UTC 142
31.51
GitHub Action Run
18 daemon-online-rpc-1 - 22647166951.18 03 Mar 2026 11:16PM UTC 142
25.3
GitHub Action Run
19 daemon-online-features-1 - 22647166951.19 03 Mar 2026 11:17PM UTC 142
25.15
GitHub Action Run
20 daemon-online-lifecycle - 22647166951.20 03 Mar 2026 11:15PM UTC 142
23.51
GitHub Action Run
Source Files on build 22647166951
  • Tree
  • List 244
  • Changed 9
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22647166951
  • a6b1fdda on github
  • Prev Build on dev (#22588562830)
  • Next Build on dev (#22703906100)
  • 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