[GUI] Monitor: the Conversation cache card shows no parked conversations or memory for a native model
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python, typescript
- 領域
- desktop, observability
調査の方向性
apps/host/src/lib/native-monitor.ts と apps/host/src/screens/Monitor.tsx を読み、nativeMonitorData() と apps/host/server/monitor-dashboard.mjs のマッピングを比較します。ネイティブモデルを読み込んだ状態で、インスタンスの GET /metrics にある conversation_cache フィールドと Monitor カードを比較します。カードにネイティブメトリクスから取得した、待機中の会話、予算に対するメモリ使用量、待機と復元の回数が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Area:[GUI] (the desktop app)
Desktop app, Terminal or source?:Desktop app (Windows)
Reproduction status:Reproduced locally
Strata version: Strata 0.2.5 · engine 0.1.50
Graphics card, memory and system:RTX3070 16GB MOD · 80 GB RAM · Windows 11
Model, size and settings:Qwen3.8-Flash-Next IQ3_S · 256K context · one GPU · no --parallel
What happened
Problem: In the desktop app's Monitor, the "Conversation cache" card never shows the
"Parked conversations" and "Their memory (RAM)" bars, or the "Parked / restored" row, while a
native model is loaded. The card only shows the two lines it computes from the request list
("7 of 11 requests reused prompt tokens", "Follow-up requests can reuse the previous prompt's
cached tokens"). So it looks as if the conversation cache holds nothing in RAM.
Expected: the parked conversations, their RAM against the budget, and the parks/restores,
the same as the card shows when the dashboard comes from the server's /metrics
(apps/host/server/monitor-dashboard.mjs).
Evidence that the engine does park (from the attached screenshot): in "Recent requests" a
373-token request with Reused 0 (22:39:16) is followed by a 16,477-token request with
Reused 16,446 (22:40:06), and a 373-token request with Reused 0 (22:41:33) is followed by a
52,989-token request with Reused 51,339 (22:54:58). No --parallel, so there are no batch slots.
Suspected cause (unconfirmed static analysis: I read the code, I did not debug it):
- apps/host/src/screens/Monitor.tsx: with native instances the screen uses
nativeMonitorData(native, ...) instead of the stored monitor state. - apps/host/src/lib/native-monitor.ts, nativeMonitorData(): it maps live, engine, requests,
totals and hardware from the instance's /metrics, but notconversation_cache. The returned
MonitorState has noconversationCache, socache?.enabledin Monitor.tsx is undefined and
the bars and the parked/restored row are not rendered. - The server does send it: serve/server.py metrics() returns "conversation_cache"
(conversation_cache_view: enabled, slots, parked, bytes, budget_mib, parks, restores, ...),
and apps/host/server/monitor-dashboard.mjs maps it to conversationCache for the other path. - main has the same native-monitor.ts (no "conversation" in it) as of 2026-10-26.
What would verify it: with a native model loaded, compare GET /metrics on the instance's port
(conversation_cache.parked / bytes / enabled) with what the Monitor card shows.
Related, but not the same: #596 (the card), #3033 (stale numbers after a refused park),
#3039 (double-counted parks), #4076 (other blank Monitor tiles on Windows).
Smallest steps
- Desktop app on Windows, load Qwen3.8-Flash-Next IQ3_S (native model, one GPU, no --parallel).
- Send a long chat (tens of thousands of tokens), then a short unrelated request, then continue the long chat.
- Open Monitor and look at the Conversation cache card.
- 主要言語
- C++
- スター
- 11.6k
- フォーク
- 1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Niko1221/Strata のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信
Niko1221/Strata の issue をすべて見る
似ている issue
-
bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
chipsalliance/verible#2644 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
grafana/pyroscope-dotnet#470 ·
メンテナーはふだん 1 日以内に返信
-
documentation P5 XS
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
open-astro/AlpacaBridge#1848 ·
メンテナーはふだん 1 日以内に返信
-
DiskANN AnnIterator returns unconverted IP distances after the graph walk runs out of candidatesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
zilliztech/knowhere#1933 ·
メンテナーはふだん 1 日以内に返信