Add /kuvel admin command for server registration visibility, edits, and repair#62
Draft
Copilot wants to merge 3 commits intodevelop/v3from
Draft
Add /kuvel admin command for server registration visibility, edits, and repair#62Copilot wants to merge 3 commits intodevelop/v3from
/kuvel admin command for server registration visibility, edits, and repair#62Copilot wants to merge 3 commits intodevelop/v3from
Conversation
Co-authored-by: matsu1213 <85377530+matsu1213@users.noreply.github.com>
Co-authored-by: matsu1213 <85377530+matsu1213@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add /kuvel command for server registration status
Add Feb 26, 2026
/kuvel admin command for server registration visibility, edits, and repair
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
この変更は、Velocity 上でサーバー登録状態を運用者が直接確認・修正できるようにするため、
/kuvel管理コマンドを追加するものです。登録状態の可視化に加え、手動登録/解除・名前変更・整合性修復をコマンド経由で実行できるようにしています。
Command entrypoint
Kuvel初期化時に/kuvelを登録KuvelCommandを追加(SimpleCommand実装、kuvel.command権限)Operational subcommands
status: リーダー状態、pod/load balancer のマッピング数、不足登録数を表示list <pods|loadbalancers>: UID → server name マッピング一覧を表示register <podUid> <serverName>: Pod の手動登録unregister <podUid>: Pod の手動解除setname <podUid> <serverName>: 既存 Pod の登録名変更repair: 欠落登録の再試行と壊れたマッピングのクリーンアップConflict/edge-case handling
setnameの no-op(同名再設定)を明示的に扱うbooleanで判定できるようにし、失敗時の誤判定を回避Core API adjustment (minimal)
KuvelServiceHandler#registerPod(String podUid, String serverName)をboolean戻り値化し、コマンド側の成否判定に利用Documentation
README.md/README-JP.mdに/kuvelコマンド一覧と用途を追記Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
repo.papermc.io/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/Kuvel/Kuvel org.codehaus.plexus.classworlds.launcher.Launcher -B package(dns block)/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.12/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.12/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.12 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.12/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/Kuvel/Kuvel org.codehaus.plexus.classworlds.launcher.Launcher -f pom.xml -B -V -e -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip -Dmaven.javadoc.skip(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.