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

lsm / HyperNeo / 31901879932
79%

Build:
DEFAULT BRANCH: dev
Ran 15 Aug 2026 06:43PM UTC
Jobs 29
Files 682
Run time 3min
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

15 Aug 2026 06:42PM UTC coverage: 78.738% (-0.005%) from 78.743%
31901879932

push

github

web-flow
test(daemon): enforce loopback-only fetch in unit tests (#2496)

* test(daemon): enforce loopback-only fetch in unit tests

CLAUDE.md documents that daemon unit tests 'never call real APIs', but
the setup only enforced that by clearing provider env keys. Availability
probes funnel through the global fetch with per-probe timeouts
(src/lib/providers/shared/credential-probe.ts), so any provider whose
availability check passes without an env key still burns real network
round-trips inside the per-test budget — the root of the model-service
flake family registered in flaky-tests.json and of yesterday's
model-service-provider-routing CI timeout.

Replace global fetch with a guard that allows loopback hosts (suites
that spin up local bridge servers keep working) and rejects everything
else with a pointing error. The original fetch is stashed as
__originalFetch, mirroring the existing __originalConsole stash.

* test(daemon): scope unit-fetch guard to test-spawned server ports

Address review feedback: a blanket loopback allowance is still
environment-dependent (a developer machine running Ollama on
localhost:11434 satisfies OllamaProvider.isAvailable() and loads real
local models), and native redirect-following would silently bypass the
host check on the second hop.

Patch net.Server.prototype.listen to record ports bound by servers the
tests spawn; fetch admits loopback only on those ports. Redirects are
followed manually so every hop is re-validated against the guard.

* test(daemon): address fetch-guard review round 2

- import node:net as an ES module instead of CommonJS require
- normalize bracketed IPv6 hostnames ('[::1]' vs '::1') before compare
- pass the original Request/input on the first hop so its method,
  headers, and body survive the guard
- honor caller-specified redirect:'manual'/'error' semantics; only the
  default follow mode uses the guard's hop-by-hop re-validation
- make the Server.listen prototype patch idempotent across per-file
  se... (continued)

42619 of 57973 branches covered (73.52%)

Branch coverage included in aggregate %.

58083 of 69922 relevant lines covered (83.07%)

3868.01 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
81.57
-0.05% packages/daemon/src/lib/space/runtime/space-runtime.ts
1
95.04
-1.65% packages/daemon/src/lib/internal-event-bus.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-b - 31901879932.1 15 Aug 2026 06:44PM UTC 56
33.83
GitHub Action Run
2 daemon-4-space-migrations-a - 31901879932.2 15 Aug 2026 06:44PM UTC 26
65.39
GitHub Action Run
3 daemon-shared - 31901879932.3 15 Aug 2026 06:43PM UTC 24
85.3
GitHub Action Run
4 daemon-online-rpc-2 - 31901879932.4 15 Aug 2026 06:45PM UTC 365
13.95
GitHub Action Run
5 daemon-1-core - 31901879932.5 15 Aug 2026 06:47PM UTC 372
31.67
GitHub Action Run
6 daemon-5-space-runtime-a - 31901879932.6 15 Aug 2026 06:44PM UTC 233
21.26
GitHub Action Run
7 daemon-4-space-storage - 31901879932.7 15 Aug 2026 06:44PM UTC 157
46.85
GitHub Action Run
8 daemon-online-space-2 - 31901879932.8 15 Aug 2026 06:46PM UTC 365
18.43
GitHub Action Run
9 daemon-online-convo - 31901879932.9 15 Aug 2026 06:45PM UTC 365
13.03
GitHub Action Run
10 daemon-online-features-1 - 31901879932.10 15 Aug 2026 06:44PM UTC 365
13.81
GitHub Action Run
11 daemon-online-git - 31901879932.11 15 Aug 2026 06:44PM UTC 365
10.29
GitHub Action Run
12 daemon-online-mcp - 31901879932.12 15 Aug 2026 06:43PM UTC 365
10.02
GitHub Action Run
13 daemon-online-agent-sdk - 31901879932.13 15 Aug 2026 06:44PM UTC 365
13.11
GitHub Action Run
14 daemon-online-components - 31901879932.14 15 Aug 2026 06:43PM UTC 365
9.69
GitHub Action Run
15 daemon-online-rewind-1 - 31901879932.15 15 Aug 2026 06:44PM UTC 365
13.1
GitHub Action Run
16 web - 31901879932.16 15 Aug 2026 06:45PM UTC 283
76.67
GitHub Action Run
17 daemon-online-lifecycle - 31901879932.17 15 Aug 2026 06:44PM UTC 365
13.45
GitHub Action Run
18 daemon-online-space-1 - 31901879932.18 15 Aug 2026 06:43PM UTC 365
11.32
GitHub Action Run
19 daemon-online-rpc-3 - 31901879932.19 15 Aug 2026 06:44PM UTC 365
10.52
GitHub Action Run
20 daemon-5-space-agent-other - 31901879932.20 15 Aug 2026 06:44PM UTC 287
19.36
GitHub Action Run
21 daemon-5-space-runtime-b - 31901879932.21 15 Aug 2026 06:45PM UTC 219
31.7
GitHub Action Run
22 daemon-online-websocket - 31901879932.22 15 Aug 2026 06:43PM UTC 365
9.8
GitHub Action Run
23 daemon-online-rpc-4 - 31901879932.23 15 Aug 2026 06:45PM UTC 365
11.02
GitHub Action Run
24 daemon-online-coordinator - 31901879932.24 15 Aug 2026 06:43PM UTC 355
1.23
GitHub Action Run
25 daemon-0-shared-handlers-workflow - 31901879932.25 15 Aug 2026 06:45PM UTC 370
28.17
GitHub Action Run
26 daemon-online-rewind-2 - 31901879932.26 15 Aug 2026 06:44PM UTC 365
13.53
GitHub Action Run
27 daemon-online-sdk - 31901879932.27 15 Aug 2026 06:44PM UTC 365
13.08
GitHub Action Run
28 daemon-online-features-2 - 31901879932.28 15 Aug 2026 06:44PM UTC 365
13.37
GitHub Action Run
29 daemon-online-rpc-1 - 31901879932.29 15 Aug 2026 06:44PM UTC 365
10.46
GitHub Action Run
Source Files on build 31901879932
  • Tree
  • List 682
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31901879932
  • a3636e2c on github
  • Prev Build on dev (#31895674811)
  • Next Build on dev (#31903204047)
  • 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