Discussion: expose structured agent-log sink loss diagnostics
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start in apps/node-services/src/agent/observability/agent-log-file-sink.ts, where the dropped and failed counters are closure-private, and in apps/node-services/src/agent/main.ts, where the flush/close boolean is discarded on shutdown. Diagnostics reads from apps/desktop/src/main/diagnostics.ts. This is a discussion: the first step is for maintainers to confirm a real consumer and its contract. Done means that decision is recorded, not that code is written.
索引モデルが issue の本文から書いたものです。
説明
The agent file-backed log sink already handles bounded failures and emits agent_log.file_loss warnings (worker_unavailable, write_failed, buffer_full, drain_timeout). Its dropped/failed counters are closure-private, and the production shutdown path discards the flush/close boolean. Diagnostics currently selects .json/.log, not .ndjson. Warnings may still be visible in collected logs; the gap considered here is a structured loss summary, not missing logging.
Would maintainers want that summary exposed through an existing diagnostics read path? I would first like to confirm the real consumer and its contract. I would not add an unused accessor, change /readyz to not-ready for observability loss, introduce new persistence or OTLP/SDK plumbing, or change redaction.
This does not take over #490's model failure-reason work or #492/WHI-768's diagnostics collection. If the existing warning is sufficient, no code change is needed.
Evidence: sink, shutdown, diagnostics.
AI-assisted code-review proposal. No new-feature reproduction or user-facing defect claim. The earlier local baseline exercised the existing log pipeline only; it does not validate this proposed feature.
- 主要言語
- TypeScript
- スター
- 3.8k
- フォーク
- 360
- 平均マージ
- 8時間 10分
- マージ済み PR(30日)
- 540
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simplexai-labs/linger のほかの issue
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
simplexai-labs/linger#904 ·
メンテナーはふだん 1 日以内に返信
-
Local model JIT load waits ~22 s for a concurrency probe that always ends unmeasured and is never cached対応中かも @oldwinter53 が今日担当しました。 オープンbug
simplexai-labs/linger#896 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
simplexai-labs/linger#888 ·
メンテナーはふだん 1 日以内に返信
-
Hand-patches to the protected runtime are silently discarded on upgrade, with no supported overrideオープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
simplexai-labs/linger#883 ·
メンテナーはふだん 1 日以内に返信
-
Daily memory report silently never runs: 5-minute step ceiling plus a stuck in-memory #scheduled setオープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
simplexai-labs/linger#881 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
simplexai-labs/linger の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
danielmiessler/LifeOS#3028 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
Koenkk/zigbee2mqtt#33855 ·
メンテナーはふだん 1 日以内に返信