[FEATURE] Harness Get/Update RPCs and optimistic-concurrency preconditions for configuration writes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with the HarnessService protobuf and its Agent and AgentTemplate RPC counterparts, then trace update and delete handling through kubecrud and the generated Go and TypeScript clients. The issue describes the required behavior, but the work spans API definitions, authorization, Kubernetes concurrency, error mapping, and client generation. Done means Buf lint, generation, and compatibility checks pass, with stale updates and deletes returning ABORTED and no-version requests retaining their behavior.
索引モデルが issue の本文から書いたものです。
説明
Feature summary
Add GetHarness and UpdateHarness to HarnessService, and make configuration writes honor Kubernetes optimistic-concurrency preconditions.
Problem
HarnessServiceexposes List, Create and Delete. API clients cannot read one Harness or change it in place, unlike Agents and AgentTemplates.- Update RPCs read the current object and overwrite its spec, ignoring the caller's
metadata.resourceVersion. Two editors silently overwrite each other. kubecrudmaps an update conflict toINTERNAL, so clients cannot tell a lost race from a server failure.- Delete reads the object and then deletes it by name. A delete-and-recreate between the two calls removes the new object, and callers cannot supply the version they reviewed.
Proposed implementation
GetHarnessandUpdateHarness, following the Agent and AgentTemplate RPC shapes and authorization.- Updates keep server-owned metadata and apply the caller's
resourceVersionwhen present. - Optional
resource_versiononDeleteAgentRequest,DeleteAgentTemplateRequestandDeleteHarnessRequest; delete is fenced by the object's UID and that version. - Conflicts map to
ABORTEDand missing objects toNOT_FOUNDon update and delete.
All protobuf changes are additive.
Acceptance
- A stale update or delete returns
ABORTED; an older request never deletes a recreated object. - Requests without a version keep their current behavior.
- Harness Get/Update use the existing authorization and validation path.
- Buf lint, generation and compatibility checks pass.
Alternatives
Clients delete and recreate Harnesses, and retry on INTERNAL. This replaces the object and cannot distinguish conflicts.
Affected services
Controller gRPC API, generated Go and TypeScript clients.
Contribution
I have an implementation in a downstream fork and can submit it once the shape is agreed. Prepared with Codex and Claude Code assistance.
- 主要言語
- Go
- スター
- 4.5k
- フォーク
- 937
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 150
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kagent-dev/kagent のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kagent-dev/kagent#3792 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kagent-dev/kagent#3790 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
kagent-dev/kagent#3789 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] A2A lookups by task or context ID reveal whether another user's resource exists対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
kagent-dev/kagent#3787 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Python memory summarization fails for Gemini models: the request has no model name対応中かも @BahaaMattar が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kagent-dev/kagent#3710 ·
メンテナーはふだん 1 日以内に返信
kagent-dev/kagent の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
limitlessprojects/Go-Hybrid#4764 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: lint fails on main, generated CLI docs out of date対応中かも @bupd が今日担当しました。 オープンbug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
goharbor/harbor-cli#1180 ·
メンテナーはふだん 1 日以内に返信
-
crane: mutate --env adds duplicate PATH on Windows images when key case differs対応中かも @aad1tyaaaaa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/go-containerregistry#2523 ·
メンテナーはふだん 4 日以内に返信
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
cloudfoundry/bosh-deployment-resource#138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100