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

lsm / neokai / 27651591059
82%

Build:
DEFAULT BRANCH: dev
Ran 16 Jun 2026 10:13PM UTC
Jobs 28
Files 604
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

16 Jun 2026 10:12PM UTC coverage: 81.65% (-0.02%) from 81.668%
27651591059

push

github

web-flow
feat(providers): add region support to Kimi provider (China vs Global) (#2116)

* feat(providers): add region support to Kimi provider (China vs Global)

Kimi previously hardcoded api.kimi.com (China). Add region-aware endpoint
resolution so users can pick between the China (api.kimi.com) and Global
(api.moonshot.ai) Anthropic-compatible APIs.

- KimiProvider: export KIMI_REGION_ENDPOINTS + resolveKimiRegion(); pick base
  URL from per-session region, then provider-level default region, then
  'china' fallback. Static BASE_URL/OPENAI_BASE_URL retained for backward
  compatibility. Add setDefaultRegion/getDefaultRegion for provider-sync to
  push the configured region onto the instance.
- provider-sync: read region from ProviderRecord.configJson on every sync and
  apply via KimiProvider.setDefaultRegion so existing sessions route to the
  configured endpoint without per-session changes.
- credential-discovery: persisted Kimi rows seeded with configJson
  {region:'china'} so legacy credentials keep their existing behaviour.
- AddProviderModal: region selector visible only on the Kimi card; choice
  persisted into configJson on create.
- ProvidersSettings: region dropdown + Save button on Kimi provider detail
  panels; updates configJson live.
- Tests: region table, resolveKimiRegion defaults, per-session vs
  provider-default precedence, baseUrl override, invalid region fallback,
  separate bridges per region.

* fix(providers): address review on Kimi region UI + parsing

- ProvidersSettings: convert region heading to a real <label for=...> bound
  to the <select id=...> so screen readers announce the field. Matches the
  pattern already used in AddProviderModal.
- ProvidersSettings: disable the region Save button when the staged value
  equals the persisted region, avoiding a needless providers.update + resync
  on no-op clicks.
- kimi-provider: resolveKimiRegion now lowercases incoming region strings so
  hand-crafted payloads using 'CHINA' / 'Global... (continued)

10525 of 15377 branches covered (68.45%)

Branch coverage included in aggregate %.

51 of 76 new or added lines in 5 files covered. (67.11%)

90513 of 108369 relevant lines covered (83.52%)

291.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
58.49
-4.56% packages/web/src/components/settings/ProvidersSettings.tsx
8
58.42
-3.81% packages/daemon/src/lib/providers/provider-sync.ts
1
58.05
1.6% packages/web/src/components/settings/AddProviderModal.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-websocket - 27651591059.1 16 Jun 2026 10:13PM UTC 351
17.65
GitHub Action Run
2 web - 27651591059.2 16 Jun 2026 10:14PM UTC 243
73.75
GitHub Action Run
3 daemon-4-space-migrations-b - 27651591059.3 16 Jun 2026 10:14PM UTC 70
38.92
GitHub Action Run
4 daemon-5-space-runtime-a - 27651591059.4 16 Jun 2026 10:13PM UTC 122
39.95
GitHub Action Run
5 daemon-online-rewind-2 - 27651591059.5 16 Jun 2026 10:14PM UTC 351
22.16
GitHub Action Run
6 daemon-online-space-2 - 27651591059.6 16 Jun 2026 10:15PM UTC 351
31.52
GitHub Action Run
7 daemon-online-sdk - 27651591059.7 16 Jun 2026 10:14PM UTC 351
21.62
GitHub Action Run
8 daemon-4-space-storage - 27651591059.8 16 Jun 2026 10:14PM UTC 156
55.17
GitHub Action Run
9 daemon-online-agent-sdk - 27651591059.9 16 Jun 2026 10:14PM UTC 351
21.62
GitHub Action Run
10 daemon-5-space-agent-other - 27651591059.10 16 Jun 2026 10:14PM UTC 276
26.08
GitHub Action Run
11 daemon-online-rpc-3 - 27651591059.11 16 Jun 2026 10:14PM UTC 351
19.07
GitHub Action Run
12 daemon-online-rpc-4 - 27651591059.12 16 Jun 2026 10:15PM UTC 351
22.35
GitHub Action Run
13 daemon-4-space-migrations-a - 27651591059.13 16 Jun 2026 10:14PM UTC 50
53.85
GitHub Action Run
14 daemon-online-features-1 - 27651591059.14 16 Jun 2026 10:14PM UTC 351
22.34
GitHub Action Run
15 daemon-online-convo - 27651591059.15 16 Jun 2026 10:15PM UTC 351
21.52
GitHub Action Run
16 daemon-online-rewind-1 - 27651591059.16 16 Jun 2026 10:14PM UTC 351
21.75
GitHub Action Run
17 daemon-online-features-2 - 27651591059.17 16 Jun 2026 10:14PM UTC 351
21.96
GitHub Action Run
18 daemon-0-shared-handlers-workflow - 27651591059.18 16 Jun 2026 10:14PM UTC 324
34.82
GitHub Action Run
19 daemon-online-space-1 - 27651591059.19 16 Jun 2026 10:14PM UTC 351
32.7
GitHub Action Run
20 daemon-1-core - 27651591059.20 16 Jun 2026 10:14PM UTC 357
34.93
GitHub Action Run
21 daemon-5-space-runtime-b - 27651591059.21 16 Jun 2026 10:14PM UTC 175
46.5
GitHub Action Run
22 daemon-online-rpc-2 - 27651591059.22 16 Jun 2026 10:14PM UTC 351
22.66
GitHub Action Run
23 daemon-online-mcp - 27651591059.23 16 Jun 2026 10:13PM UTC 351
17.88
GitHub Action Run
24 daemon-online-git - 27651591059.24 16 Jun 2026 10:14PM UTC 351
18.44
GitHub Action Run
25 daemon-online-rpc-1 - 27651591059.25 16 Jun 2026 10:14PM UTC 351
18.71
GitHub Action Run
26 daemon-online-coordinator - 27651591059.26 16 Jun 2026 10:13PM UTC 340
7.7
GitHub Action Run
27 daemon-online-lifecycle - 27651591059.27 16 Jun 2026 10:14PM UTC 351
22.0
GitHub Action Run
28 daemon-online-components - 27651591059.28 16 Jun 2026 10:14PM UTC 351
17.56
GitHub Action Run
Source Files on build 27651591059
  • Tree
  • List 604
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27651591059
  • b747a71f on github
  • Prev Build on dev (#27651318130)
  • Next Build on dev (#27665191929)
  • 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