Skip to content

fix: デプロイ前にkamal-proxyを最新版に更新#161

Merged
machida merged 1 commit intomainfrom
fix/kamal-proxy-reboot
Mar 31, 2026
Merged

fix: デプロイ前にkamal-proxyを最新版に更新#161
machida merged 1 commit intomainfrom
fix/kamal-proxy-reboot

Conversation

@machida
Copy link
Copy Markdown
Owner

@machida machida commented Mar 31, 2026

概要

kamal-proxy が v0.9.0 と古く、v0.9.2 以上が必要なためデプロイが失敗していた問題を修正。

原因

ERROR: kamal-proxy version v0.9.0 is too old,
run `kamal proxy reboot` in order to update to at least v0.9.2

対応

デプロイステップの直前に kamal proxy reboot -y を実行するステップを追加。

注意

proxy の更新が完了したら、このステップは削除して問題ありません(毎回実行すると brief outage が発生するため)。

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • デプロイメント実行時のプロセス制御を更新しました。

kamal-proxy v0.9.0が古くv0.9.2以上が必要なためデプロイが失敗していた。
デプロイステップ前にproxy rebootを実行して解消する。
proxy更新後は本ステップを削除してよい。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@machida machida merged commit cbbc9d7 into main Mar 31, 2026
1 check passed
@machida machida deleted the fix/kamal-proxy-reboot branch March 31, 2026 15:34
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d5545643-077e-4609-a494-5a5217552ca6

📥 Commits

Reviewing files that changed from the base of the PR and between b0dd7ff and 42a640e.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

GitHub Actions の CI ワークフローに、Kamal デプロイロック解放と kamal deploy 実行の間に kamal proxy reboot -y ステップが追加されました。デプロイメント前に kamal-proxy コンポーネントの再起動を実施します。

Changes

Cohort / File(s) Summary
CI Workflow Deployment Step
.github/workflows/ci.yml
kamal deploy 実行前に kamal proxy reboot -y を実行するステップを追加。デプロイメント実行時に proxy コンポーネントの再起動を確保。

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🚀 ロックを外して、プロキシを再起動

🔄 新しいデプロイの準備ばっちり

✨ CI パイプライン、スムーズに流れる

🎯 三行の変更で、安定を手に入れた

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/kamal-proxy-reboot

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

Comment @coderabbitai help to get the list of available commands and usage tips.

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