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

lsm / neokai / 25616806840
82%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 01:42AM UTC
Jobs 28
Files 515
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

10 May 2026 01:41AM UTC coverage: 82.698% (+0.005%) from 82.693%
25616806840

push

github

web-flow
fix: set autoCompactWindow for non-native providers with large context windows (#1839)

The SDK defaults to a 200k context window for auto-compact when it can't
discover the actual model capacity. This caused DeepSeek v4 (1M context)
to compact at ~17% usage (~170k tokens) instead of the expected ~80%.

Changes:
- QueryOptionsBuilder.build() now fetches the session's ModelInfo and
  passes contextWindow to buildProviderSettings().
- buildProviderSettings() sets autoCompactWindow for non-native providers
  (OpenRouter, Ollama, GLM, etc.) when the model's contextWindow is known.
- Native Anthropic providers (anthropic, anthropic-copilot) are skipped
  since the SDK already knows their correct context windows.
- The Codex bridge's hardcoded 1M autoCompactWindow is preserved.

Tests updated to verify:
- OpenRouter 1M model gets autoCompactWindow=1_000_000
- OpenRouter 128k model gets autoCompactWindow=128_000
- Native anthropic provider leaves settings undefined
- Unknown model context window leaves settings undefined

8213 of 11402 branches covered (72.03%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 1 file covered. (100.0%)

64121 of 76066 relevant lines covered (84.3%)

289.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-agent - 25616806840.1 10 May 2026 01:42AM UTC 169
28.36
GitHub Action Run
2 daemon-5-space-other - 25616806840.2 10 May 2026 01:42AM UTC 126
31.33
GitHub Action Run
3 daemon-online-websocket - 25616806840.3 10 May 2026 01:42AM UTC 280
17.96
GitHub Action Run
4 daemon-1-core - 25616806840.4 10 May 2026 01:42AM UTC 285
38.38
GitHub Action Run
5 daemon-online-rpc-4 - 25616806840.5 10 May 2026 01:44AM UTC 280
23.81
GitHub Action Run
6 daemon-4-space-storage - 25616806840.6 10 May 2026 01:43AM UTC 127
55.03
GitHub Action Run
7 daemon-online-lifecycle - 25616806840.7 10 May 2026 01:43AM UTC 280
22.93
GitHub Action Run
8 daemon-2-handlers - 25616806840.8 10 May 2026 01:42AM UTC 125
56.9
GitHub Action Run
9 daemon-online-coordinator - 25616806840.9 10 May 2026 01:42AM UTC 280
7.39
GitHub Action Run
10 daemon-online-rpc-1 - 25616806840.10 10 May 2026 01:43AM UTC 280
19.36
GitHub Action Run
11 web - 25616806840.11 10 May 2026 01:43AM UTC 222
76.96
GitHub Action Run
12 daemon-online-convo - 25616806840.12 10 May 2026 01:43AM UTC 280
22.36
GitHub Action Run
13 daemon-online-rewind-2 - 25616806840.13 10 May 2026 01:43AM UTC 280
23.24
GitHub Action Run
14 daemon-online-features-1 - 25616806840.14 10 May 2026 01:43AM UTC 280
23.26
GitHub Action Run
15 daemon-online-sdk - 25616806840.15 10 May 2026 01:42AM UTC 280
22.37
GitHub Action Run
16 daemon-5-space-runtime - 25616806840.16 10 May 2026 01:42AM UTC 148
40.25
GitHub Action Run
17 daemon-5-space-workflow - 25616806840.17 10 May 2026 01:42AM UTC 107
31.45
GitHub Action Run
18 daemon-online-space-2 - 25616806840.18 10 May 2026 01:43AM UTC 280
32.45
GitHub Action Run
19 daemon-0-shared - 25616806840.19 10 May 2026 01:42AM UTC 30
84.22
GitHub Action Run
20 daemon-online-git - 25616806840.20 10 May 2026 01:42AM UTC 280
18.99
GitHub Action Run
21 daemon-online-components - 25616806840.21 10 May 2026 01:42AM UTC 280
17.83
GitHub Action Run
22 daemon-online-rpc-2 - 25616806840.22 10 May 2026 01:43AM UTC 280
23.9
GitHub Action Run
23 daemon-online-rpc-3 - 25616806840.23 10 May 2026 01:43AM UTC 280
20.12
GitHub Action Run
24 daemon-online-rewind-1 - 25616806840.24 10 May 2026 01:43AM UTC 280
22.68
GitHub Action Run
25 daemon-online-mcp - 25616806840.25 10 May 2026 01:42AM UTC 280
18.29
GitHub Action Run
26 daemon-online-features-2 - 25616806840.26 10 May 2026 01:42AM UTC 280
22.9
GitHub Action Run
27 daemon-online-space-1 - 25616806840.27 10 May 2026 01:43AM UTC 280
32.35
GitHub Action Run
28 daemon-online-agent-sdk - 25616806840.28 10 May 2026 01:43AM UTC 280
22.49
GitHub Action Run
Source Files on build 25616806840
  • Tree
  • List 515
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25616806840
  • 6e707641 on github
  • Prev Build on dev (#25616282617)
  • Next Build on dev (#25617095228)
  • 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