Reduce time taken to deploy a new snapshot
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
- 領域
- devops, infrastructure
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず snapshot のデプロイシーケンスと npm install の呼び出しを追跡し、その後、提案されている3つの戦略と、それぞれのダウンタイムおよび安全性に関するトレードオフを評価してください。完了とは、フローのダウンタイムを最小限に抑える具体的で検証済みのアプローチが得られていることを意味しますが、この issue では受け入れ基準が定義されていません。
索引モデルが issue の本文から書いたものです。
説明
When deploying a new snapshot we currently stop the existing flows, npm install the dependencies, then start the new flows.
Depending on how much work npm has to do, this can lead to prolonged downtime of the flows. We want to look at strategies for reducing this downtime to a minimum.
The npm cache work recently added is one way to skip the npm step - but that assumes you know ahead of time exactly what needs to be installed on the device and you lose some flexibility.
Other options we should consider:
- compare the new package.json with what's already there and skip the npm install step if everything appears in order. Need to assess how risky this is - we rely on npm to ensure everything is in order even though that takes a bit of time.
- look at what flags we passing to npm to minimise what its doing (production-only, skip audit etc)
- do not stop the existing flows until after npm install has completed and we're ready to run the new flows. This will require running the install in a clean directory (thereby losing some of efficiencies npm has when rerunning it in an existing dir, unless we clone node_modules first). This will need some investigation.
- 主要言語
- 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 が 28 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンneeds-triage
FlowFuse/device-agent#756 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Installer: Add support for non-default Node.js installs deployed on Windows OS with MSI再び着手できるかも @ppawlowski が 28 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンtype:feature
FlowFuse/device-agent#755 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Update Device Agent Installer flow for interactive onboarding対応中かも @knolleary が 9 日前に担当しました。 オープンtask
FlowFuse/device-agent#694 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Device Agent onboarding from scratch再び着手できるかも @knolleary が 111 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンinitiative:release-2.33
FlowFuse/device-agent#678 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Align on Hardware Provider Requirements for FlowFuse Device Agent再び着手できるかも @lbeau が 239 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンarea:customer-success area:docs needs-triage sales request
FlowFuse/device-agent#583 · コメント 9 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
FlowFuse/device-agent の issue をすべて見る
似ている issue
-
建议增加URL参数构建的工具オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
uoftblueprint/canada-basketball#67 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
Fei2411/DeepSeek-Bot#456 ·
メンテナーはふだん 1 日以内に返信
-
área:app área:produto sem-fase tipo:decisão
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
Varanda-org/varanda#91 ·
-
0️⃣ phase/new
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信