Device status in the platform is often out of step
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- devops
調査の方向性
まず、デバイスエージェントの checkin 手順と、開始、停止、再起動、クラッシュに対するライフサイクル処理を追跡します。これを nr-launcher のプロセス終了時のステータス更新動作と比較し、その後 SIGTERM のケースを再現します。完了の条件は、checkin を待つのではなく、状態の変更が速やかにプラットフォームへ送信されることです。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FlowFuse/device-agent のほかの issue
-
Installer: Determine whether Node.js deployments via Chocolatey on Windows OS can be supported再び着手できるかも @ppawlowski が 31 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンneeds-triage
FlowFuse/device-agent#756 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Installer: Add support for non-default Node.js installs deployed on Windows OS with MSI再び着手できるかも @ppawlowski が 31 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンtype:feature
FlowFuse/device-agent#755 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Update Device Agent Installer flow for interactive onboarding対応中かも @knolleary が 12 日前に担当しました。 オープンtask
FlowFuse/device-agent#694 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Device Agent onboarding from scratch再び着手できるかも @knolleary が 114 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンinitiative:release-2.33
FlowFuse/device-agent#678 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Align on Hardware Provider Requirements for FlowFuse Device Agent再び着手できるかも @lbeau が 242 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンarea:customer-success area:docs needs-triage sales request
FlowFuse/device-agent#583 · コメント 9 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
FlowFuse/device-agent の issue をすべて見る
似ている issue
-
Websiteオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 91/100
TanbirRamim/open-source-radar#314 ·
メンテナーはふだん 1 日以内に返信
-
prio: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
twentyhq/twenty#28826 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
status: needs triage
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
mastra-ai/mastra#28382 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SolidGeeks/strata#21 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Yomguithereal/mnemonist#247 ·