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

lsm / neokai / 27716672778
82%

Build:
DEFAULT BRANCH: dev
Ran 17 Jun 2026 08:11PM UTC
Jobs 28
Files 605
Run time 5min
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

17 Jun 2026 08:10PM UTC coverage: 85.501% (+3.8%) from 81.668%
27716672778

push

github

web-flow
fix: stop persisting thinking_tokens deltas, persist api_retry messages (#2127)

* fix: stop persisting thinking_tokens deltas, persist api_retry messages

Part A - thinking_tokens leak fix:
- Stop persisting thinking_tokens deltas (transient live event only)
- Add state.thinkingProgress live event for real-time UI updates
- Stamp final estimate on assistant messages with thinking blocks
- Filter thinking_tokens from SQL read paths (MESSAGES_BY_SESSION_SQL, _getSDKMessagesImpl)
- Remove ThinkingTokensMessage component from frontend
- Show estimated token count on ThinkingBlock (survives reload)

Part B - api_retry visibility fix:
- Persist api_retry messages (removed early return)
- Add ApiRetryMessage component with attempt/delay/error display
- Allow api_retry through render gate (type-guards.ts)

This eliminates DB bloat from thinking_tokens deltas (dozens-to-hundreds
of rows per thinking turn) and provides user visibility into API retries.

* fix: wire thinkingProgress event subscription, reset estimate on idle

P1 - Wire state.thinkingProgress in SessionStore:
- Add thinkingProgress signal to track transient progress
- Subscribe to state.thinkingProgress events in startSubscriptions
- Clear signal on session switch
- This fixes the acceptance criterion "transient thinking progress visible"

P2 - Reset currentThinkingTokensEstimate on turn-end/idle:
- Reset field in handleSessionStateChangedMessage when state === 'idle'
- Prevents stale estimate leak across turns (turn A thinking_tokens → interrupt → idle → turn B gets stale estimate)
- Matches the pattern of other turn-scoped fields (usesSessionStateChangedTurnEnd, expectsSessionStateIdleAfterResult, lastResultWasSuccess)

* test: update 3 stale tests for thinking_tokens suppression

P1 - Fix 3 test regressions caused by thinking_tokens SQL filter:

Web tests (2):
- SDKMessageRenderer.test.tsx: Flip from asserting 'Thinking tokens' renders
  to verifying suppression (returns null)
- SubagentBlock... (continued)

27 of 27 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

50324 of 58858 relevant lines covered (85.5%)

542.19 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
76.1
-0.52% packages/web/src/components/MessageInput.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-space-2 - 27716672778.1 17 Jun 2026 08:13PM UTC 351
31.59
GitHub Action Run
2 daemon-5-space-runtime-b - 27716672778.2 17 Jun 2026 08:12PM UTC 175
46.57
GitHub Action Run
3 daemon-online-websocket - 27716672778.3 17 Jun 2026 08:11PM UTC 351
17.72
GitHub Action Run
4 daemon-4-space-migrations-b - 27716672778.4 17 Jun 2026 08:12PM UTC 48
52.98
GitHub Action Run
5 daemon-online-features-1 - 27716672778.5 17 Jun 2026 08:12PM UTC 351
22.42
GitHub Action Run
6 daemon-online-rpc-3 - 27716672778.6 17 Jun 2026 08:12PM UTC 351
19.14
GitHub Action Run
7 daemon-online-rewind-2 - 27716672778.7 17 Jun 2026 08:12PM UTC 351
22.24
GitHub Action Run
8 daemon-online-space-1 - 27716672778.8 17 Jun 2026 08:13PM UTC 351
31.8
GitHub Action Run
9 daemon-online-coordinator - 27716672778.9 17 Jun 2026 08:12PM UTC 340
7.69
GitHub Action Run
10 daemon-4-space-storage - 27716672778.10 17 Jun 2026 08:11PM UTC 156
55.27
GitHub Action Run
11 daemon-online-components - 27716672778.11 17 Jun 2026 08:11PM UTC 351
17.38
GitHub Action Run
12 daemon-online-lifecycle - 27716672778.12 17 Jun 2026 08:13PM UTC 351
22.08
GitHub Action Run
13 daemon-5-space-runtime-a - 27716672778.13 17 Jun 2026 08:11PM UTC 122
40.08
GitHub Action Run
14 daemon-online-rpc-1 - 27716672778.14 17 Jun 2026 08:12PM UTC 351
18.78
GitHub Action Run
15 daemon-online-git - 27716672778.15 17 Jun 2026 08:11PM UTC 351
18.51
GitHub Action Run
16 daemon-online-rpc-4 - 27716672778.16 17 Jun 2026 08:12PM UTC 351
22.45
GitHub Action Run
17 daemon-online-features-2 - 27716672778.17 17 Jun 2026 08:12PM UTC 351
22.04
GitHub Action Run
18 daemon-5-space-agent-other - 27716672778.18 17 Jun 2026 08:12PM UTC 276
26.17
GitHub Action Run
19 daemon-online-sdk - 27716672778.19 17 Jun 2026 08:12PM UTC 351
21.71
GitHub Action Run
20 daemon-online-agent-sdk - 27716672778.20 17 Jun 2026 08:12PM UTC 351
21.7
GitHub Action Run
21 daemon-1-core - 27716672778.21 17 Jun 2026 08:11PM UTC 357
35.02
GitHub Action Run
22 daemon-online-mcp - 27716672778.22 17 Jun 2026 08:11PM UTC 351
17.96
GitHub Action Run
23 daemon-online-convo - 27716672778.23 17 Jun 2026 08:12PM UTC 351
21.61
GitHub Action Run
24 daemon-0-shared-handlers-workflow - 27716672778.24 17 Jun 2026 08:12PM UTC 324
34.9
GitHub Action Run
25 daemon-online-rpc-2 - 27716672778.25 17 Jun 2026 08:13PM UTC 351
22.78
GitHub Action Run
26 web - 27716672778.26 17 Jun 2026 08:12PM UTC 244
73.86
GitHub Action Run
27 daemon-4-space-migrations-a - 27716672778.27 17 Jun 2026 08:12PM UTC 72
38.44
GitHub Action Run
28 daemon-online-rewind-1 - 27716672778.28 17 Jun 2026 08:12PM UTC 351
21.83
GitHub Action Run
Source Files on build 27716672778
  • Tree
  • List 605
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27716672778
  • c906a254 on github
  • Prev Build on dev (#27696093944)
  • Next Build on dev (#27726046174)
  • 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