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

lsm / neokai / 26795417273
82%

Build:
DEFAULT BRANCH: dev
Ran 02 Jun 2026 02:54AM UTC
Jobs 28
Files 582
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

02 Jun 2026 02:53AM UTC coverage: 82.858% (-0.04%) from 82.895%
26795417273

push

github

web-flow
feat: refresh model list immediately when providers change (#2053)

* feat: refresh model list immediately when providers change

Emit a new `providers.changed` internal event whenever:
- Provider is created/updated/deleted via `providers.*` RPCs
- Custom endpoint is added/removed/updated
- Provider model allowlists change in settings
- Auth logout or token refresh changes credential state

Frontend `useModelSwitcher` subscribes to `providers.changed`
and reloads the model catalogue without requiring page reload.

Model cache is cleared on each mutation so the next
`models.list` call returns fresh data.

* fix: address review feedback on provider change forwarding

- ClientEventBridge: forward `providers.changed` to global channel
- useModelSwitcher: re-subscribe on WebSocket reconnect via connectionState
- auth.login: emit `providers.changed` after OAuth credentials are stored
- SessionStatusBar: refresh auth statuses on `providers.changed`
- Update bridge test counts and add forwarding assertions

* fix: review feedback round 2 — logout failures, disable toggle, delete reliability

- auth-handlers: emit providers.changed on logout catch block after credential removal
- provider-handlers: include isEnabled in shouldResync; remove disabled providers from registry, re-register enabled built-ins via initializeProviders()
- provider-handlers: wrap credential cleanup in try/finally so cache clear + event always fires after irreversible delete/unregister

* fix: surgical built-in provider re-registration on enable

Replace unconditional initializeProviders() with new
ensureBuiltInProviderRegistered(providerId) in factory.ts.

- Only registers the specific provider being enabled, avoiding
  accidental recreation of other disabled built-ins during resync.
- Optional built-ins (anthropic-copilot) awaited via
  waitForOptionalProviderRegistration so credentials apply correctly.

* fix: prevent initializeProviders from re-adding disabled built-ins

Change initi... (continued)

9856 of 14389 branches covered (68.5%)

Branch coverage included in aggregate %.

141 of 231 new or added lines in 11 files covered. (61.04%)

7 existing lines in 2 files now uncovered.

82711 of 97329 relevant lines covered (84.98%)

297.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
42
8.41
-0.65% packages/daemon/src/lib/rpc-handlers/provider-handlers.ts
37
75.96
-18.74% packages/daemon/src/lib/providers/factory.ts
9
76.77
2.9% packages/daemon/src/lib/rpc-handlers/custom-endpoint-handlers.ts
1
71.39
0.23% packages/daemon/src/app.ts
1
93.44
-0.12% packages/web/src/components/SessionStatusBar.tsx

Coverage Regressions

Lines Coverage ∆ File
5
82.61
-10.87% packages/daemon/src/lib/space/runtime/last-message-classifier.ts
2
8.41
-0.65% packages/daemon/src/lib/rpc-handlers/provider-handlers.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-rpc-4 - 26795417273.1 02 Jun 2026 02:56AM UTC 334
23.72
GitHub Action Run
2 daemon-online-websocket - 26795417273.2 02 Jun 2026 02:54AM UTC 334
18.67
GitHub Action Run
3 daemon-online-git - 26795417273.3 02 Jun 2026 02:55AM UTC 334
19.55
GitHub Action Run
4 daemon-4-space-storage - 26795417273.4 02 Jun 2026 02:55AM UTC 152
56.14
GitHub Action Run
5 daemon-online-space-2 - 26795417273.5 02 Jun 2026 02:56AM UTC 334
32.98
GitHub Action Run
6 daemon-online-sdk - 26795417273.6 02 Jun 2026 02:55AM UTC 334
22.74
GitHub Action Run
7 daemon-online-agent-sdk - 26795417273.7 02 Jun 2026 02:55AM UTC 334
22.73
GitHub Action Run
8 daemon-5-space-runtime-b - 26795417273.8 02 Jun 2026 02:55AM UTC 166
44.54
GitHub Action Run
9 daemon-4-space-migrations-a - 26795417273.9 02 Jun 2026 02:55AM UTC 69
38.86
GitHub Action Run
10 daemon-online-rewind-2 - 26795417273.10 02 Jun 2026 02:55AM UTC 334
23.33
GitHub Action Run
11 daemon-online-features-1 - 26795417273.11 02 Jun 2026 02:55AM UTC 334
23.51
GitHub Action Run
12 daemon-5-space-agent-other - 26795417273.12 02 Jun 2026 02:55AM UTC 260
27.29
GitHub Action Run
13 daemon-1-core - 26795417273.13 02 Jun 2026 02:55AM UTC 340
36.28
GitHub Action Run
14 daemon-online-features-2 - 26795417273.14 02 Jun 2026 02:55AM UTC 334
23.07
GitHub Action Run
15 daemon-4-space-migrations-b - 26795417273.15 02 Jun 2026 02:55AM UTC 44
59.96
GitHub Action Run
16 daemon-5-space-runtime-a - 26795417273.16 02 Jun 2026 02:55AM UTC 117
40.42
GitHub Action Run
17 daemon-online-rewind-1 - 26795417273.17 02 Jun 2026 02:55AM UTC 334
22.88
GitHub Action Run
18 daemon-online-convo - 26795417273.18 02 Jun 2026 02:55AM UTC 334
22.62
GitHub Action Run
19 daemon-online-lifecycle - 26795417273.19 02 Jun 2026 02:55AM UTC 334
23.14
GitHub Action Run
20 web - 26795417273.20 02 Jun 2026 02:56AM UTC 238
73.83
GitHub Action Run
21 daemon-online-rpc-2 - 26795417273.21 02 Jun 2026 02:55AM UTC 334
23.88
GitHub Action Run
22 daemon-online-rpc-3 - 26795417273.22 02 Jun 2026 02:55AM UTC 334
20.18
GitHub Action Run
23 daemon-online-components - 26795417273.23 02 Jun 2026 02:55AM UTC 334
18.56
GitHub Action Run
24 daemon-online-mcp - 26795417273.24 02 Jun 2026 02:55AM UTC 334
18.93
GitHub Action Run
25 daemon-online-coordinator - 26795417273.25 02 Jun 2026 02:54AM UTC 323
7.79
GitHub Action Run
26 daemon-0-shared-handlers-workflow - 26795417273.26 02 Jun 2026 02:54AM UTC 167
62.83
GitHub Action Run
27 daemon-online-rpc-1 - 26795417273.27 02 Jun 2026 02:55AM UTC 334
19.79
GitHub Action Run
28 daemon-online-space-1 - 26795417273.28 02 Jun 2026 02:55AM UTC 334
34.06
GitHub Action Run
Source Files on build 26795417273
  • Tree
  • List 582
  • Changed 16
  • Source Changed 12
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26795417273
  • 876babb4 on github
  • Prev Build on dev (#26702555318)
  • Next Build on dev (#26796026000)
  • 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