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

lsm / neokai / 27729217056 / 2
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 18 Jun 2026 12:48AM UTC
Files 352
Run time 12s
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

18 Jun 2026 12:45AM UTC coverage: 17.58% (-0.02%) from 17.603%
27729217056.2

push

github

web-flow
fix(providers): make test connection actually verify API credentials (#2117)

* fix(providers): make test connection actually verify API credentials

Kimi, GLM, MiniMax, Codex, ACP, and Custom Endpoint providers reported
"healthy" in providers.test/providers.healthCheck without ever calling
the upstream API — getModels() returned a hardcoded static list after a
sync credential-presence check. A key that was present but invalid
(authRevoked, wrong env, expired token) showed up as healthy until the
first real session request failed.

Each provider's getModels() now probes the upstream using the resolved
credentials before returning the static catalogue. Probes are
lightweight (max_tokens=1 messages request, /models listing, or a
binary spawn for ACP), 5s-bounded, and cached per credential for 30s so
repeated health checks and the model picker don't re-probe within the
window. Failed probes throw so the existing RPC handler maps them to
healthStatus='unhealthy' with the upstream's error message.

- shared/credential-probe.ts: minimal Anthropic-compat probe helper
- kimi-provider.ts: probe api.kimi.com/coding/v1/messages
- glm-provider.ts: probe open.bigmodel.cn/api/anthropic/v1/messages
- minimax-provider.ts: probe api.minimax.io/anthropic/v1/messages
- custom-endpoint-provider.ts: GET probe aligned with the UI
  (testCustomEndpoint) — /api/tags, /v1/models, or /models by type
- acp-provider.ts: spawnSync the configured NEOKAI_ACP_COMMAND with
  --help; ENOENT, timeout, and other spawn failures map to unhealthy
- anthropic-to-codex-bridge-provider.ts: POST /responses to either
  api.openai.com/v1 (API key) or chatgpt.com/backend-api/codex (OAuth)

Also clears KIMI_API_KEY, MOONSHOT_API_KEY, and NEOKAI_ACP_COMMAND in
the unit test preload so provider probes triggered by model-service's
loadModelsFromProviders() don't hit real upstreams during the
empty-cache fallback tests.

* fix(providers): address review feedback on credential probes

P0: Codex chatgpt... (continued)

18792 of 106892 relevant lines covered (17.58%)

9.22 hits per line

Source Files on job daemon-online-components - 27729217056.2
  • Tree
  • List 352
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27729217056
  • 196424a7 on github
  • Prev Job for on dev (#27726046174.22)
  • Next Job for on dev (#27729989034.2)
  • 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