Console keeps offering "Return to configured kiosk" for devices already running it (bulk / Run command kiosk.enter)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- android, kotlin, react, typescript
調査の方向性
Start in web/src/data/kiosk.ts at configuredKioskState and trace how kiosk.enter payloads, configuredKioskIds(), and server-side kiosk generations determine the displayed action. Then inspect the server REST API and bulk command paths named in the report to find where configured kiosk state can be recorded and shared across browsers. Done means devices entering their configured kiosk through bulk or Run command show the correct remote action across browsers; the two additional device failures may need separate investigation.
索引モデルが issue の本文から書いたものです。
説明
Component
Server / REST API
What happened?
Version: server 0.5.0, agents 0.5.0 (also older agents), Docker install.
Steps:
- Select all devices in Devices → Run command → Exit kiosk. Devices leave kiosk.
- Select all again → Enter kiosk (bulk), same kiosk as the configuration.
- 27 commands finish DONE; 24 of those devices report kioskActive=true.
- Open any of these devices: Remote actions still shows "Return to configured kiosk"
as the primary action, as if the device were not in its configured kiosk.
Cause (web/src/data/kiosk.ts, configuredKioskState): a kiosk.enter counts as the
configured kiosk only if its id is in configuredKioskIds(), which lives in the
browser's localStorage and is written only by DeviceDetailPage
(rememberConfiguredKiosk). Bulk sends (BulkModals returnToConfiguredKiosk, Run
command) never record their ids, and another browser never sees them. The
server-side generations (kioskGeneration / kioskReturnGeneration) are only set by
the on-device return, so kioskReturnGeneration stays null for every device.
Expected: the "in configured kiosk" state should come from the server (e.g. mark
kiosk.enter as configured when its payload matches the configuration, or record it
server-side for bulk sends), not from one browser's localStorage.
Related, same rollout:
- One device rebooted, and 4 s after boot kiosk.enter returned DONE, but its state
still reports kioskActive=false (no kioskExit event after the command). - A second device now fails every command with "Unable to parse preferences proto."
(same as the earlier report: corrupted Preferences DataStore, no corruptionHandler).
Steps to reproduce
0
MDMesh version / commit
0.5.0
Environment
No response
Relevant logs
Before submitting
- I searched existing issues and this isn't a duplicate.
- I'm not reporting a security vulnerability here (those go via private disclosure, not a public issue).
- 主要言語
- Java
- スター
- 44
- フォーク
- 25
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 80
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MDMesh-app/MDMesh のほかの issue
-
enhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
MDMesh-app/MDMesh#252 ·
メンテナーはふだん 2 日以内に返信
-
Change Kiosk Titleオープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
MDMesh-app/MDMesh#253 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 3/5 半日 初心者へのやさしさ 45/100
MDMesh-app/MDMesh#205 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
MDMesh-app/MDMesh#204 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
MDMesh-app/MDMesh#199 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
MDMesh-app/MDMesh の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug devops low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
aphtech/brailleblaster#209 ·
メンテナーはふだん 1 日以内に返信