[BUG] Chart registers kagent-tool-server with a short service name that Substrate 0.6 sandboxes cannot resolve
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 52/100
調査の方向性
Read helm/kagent/templates/toolserver-kagent.yaml and compare its URL with toolserver-api.yaml, which the issue says uses the authority helper pattern. Check how the chart derives the cluster domain and render the chart with tools enabled. Done means the rendered tool server URL is fully qualified and respects the configurable cluster domain so sandboxed Substrate workloads can resolve it.
索引モデルが issue の本文から書いたものです。
説明
Bug description
The chart registers the built-in tool server with a short service name:
# helm/kagent/templates/toolserver-kagent.yaml
spec:
url: "http://{{ $toolsFullname }}.{{ $toolsNamespace }}:8084/mcp"
which renders to http://kagent-tools.kagent:8084/mcp. Agents running on Substrate 0.6 (the version kagent alpha17 pins) cannot resolve that name, so every tool call to the built-in server fails:
lookup kagent-tools.kagent ... no such host
Substrate 0.6 enforces DNS for sandboxed workloads, and only fully qualified names resolve. The same template's sibling, toolserver-api.yaml, already uses kagent.controllerServiceAuthority.
Steps to reproduce
- Install kagent v1.0.0-alpha17 with
kagent-tools.enabled: trueand Substrate v0.6.0-alpha3. - Ask an agent that binds
kagent-tool-serverto list namespaces.
Expected
The tool call succeeds.
Actual
The MCP call fails with the DNS error above. The workaround is a post-renderer that rewrites the URL to http://kagent-tools.kagent.svc.cluster.local:8084/mcp, after which tools work.
Suggested fix
Render the fully qualified name, {{ $toolsFullname }}.{{ $toolsNamespace }}.svc.{{ clusterDomain | default "cluster.local" }}, or reuse the authority helper pattern from toolserver-api.yaml.
Environment
kagent v1.0.0-alpha17 (Helm), Substrate v0.6.0-alpha3.
- 主要言語
- Go
- スター
- 4.2k
- フォーク
- 890
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 189
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kagent-dev/kagent のほかの issue
-
skills-init: commit-SHA skill refs never start (git checkout -- <sha> reads the SHA as a pathspec)対応中かも @talcoh2x が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
kagent-dev/kagent#3571 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Gemini catalogs omit gemini-4-argon and gemini-3.8-flash対応中かも @jayunit100 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
kagent-dev/kagent#3524 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Don't add the provider's public host to egress when a ModelConfig sets baseUrl対応中かも @lakshyab20 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
kagent-dev/kagent#3507 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] OpenAI and Ollama adapters send an empty tool message when a tool returns a dict対応中かも @helloxjade が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kagent-dev/kagent#3462 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
kagent-dev/kagent#3428 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
kagent-dev/kagent の issue をすべて見る
似ている issue
-
bug raised-by:desk
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
medici-finance/assay#6102 ·
メンテナーはふだん 1 日以内に返信
-
hive size:simple
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
akleizor/ccmorph#456 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
radius-project/radius#13744 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
mvanhorn/printing-press-library#2460 ·
メンテナーはふだん 1 日以内に返信