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

lsm / neokai / 27182873492
82%

Build:
DEFAULT BRANCH: dev
Ran 09 Jun 2026 03:58AM UTC
Jobs 28
Files 593
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

09 Jun 2026 03:57AM UTC coverage: 82.224% (+0.005%) from 82.219%
27182873492

push

github

web-flow
fix: prefer provider metadata context window for non-native providers (#2082)

* fix: prefer provider metadata context window for non-native providers

Invert the default in ContextFetcher so non-Anthropic providers use
their own model metadata contextWindow instead of the SDK's assumed
capacity (which reports 1M or other generic values for GLM, Kimi,
Ollama, MiniMax, custom endpoints, etc.).

Only anthropic and anthropic-copilot continue to trust SDK-reported
values by default. Explicit preferContextWindowMetadata still overrides.

Add tests for non-native provider preference, native provider fallback,
and explicit opt-out via the flag.

* fix: use metadata for translated SDK model IDs on non-native providers

Non-native providers translate their model IDs to SDK placeholders like
'default', so getContextUsage() reports the generic SDK model name while
getSessionModelInfo() returns metadata for the real session model. This
meant metadataMatchesResponse was false and the fix from the previous
commit still fell back to SDK capacity.

Broaden metadataMatchesResponse to also match when the response model is
a generic SDK tier name (default, haiku, sonnet, opus) and the provider
is non-native. Native providers continue to trust SDK values in this
case.

Add tests for generic placeholder model matching.

* fix: update copilot isolation test to allow provider IDs in generic infra

10124 of 14808 branches covered (68.37%)

Branch coverage included in aggregate %.

9 of 0 new or added lines in 0 files covered. (NaN%)

86851 of 103132 relevant lines covered (84.21%)

291.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-a - 27182873492.1 09 Jun 2026 03:59AM UTC 49
56.98
GitHub Action Run
2 daemon-5-space-runtime-a - 27182873492.2 09 Jun 2026 03:59AM UTC 121
40.15
GitHub Action Run
3 daemon-online-rpc-4 - 27182873492.3 09 Jun 2026 03:59AM UTC 342
22.99
GitHub Action Run
4 daemon-4-space-storage - 27182873492.4 09 Jun 2026 03:59AM UTC 155
55.8
GitHub Action Run
5 daemon-online-components - 27182873492.5 09 Jun 2026 03:58AM UTC 342
18.13
GitHub Action Run
6 web - 27182873492.6 09 Jun 2026 03:59AM UTC 240
73.7
GitHub Action Run
7 daemon-online-mcp - 27182873492.7 09 Jun 2026 03:58AM UTC 342
18.48
GitHub Action Run
8 daemon-4-space-migrations-b - 27182873492.8 09 Jun 2026 03:59AM UTC 69
39.54
GitHub Action Run
9 daemon-online-rpc-1 - 27182873492.9 09 Jun 2026 03:59AM UTC 342
19.29
GitHub Action Run
10 daemon-online-websocket - 27182873492.10 09 Jun 2026 03:58AM UTC 342
18.23
GitHub Action Run
11 daemon-5-space-agent-other - 27182873492.11 09 Jun 2026 03:59AM UTC 267
27.29
GitHub Action Run
12 daemon-online-rpc-3 - 27182873492.12 09 Jun 2026 03:59AM UTC 342
19.66
GitHub Action Run
13 daemon-online-space-2 - 27182873492.13 09 Jun 2026 04:00AM UTC 342
32.07
GitHub Action Run
14 daemon-online-convo - 27182873492.14 09 Jun 2026 03:59AM UTC 342
21.97
GitHub Action Run
15 daemon-online-features-1 - 27182873492.15 09 Jun 2026 03:59AM UTC 342
22.8
GitHub Action Run
16 daemon-online-agent-sdk - 27182873492.16 09 Jun 2026 03:59AM UTC 342
22.07
GitHub Action Run
17 daemon-5-space-runtime-b - 27182873492.17 09 Jun 2026 03:59AM UTC 173
46.0
GitHub Action Run
18 daemon-online-sdk - 27182873492.18 09 Jun 2026 03:59AM UTC 342
22.08
GitHub Action Run
19 daemon-online-rpc-2 - 27182873492.19 09 Jun 2026 03:59AM UTC 342
23.14
GitHub Action Run
20 daemon-1-core - 27182873492.20 09 Jun 2026 03:59AM UTC 349
35.41
GitHub Action Run
21 daemon-online-space-1 - 27182873492.21 09 Jun 2026 03:59AM UTC 342
33.21
GitHub Action Run
22 daemon-online-coordinator - 27182873492.22 09 Jun 2026 03:58AM UTC 331
7.72
GitHub Action Run
23 daemon-online-rewind-1 - 27182873492.23 09 Jun 2026 03:59AM UTC 342
22.21
GitHub Action Run
24 daemon-online-features-2 - 27182873492.24 09 Jun 2026 03:59AM UTC 342
22.39
GitHub Action Run
25 daemon-0-shared-handlers-workflow - 27182873492.25 09 Jun 2026 03:58AM UTC 170
63.4
GitHub Action Run
26 daemon-online-rewind-2 - 27182873492.26 09 Jun 2026 03:59AM UTC 342
22.63
GitHub Action Run
27 daemon-online-git - 27182873492.27 09 Jun 2026 03:59AM UTC 342
19.06
GitHub Action Run
28 daemon-online-lifecycle - 27182873492.28 09 Jun 2026 03:59AM UTC 342
22.45
GitHub Action Run
Source Files on build 27182873492
  • Tree
  • List 593
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27182873492
  • 6d6ae9e2 on github
  • Prev Build on dev (#27182037313)
  • Next Build on dev (#27183148114)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc