bug: PublishedResource updates leave previous sync controllers active
@adoi đang làm issue này rồi.
Từ ngày 20/7/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 25
- Fork
- 30
- Merge trung bình
- 5 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kcp-dev/api-syncagent
-
kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
kcp-dev/api-syncagent#163 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kcp-dev/api-syncagent#161 ·
-
bug: failed sync controller prevents subsequent startup retriesCó thể đã có người làm @Sarthak-Shreshtha01 đã nhận 2 ngày trước. Đang mởkind/bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
kcp-dev/api-syncagent#190 · 1 bình luận ·
-
bug: dangling schema in an APIExport is neither removed nor reportedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
kcp-dev/api-syncagent#188 · 1 bình luận ·
-
kind/feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
kcp-dev/api-syncagent#186 · 1 bình luận · 1 reaction ·
Tất cả issue của kcp-dev/api-syncagent
Issue tương tự
-
bug frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
oalders/clodhopper#133 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
peasant-labs/peasant#596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
hatchet-dev/hatchet#5179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
FairwindsOps/nova#484 ·