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

Awareness of Developer Mode within Node-RED

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
devtools

調査の方向性

この issue では、ファイル、テスト、エントリポイントが指定されていません。まず、デバイスエージェントで Developer Mode がどのように表現および変更されるか、また Node-RED フローからランタイム状態にアクセスする方法を特定します。エージェントの再起動を必要とせず、フローから確認できる信頼性の高い表示を提供し、モード間の変更をカバーできれば完了です。

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

説明

area:remote-instance customer request type:feature
Description

From https://discourse.nodered.org/t/feature-request-self-awareness-of-developer-mode/93147

I'd like my flows to be self-aware of whether it's in Developer Mode or not, specifically so the tests we run can log whether this is the case.

Is there a way to determine this? I'd like to think I could pull a boolean of this from an environmental variable or something, but I can't find anything on this online.

This comes from me wanting to have better awareness of which devices are running in developer mode, as accessed by our production database, not the flowfuse UI. In each 'test' that our NR flows perform, it would be nice to be able to have a flag for whether it is in developer mode or not. We could then do alerting on this and analytics on how many of our tests were done in developer mode and over what time frame, etc. The flowfuse UI only gives a current snapshot, not historical.

This could also allow me to make sure certain flows stop at a certain point if in developer mode, further guarding from running production processes in developer mode accidentally


@knolleary says: An Env Var would be handy, but this would require restarting NR each time it comes in/out of developer mode - something we don't do today, and would potentially be disruptive to existing workflows.

Requested By
主要言語
JavaScript
スター
20
フォーク
10
平均マージ
3日 5時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

FlowFuse/device-agent のほかの issue

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

似ている issue

JavaScript の issue をもっと見る

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

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