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

lsm / neokai / 25473520211
81%

Build:
DEFAULT BRANCH: dev
Ran 07 May 2026 02:58AM UTC
Jobs 28
Files 509
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

07 May 2026 02:57AM UTC coverage: 82.517% (+0.03%) from 82.484%
25473520211

push

github

web-flow
fix(daemon,web): refresh model cache on Gemini OAuth account changes (#1813)

* fix(daemon,web): refresh model cache on Gemini OAuth account changes

Daemon:
- Clear models cache after Gemini OAuth account add/remove/reauth in
  auth-handlers.ts so provider availability is re-evaluated on the next
  models.list call.
- Add empty-cache fallback in session-handlers.ts models.list: if the
  cached model list is empty and useCache is true, force a refresh
  before returning so newly-available providers are discovered.

Web:
- Dispatch gemini-accounts-changed window event from
  GeminiAccountsPanel after successful account add/remove.
- Listen for the event in useModelSwitcher to reload the model list
  without requiring a page refresh or session switch.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(daemon): restore FALLBACK_MODELS on refreshModels when cache is empty

After clearModelsCache(), refreshModels() previously left the cache
permanently empty when no providers returned models. Now it restores
FALLBACK_MODELS so the UI and model resolution paths always have a
baseline catalog.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(daemon): correct cached flag and add unit tests for models.list fallback

- Track whether the empty-cache fallback refresh was triggered so the
  `cached` response flag is `false` when data comes from a fallback
  refresh rather than the actual cache.
- Add dedicated unit tests for the `models.list` handler verifying:
  1. Fallback refresh fires when cache is empty and useCache=true
  2. cached=false when fallback fires
  3. Fallback does NOT fire when forceRefresh is already true
  4. Fallback does NOT fire when useCache=false
  5. Empty response when cache stays empty after refresh

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(daemon): invalidate in-flight background refreshes on cache clear

Add a monotonic `cacheGeneration` counter to prevent stale background
refreshes fr... (continued)

8198 of 11342 branches covered (72.28%)

Branch coverage included in aggregate %.

61 of 70 new or added lines in 5 files covered. (87.14%)

1 existing line in 1 file now uncovered.

63230 of 75220 relevant lines covered (84.06%)

287.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
96.86
7.93% packages/daemon/src/lib/model-service.ts
3
44.74
0.04% packages/daemon/src/lib/rpc-handlers/session-handlers.ts

Coverage Regressions

Lines Coverage ∆ File
1
78.74
-0.6% packages/web/src/components/MessageInput.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-mcp - 25473520211.1 07 May 2026 02:58AM UTC 276
18.07
GitHub Action Run
2 daemon-5-space-agent - 25473520211.2 07 May 2026 02:58AM UTC 160
28.21
GitHub Action Run
3 daemon-online-rpc-2 - 25473520211.3 07 May 2026 02:59AM UTC 276
23.42
GitHub Action Run
4 daemon-0-shared - 25473520211.4 07 May 2026 02:58AM UTC 28
83.75
GitHub Action Run
5 daemon-online-features-2 - 25473520211.5 07 May 2026 02:59AM UTC 276
22.5
GitHub Action Run
6 daemon-online-space-1 - 25473520211.6 07 May 2026 02:59AM UTC 276
31.79
GitHub Action Run
7 daemon-online-websocket - 25473520211.7 07 May 2026 02:58AM UTC 276
17.74
GitHub Action Run
8 daemon-5-space-workflow - 25473520211.8 07 May 2026 02:58AM UTC 106
30.42
GitHub Action Run
9 daemon-4-space-storage - 25473520211.9 07 May 2026 02:59AM UTC 122
50.65
GitHub Action Run
10 daemon-online-convo - 25473520211.10 07 May 2026 02:59AM UTC 276
21.95
GitHub Action Run
11 daemon-5-space-other - 25473520211.11 07 May 2026 02:58AM UTC 125
30.55
GitHub Action Run
12 daemon-1-core - 25473520211.12 07 May 2026 02:59AM UTC 282
39.25
GitHub Action Run
13 daemon-5-space-runtime - 25473520211.13 07 May 2026 02:58AM UTC 146
39.15
GitHub Action Run
14 daemon-online-git - 25473520211.14 07 May 2026 02:59AM UTC 276
23.41
GitHub Action Run
15 daemon-online-components - 25473520211.15 07 May 2026 02:58AM UTC 276
17.61
GitHub Action Run
16 daemon-online-rewind-1 - 25473520211.16 07 May 2026 02:59AM UTC 276
22.27
GitHub Action Run
17 daemon-online-rpc-4 - 25473520211.17 07 May 2026 02:59AM UTC 276
23.16
GitHub Action Run
18 web - 25473520211.18 07 May 2026 02:59AM UTC 222
77.15
GitHub Action Run
19 daemon-online-agent-sdk - 25473520211.19 07 May 2026 02:59AM UTC 276
22.07
GitHub Action Run
20 daemon-online-rpc-1 - 25473520211.20 07 May 2026 02:59AM UTC 276
19.13
GitHub Action Run
21 daemon-online-coordinator - 25473520211.21 07 May 2026 02:58AM UTC 276
7.3
GitHub Action Run
22 daemon-online-features-1 - 25473520211.22 07 May 2026 02:59AM UTC 276
22.85
GitHub Action Run
23 daemon-online-space-2 - 25473520211.23 07 May 2026 03:00AM UTC 276
31.95
GitHub Action Run
24 daemon-online-rewind-2 - 25473520211.24 07 May 2026 02:59AM UTC 276
22.83
GitHub Action Run
25 daemon-online-rpc-3 - 25473520211.25 07 May 2026 02:59AM UTC 276
19.65
GitHub Action Run
26 daemon-online-sdk - 25473520211.26 07 May 2026 02:59AM UTC 276
21.96
GitHub Action Run
27 daemon-2-handlers - 25473520211.27 07 May 2026 02:58AM UTC 123
57.25
GitHub Action Run
28 daemon-online-lifecycle - 25473520211.28 07 May 2026 02:59AM UTC 276
22.53
GitHub Action Run
Source Files on build 25473520211
  • Tree
  • List 509
  • 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 #25473520211
  • 45f88a96 on github
  • Prev Build on dev (#25473190811)
  • Next Build on dev (#25478119736)
  • 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