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

lsm / HyperNeo / 30711462055
83%

Build:
DEFAULT BRANCH: dev
Ran 01 Aug 2026 05:58PM UTC
Jobs 28
Files 634
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

01 Aug 2026 05:57PM UTC coverage: 82.682% (+0.01%) from 82.671%
30711462055

push

github

web-flow
fix: infer provider from model for long-horizon agent sessions (#2264)

* fix: infer provider from model for long-horizon agent sessions

A LH/worker agent whose settings set `model` but left `provider` null ran
fine (provider inferred at query time) but was hard-blocked from switching
models with "Session has no provider configured" — even to the same model.

buildLongHorizonAgentSessionConfig and the regular long-term-agent branch
now infer the provider from the model (mirroring custom-agent.ts) when
agent.provider is unset. model-switch-handler additionally infers the
previous provider from the stored model instead of throwing, so stranded
sessions can switch immediately instead of waiting for a wake/refresh.

* test: add provider-inference regression tests for LH agent model switching

Covers buildLongHorizonAgentSessionConfig inference (kimi + non-kimi +
explicit-provider-wins + default fallback), the regular worker-agent
branch, refreshLongHorizonAgentSessionConfig self-heal (undefined → kimi),
and the model-switch-handler guard inferring the provider from the stored
model — including the kimi → kimi same-model case from the bug report.

* test: clear Claude Code session env vars in unit test setup

provider-service.ts snapshots ANTHROPIC_MODEL, ENABLE_TOOL_SEARCH, and
eight sibling behavior vars into module-level "user configured" constants
at import time, and applyEnvVarsToProcess preserves any process.env value
matching that snapshot. When unit tests run from inside a Claude Code
session (which exports these vars), the snapshot captures the session's
values and the env-clearing assertions in provider-service.test.ts fail —
e.g. ENABLE_TOOL_SEARCH stays 'false' instead of being deleted.

Delete these vars in tests/unit/setup.ts so the module snapshot is
undefined and unit tests are hermetic to the runner's environment,
matching what CI's clean runners already see.

* fix: pre-route bare glm/minimax aliases in inferProviderForModel

Review feed... (continued)

11687 of 16768 branches covered (69.7%)

Branch coverage included in aggregate %.

123 of 126 new or added lines in 9 files covered. (97.62%)

3 existing lines in 1 file now uncovered.

100283 of 118655 relevant lines covered (84.52%)

302.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
83.29
0.32% packages/daemon/src/lib/space/runtime/space-runtime-service.ts

Coverage Regressions

Lines Coverage ∆ File
3
83.29
0.32% packages/daemon/src/lib/space/runtime/space-runtime-service.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-runtime-b - 30711462055.1 01 Aug 2026 06:00PM UTC 195
49.94
GitHub Action Run
2 daemon-online-coordinator - 30711462055.2 01 Aug 2026 05:58PM UTC 354
7.84
GitHub Action Run
3 daemon-online-rpc-4 - 30711462055.3 01 Aug 2026 06:00PM UTC 365
22.26
GitHub Action Run
4 daemon-online-agent-sdk - 30711462055.4 01 Aug 2026 05:59PM UTC 365
21.6
GitHub Action Run
5 daemon-5-space-agent-other - 30711462055.5 01 Aug 2026 05:59PM UTC 291
25.27
GitHub Action Run
6 daemon-4-space-migrations-a - 30711462055.6 01 Aug 2026 05:59PM UTC 76
37.57
GitHub Action Run
7 daemon-5-space-runtime-a - 30711462055.7 01 Aug 2026 05:59PM UTC 136
39.26
GitHub Action Run
8 daemon-online-lifecycle - 30711462055.8 01 Aug 2026 05:59PM UTC 365
21.89
GitHub Action Run
9 daemon-online-space-2 - 30711462055.9 01 Aug 2026 06:01PM UTC 365
31.43
GitHub Action Run
10 daemon-online-convo - 30711462055.10 01 Aug 2026 05:59PM UTC 365
21.51
GitHub Action Run
11 daemon-online-features-2 - 30711462055.11 01 Aug 2026 05:59PM UTC 365
21.73
GitHub Action Run
12 daemon-online-sdk - 30711462055.12 01 Aug 2026 05:59PM UTC 365
21.61
GitHub Action Run
13 daemon-online-space-1 - 30711462055.13 01 Aug 2026 05:59PM UTC 365
31.3
GitHub Action Run
14 web - 30711462055.14 01 Aug 2026 06:00PM UTC 260
74.96
GitHub Action Run
15 daemon-online-rpc-1 - 30711462055.15 01 Aug 2026 05:59PM UTC 365
18.45
GitHub Action Run
16 daemon-4-space-migrations-b - 30711462055.16 01 Aug 2026 05:59PM UTC 48
55.6
GitHub Action Run
17 daemon-0-shared-handlers-workflow - 30711462055.17 01 Aug 2026 05:59PM UTC 370
32.52
GitHub Action Run
18 daemon-1-core - 30711462055.18 01 Aug 2026 05:59PM UTC 370
34.58
GitHub Action Run
19 daemon-online-git - 30711462055.19 01 Aug 2026 05:59PM UTC 365
18.21
GitHub Action Run
20 daemon-online-rewind-1 - 30711462055.20 01 Aug 2026 05:59PM UTC 365
21.72
GitHub Action Run
21 daemon-online-rewind-2 - 30711462055.21 01 Aug 2026 05:59PM UTC 365
22.16
GitHub Action Run
22 daemon-4-space-storage - 30711462055.22 01 Aug 2026 05:59PM UTC 163
54.04
GitHub Action Run
23 daemon-online-rpc-3 - 30711462055.23 01 Aug 2026 06:00PM UTC 365
18.78
GitHub Action Run
24 daemon-online-rpc-2 - 30711462055.24 01 Aug 2026 05:59PM UTC 365
22.56
GitHub Action Run
25 daemon-online-mcp - 30711462055.25 01 Aug 2026 05:58PM UTC 365
17.72
GitHub Action Run
26 daemon-online-websocket - 30711462055.26 01 Aug 2026 05:58PM UTC 365
17.51
GitHub Action Run
27 daemon-online-components - 30711462055.27 01 Aug 2026 05:58PM UTC 365
17.44
GitHub Action Run
28 daemon-online-features-1 - 30711462055.28 01 Aug 2026 06:00PM UTC 365
22.27
GitHub Action Run
Source Files on build 30711462055
  • Tree
  • List 634
  • Changed 17
  • Source Changed 9
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30711462055
  • f3b4d7e5 on github
  • Prev Build on dev (#30700606999)
  • Next Build on dev (#30713719409)
  • 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