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

lsm / neokai / 28307668303
82%

Build:
DEFAULT BRANCH: dev
Ran 28 Jun 2026 01:32AM UTC
Jobs 28
Files 618
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

28 Jun 2026 01:31AM UTC coverage: 82.414% (+0.3%) from 82.086%
28307668303

push

github

web-flow
fix(space-runtime): detect Kimi prompt-too-long in user-message stderr and recover (#2203)

* fix(space-runtime): detect Kimi prompt-too-long in user-message stderr and recover

* refactor(space-runtime): address review comments on Kimi overflow recovery

* test(space-runtime): add Kimi prompt-too-long online recovery test

Add a real online integration test that drives the full Kimi prompt-too-long
recovery path against a Dev Proxy-mocked API:

- .devproxy/mocks-errors.json: add detailed ('Prompt is too long: 205616 tokens
  > 200000 maximum') and bare ('Prompt is too long') Kimi 400 mocks plus a
  catch-all success mock so /compact and continue-nag turns get a non-overflow
  response. Existing mocks were also updated to satisfy Dev Proxy v3's
  string-only bodyFragment schema.
- packages/daemon/tests/helpers/dev-proxy.ts: pass --config-file and a
  derived --api-port so non-default proxy ports work; create a default
  devproxyrc.json when the caller supplies a custom configPath.
- packages/daemon/src/lib/provider-service.ts: preserve local Dev Proxy
  ANTHROPIC_BASE_URL values (http://127.0.0.1:*) when clearing provider-routing
  env vars, so test mock routing is not deleted as a leaked provider override.
  Also respect an explicit ANTHROPIC_BASE_URL when NEOKAI_USE_DEV_PROXY=1.
- packages/daemon/tests/unit/5-space/runtime/prompt-too-long-recovery.test.ts:
  add bonus unit test for the awaitingResume clear path (a resumed turn that
  re-overflows as a Kimi user message re-compacts immediately).
- packages/daemon/tests/online/space/prompt-too-long-kimi-recovery.test.ts:
  new online integration test covering both detailed and bare Kimi forms. It
  spins up a daemon with NEOKAI_USE_DEV_PROXY=1, creates a space + worker
  workflow, injects the Kimi stderr via test.injectSDKMessage, and verifies
  the runtime injects /compact and the continue nag in order.

* fix: address review feedback on Kimi prompt-too-long test suite

P1: Gate localhost ANTHROPIC_B... (continued)

11422 of 16468 branches covered (69.36%)

Branch coverage included in aggregate %.

57 of 60 new or added lines in 3 files covered. (95.0%)

35 existing lines in 2 files now uncovered.

97515 of 115714 relevant lines covered (84.27%)

300.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.89
66.16% packages/daemon/src/lib/space/runtime/prompt-too-long-recovery.ts

Coverage Regressions

Lines Coverage ∆ File
23
97.54
-2.18% packages/daemon/src/lib/agent/query-runner.ts
12
97.03
5.5% packages/daemon/src/lib/space/runtime/space-runtime.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-runtime-a - 28307668303.1 28 Jun 2026 01:32AM UTC 131
39.61
GitHub Action Run
2 daemon-online-features-2 - 28307668303.2 28 Jun 2026 01:32AM UTC 360
21.71
GitHub Action Run
3 daemon-online-git - 28307668303.3 28 Jun 2026 01:32AM UTC 360
18.23
GitHub Action Run
4 daemon-online-space-1 - 28307668303.4 28 Jun 2026 01:33AM UTC 360
31.22
GitHub Action Run
5 daemon-4-space-migrations-a - 28307668303.5 28 Jun 2026 01:33AM UTC 74
36.92
GitHub Action Run
6 daemon-online-components - 28307668303.6 28 Jun 2026 01:32AM UTC 360
17.38
GitHub Action Run
7 daemon-online-websocket - 28307668303.7 28 Jun 2026 01:32AM UTC 360
17.5
GitHub Action Run
8 daemon-4-space-storage - 28307668303.8 28 Jun 2026 01:32AM UTC 160
53.64
GitHub Action Run
9 daemon-online-coordinator - 28307668303.9 28 Jun 2026 01:32AM UTC 349
7.82
GitHub Action Run
10 daemon-online-agent-sdk - 28307668303.10 28 Jun 2026 01:32AM UTC 360
21.58
GitHub Action Run
11 daemon-online-convo - 28307668303.11 28 Jun 2026 01:32AM UTC 360
21.49
GitHub Action Run
12 daemon-online-mcp - 28307668303.12 28 Jun 2026 01:32AM UTC 360
17.71
GitHub Action Run
13 daemon-online-sdk - 28307668303.13 28 Jun 2026 01:32AM UTC 360
21.59
GitHub Action Run
14 daemon-online-rpc-2 - 28307668303.14 28 Jun 2026 01:33AM UTC 360
22.59
GitHub Action Run
15 daemon-online-space-2 - 28307668303.15 28 Jun 2026 01:34AM UTC 360
31.59
GitHub Action Run
16 daemon-online-rpc-3 - 28307668303.16 28 Jun 2026 01:33AM UTC 360
18.81
GitHub Action Run
17 daemon-online-lifecycle - 28307668303.17 28 Jun 2026 01:33AM UTC 360
21.87
GitHub Action Run
18 daemon-online-features-1 - 28307668303.18 28 Jun 2026 01:33AM UTC 360
22.26
GitHub Action Run
19 daemon-online-rewind-2 - 28307668303.19 28 Jun 2026 01:33AM UTC 360
22.16
GitHub Action Run
20 daemon-0-shared-handlers-workflow - 28307668303.20 28 Jun 2026 01:33AM UTC 365
32.31
GitHub Action Run
21 daemon-online-rpc-1 - 28307668303.21 28 Jun 2026 01:33AM UTC 360
18.48
GitHub Action Run
22 daemon-1-core - 28307668303.22 28 Jun 2026 01:32AM UTC 366
34.72
GitHub Action Run
23 daemon-online-rewind-1 - 28307668303.23 28 Jun 2026 01:33AM UTC 360
21.7
GitHub Action Run
24 daemon-5-space-runtime-b - 28307668303.24 28 Jun 2026 01:33AM UTC 186
47.72
GitHub Action Run
25 daemon-5-space-agent-other - 28307668303.25 28 Jun 2026 01:32AM UTC 287
25.67
GitHub Action Run
26 web - 28307668303.26 28 Jun 2026 01:33AM UTC 248
74.57
GitHub Action Run
27 daemon-online-rpc-4 - 28307668303.27 28 Jun 2026 01:33AM UTC 360
22.28
GitHub Action Run
28 daemon-4-space-migrations-b - 28307668303.28 28 Jun 2026 01:33AM UTC 48
56.51
GitHub Action Run
Source Files on build 28307668303
  • Tree
  • List 618
  • Changed 22
  • Source Changed 3
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28307668303
  • 414d5b63 on github
  • Prev Build on dev (#28280852343)
  • Next Build on dev (#28325386179)
  • 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