Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Device status in the platform is often out of step

オープン
#231 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
devops

調査の方向性

まず、デバイスエージェントの checkin 手順と、開始、停止、再起動、クラッシュに対するライフサイクル処理を追跡します。これを nr-launcher のプロセス終了時のステータス更新動作と比較し、その後 SIGTERM のケースを再現します。完了の条件は、checkin を待つのではなく、状態の変更が速やかにプラットフォームへ送信されることです。

索引モデルが issue の本文から書いたものです。

説明

needs-triage size:XS
Current Behavior

Device status changes are not immediately transmitted to FF upon occurrence. For example, when device agent is SIGTERM'd the status is left shown as "running" on the platform.

e.g. In nr-launcher, when the process exits, we immediately get updated status however the device agent does not have the same tight integration and requires the agent checkin procedure to update the platform

Background

Somewhat related to https://github.com/FlowFuse/device-agent/issues/230 once the device agents launcher and nr-launcher have better parity on audit logging, we will see discrepancies between status and the audit log. For example, the device status will show "running" but the audit log will show "crashed" or "stopped"

Expected Behavior

Device Agent would ideally call checkin when state changes, especially upon start, stop, restart & crash to provide more accurate state info to the platform

Steps To Reproduce

run device agent, kill device agent, see state as "running"

Environment
  • FlowFuse version: 2.x
主要言語
JavaScript
スター
20
フォーク
10
平均マージ
17時間 37分
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FlowFuse/device-agent のほかの issue

FlowFuse/device-agent の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。