feat(services): expose effective persistence settings in canonical and doctor
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, go, redis
- 領域
- cli, devops, documentation, infrastructure
調査の方向性
canonical と doctor のエントリーポイントから始め、Redis と Valkey で永続化モードとドライバー設定がどのように表示されるかを追跡します。整合したデフォルトと、明示的に異なる設定を比較し、ストレージの存続期間への影響も含め、他のモード由来のドライバーについても同じレポートモデルを確認します。完了の条件は、canonical が宣言されたモード、実効値、そしてそれらの出所を表示し、doctor が #79 のランタイム表示や遷移ゲートを変更せずに差異を説明することです。
索引モデルが issue の本文から書いたものです。
説明
Status
The runtime defect originally reported here was fixed by #79 (7f94af0):
persistence.mode: ephemeralcreates no durable Onebox volume for every managed driver;- Redis and Valkey receive ephemeral persistence defaults;
- explicit driver settings override mode-derived server defaults exactly once;
- omitted and durable modes retain durable storage semantics;
- destructive persistence transitions remain gated.
Remaining problem
The override is effective but not visible enough. ob canonical and ob doctor do not explain when authored driver settings diverge from the persistence mode. An operator can deliberately enable AOF on ephemeral storage, for example, but Onebox does not state that the data survives a process restart and not a container recreate.
Scope
- Show the declared persistence mode and effective server persistence values with their origin in canonical output.
- Have doctor name actionable divergences between the mode and explicit driver settings.
- Document that
persistence.modeowns Onebox storage lifetime whilesettingsowns server internals and cannot create a durable Onebox volume. - Report divergence; do not refuse a deliberate override.
Acceptance
- Redis and Valkey cover mode defaults and explicit overrides in canonical output.
- Doctor distinguishes a harmless aligned setting from a divergent one and explains the operational consequence.
- Other drivers with mode-derived persistence options follow the same reporting model.
- Runtime rendering and transition gates from #79 remain unchanged.
The original measurements and design discussion remain in this issue history and in #79.
- 主要言語
- Go
- スター
- 3
- フォーク
- 0
- 平均マージ
- 2時間 44分
- マージ済み PR(30日)
- 49
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
labstack/onebox のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
labstack/onebox の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
Bob Shell support オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
santhosh-tekuri/jsonschema#276 ·