SetPower duration_s is accepted but dropped — "on for N hours" never auto-turns-off
まだ誰も着手していません。
評価
調査の方向性
Read crates/api/src/control.rs:211-218 and crates/podd-core/src/frozen/manager.rs:288-289 to trace how duration_s reaches handle_command, then inspect the Frozen frame and bus.rs:48-50 snapshot field. Decide whether sessions should auto-expire or be documented as schedule-bound; done means the chosen behavior is implemented consistently and seconds_remaining reflects it if timed expiry is supported.
索引モデルが issue の本文から書いたものです。
説明
PoddControl::set_power sends duration_s = 43200 for on / 0 for off (crates/api/src/control.rs:211-218), but handle_command explicitly ignores it: the comment at crates/podd-core/src/frozen/manager.rs:288-289 says "duration_s is not yet honored" and the Frozen frame only carries enabled+temp. So a side turned on stays on until the config schedule flips it (or forever if outside any window), rather than expiring after the session length. seconds_remaining in the snapshot is likewise always 0 (bus.rs:48-50). Either honor the duration with a timed auto-off or document that sessions are schedule-bound only.
Filed from a repo-wide code audit (working tree at bcad746).
- 主要言語
- Rust
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GoogleBot42/podd のほかの issue
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
GoogleBot42/podd#63 ·
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
GoogleBot42/podd#62 ·
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
GoogleBot42/podd#60 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
GoogleBot42/podd#61 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
GoogleBot42/podd#58 ·
GoogleBot42/podd の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rubys/roundhouse#1917 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
pop-os/cosmic-applets#1619 ·
メンテナーはふだん 3 日以内に返信
-
binding:python bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信