deploy.sh sends replicated: true to every target: confirm behavior on a standalone node and with a peer down

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

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

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

評価

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

調査の方向性

Start with deploy/deploy.sh and inspect how it passes replicated: true to deploy_component and checks replicated[]. Run the two deployment scenarios named in the issue: a standalone container and a cluster with one peer stopped. Record the observed behavior, then document it in the env READMEs or gate replication per env dir; done means the chosen behavior is clear for both topologies.

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

説明

deploy/deploy.sh always sends replicated: true to deploy_component, and exits 1 when replicated[] reports a failed or errored peer. It inherited this from the engineering script; the shared script now serves any env dir, so the assumption reaches targets with other topologies.

Open questions

  • On a standalone (unclustered) node, does deploy_component accept replicated: true, and does replicated[] come back empty so the exit check passes? A review noted this is untested; another reasoned it passes.
  • When one peer is down, the contacted node has already applied the deploy and the script exits 1. That reads as the right signal (a peer missed it), but the script does not say which state each node is in.

Resolution

Run one deploy against a standalone container and one with a peer stopped, then either document the behavior in the env READMEs or gate replicated per env dir.

Review-Deferral: aab09f59d96a02fc severity=nit category=reliability

🤖 Generated by Claude Sonnet 5.5 via Claude Code; posted via @kriszyp; requested by @kriszyp.

主要言語
JavaScript
スター
0
フォーク
0
平均マージ
20時間 29分
マージ済み PR(30日)
28

環境構築

はじめの一歩

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

HarperFast/agent-memory のほかの issue

HarperFast/agent-memory の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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