Skip to content

fix(#289): devices sync の到達不能 failure を pending として記録する - #292

Draft
rebuildup wants to merge 1 commit into
release-0-10-0from
289
Draft

rebuildup wants to merge 1 commit into
release-0-10-0from
289

Conversation

@rebuildup

Copy link
Copy Markdown
Owner

Refs #289

問題

devices.ts の sync は各 node に check / requireSession を実行するため、1 台でも到達不能なら全体が fail closed になる。対象が lab 用の別 machine (device-lab-win / 100.84.109.16) で停止しているだけで、自分の machine の configuration とは無関係なのに、毎時 converge が exit 1 になっていた。

変更

  • Windows converge (platforms/windows-11/converge.ps1) と POSIX converge (scripts/converge.sh) は、devices sync の失敗が「他 node への到達不能 / reject」を示す場合 error ではなく pending として記録する (終了コード 3)。
  • 構文エラーや collision など、自分の machine に起因する失敗は error のまま。
  • CI に回帰防止の check を追加。

dotfiles 側の reachability と configuration の分離は rebuildup/dotfiles で検討する (那边の issue を起票する)。

Co-Authored-By: Claude Code noreply@anthropic.com

`devices.ts` の sync は各 node に check / requireSession を実行するため、1 台でも
到達不能なら全体が fail closed になる。該当 node が lab 用の別 machine で停止して
いるだけで、自分の machine の configuration とは無関係なのに、毎時 converge が
exit 1 になっていた (実測: device-lab-win 100.84.109.16 が timeout)。

- Windows converge (`platforms/windows-11/converge.ps1`) と POSIX converge
  (`scripts/converge.sh`) は、devices sync の失敗が「他 node への到達不能 /
  reject」を示す場合 error ではなく pending として記録する (終了コード 3)。
- 構文エラーや collision など、自分の machine に起因する失敗は error のまま。
- CI に回帰防止の check を追加。

dotfiles 側の reachability と configuration の分離は rebuildup/dotfiles で
検討する。

Co-Authored-By: Claude Code <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant