bug: PublishedResource updates leave previous sync controllers active
@adoi がすでに取り組んでいます。
2026年7月20日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
When updating a PublishedResource the manager starts a replacement without stopping the controller for the previous resource version. Both controllers then reconcile the same resources
Steps To Reproduce
- Run api syncagent with an active PR
- Update the PR (in my case spec.naming was changed, but it can be an annotation change)
- Check a new controller will start for the new resource, but the previous controller doesn't stop
- You can also create a synchronized resource again and you will see that both (or multiple) controllers will process it
Expected Behaviour
One sync controller should be active per PR. A replacement should be validated, then the existing controller drained before the replacement starts
Additional Context
I reproduced this with v0.7.0.
During my testing and implementation I checked that immediate replacement can overlap controllers. Stopping before validation can interrupt synchronization, so my approach for the solution is object key tracking with validate, drain, then start sequencing
- 主要言語
- Go
- スター
- 25
- フォーク
- 30
- 平均マージ
- 5日 18時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kcp-dev/api-syncagent のほかの issue
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
kcp-dev/api-syncagent#163 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kcp-dev/api-syncagent#161 ·
-
bug: failed sync controller prevents subsequent startup retries対応中かも @Sarthak-Shreshtha01 が 2 日前に担当しました。 オープンkind/bug
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
kcp-dev/api-syncagent#190 · コメント 1 件 ·
-
bug: dangling schema in an APIExport is neither removed nor reported対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
kcp-dev/api-syncagent#188 · コメント 1 件 ·
-
kind/feature
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
kcp-dev/api-syncagent#186 · コメント 1 件 · リアクション 1 件 ·
kcp-dev/api-syncagent の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LanternOps/breeze#8353 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
prime-radiant-inc/evener#4223 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
input.Scanner.Scan loops forever when the input reaches EOF, hanging every ConfirmAction prompt対応中かも @mlliarm が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
elastic/cloud-sdk-go#521 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-telemetry/opentelemetry-go-compile-instrumentation#1467 ·
メンテナーはふだん 3 日以内に返信