Work Intent: strip docker stats' clear-screen codes from dockerContainerStats ids
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- docker, typescript
調査の方向性
DockerStatsService.processStatsLine と既存の統計行ハンドラーから始めます。issue によると、現在のパターンは一部のエスケープシーケンスしか除去しません。docker-stats.service.spec.ts を追加し、docker stats の行をハンドラーに渡して、公開された ID を確認します。ID に画面消去シーケンスが含まれなくなり、通常の ID が変更されずに残れば完了です。
索引モデルが issue の本文から書いたものです。
説明
Overview
Fix #2131: the first container of every docker stats refresh is published with \x1B[J\x1B[H in its ID, so clients that match stats to containers by ID never get that container's stats.
Technical Approach
Widen the pattern in DockerStatsService.processStatsLine from /\x1B\[[0-9;]*[mK]/g to every CSI sequence, /\x1B\[[0-9;?]*[ -/]*[@-~]/g, and add docker-stats.service.spec.ts, which feeds docker stats lines through the real line handler and checks the published IDs. A one-line fix, separate from the socket-based rewrite in #2008, which would make it unnecessary if it lands.
Scope
- API
- Plugin
- Web UI
- Build/Deploy Process
- Documentation
Timeline & Impact
- Estimated time needed: done (one line changed, two new tests); review only.
- Potential impacts: only
processStatsLine; IDs without escape codes are unchanged.
Pre-submission Checklist
- I have searched for similar work/issues
- I understand this needs approval before starting
- I am willing to make adjustments based on feedback
- 主要言語
- TypeScript
- スター
- 123
- フォーク
- 25
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
unraid/api のほかの issue
-
Temperature metrics: lm-sensors voltages, fan speeds and power are reported as temperatures (°C)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
flash { guid } always fails: resolver no longer returns guid but the schema marks it non-nullableオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
yavorsky/unbuilt.app#65 ·
-
CVE security
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mckinsey/agents-at-scale-ark#4091 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NUS-Project-SaBai/project-sabai#386 ·
メンテナーはふだん 3 日以内に返信
-
android needs clarification
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
super-productivity/super-productivity#12105 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信