nomos status --poll-until: follow-ups after #2242
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, kubernetes
- Lĩnh vực
- cli, documentation, testing
Hướng nghiên cứu
Start with the nomos status --poll-until implementation and its pollUntilReached unit tests; the issue also names TestNomosStatusPollUntil and the checkConflict constant as entry points. Work through the correctness and cluster failure cases first, then the UX, tests, and design doc checklist. Done means the listed follow-ups are implemented, covered by tests, and the help text and design doc are updated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Checklist
- I did not find a related open enhancement request.
- I understand that enhancement requests filed in the GitHub repository are by default low priority.
- If this request is time-sensitive, I have submitted a corresponding issue with GCP support.
Describe the feature
Follow-up to #2242 (which fixes #2006). These items were deferred to keep the 1.26 change minimal.
Correctness
- Treat a RootSync/RepoSync whose
status.observedGeneration!=metadata.generationas not synced. Right after a spec change, the previous SYNCED status can be reported briefly. -
current: treatConflictresources likeFailed, using a constant shared withcheckConflict. -
current: when resource status is disabled (spec.override.statusMode: disabled, which annotates the ResourceGroup withconfigsync.gke.io/status: disabled), fail fast with an error that points to--poll-until=synced. Checkresourcegroup.IsStatusDisabled(rg)before the ResourceGroup freshness check below. These ResourceGroups have noresourceStatusesand keepstatus.observedGenerationat 0, so todaycurrentpasses as soon as the sync is SYNCED, and the freshness check alone would make it poll forever. (Raised by @Camila-B.) -
current: skip resource checks while the ResourceGroup'sstatus.observedGeneration!=metadata.generation. - Check clusters in sorted order and report all failures with
errors.Join, instead of returning on the first one.
Clusters that can never complete
- Fail fast on mono-repo clusters (
ErrMonoRepoFound). - Fail fast on, or retry, clusters that were unreachable at startup. Their clients are never re-created, and
--contextsdefaults to all contexts. - Decide how to handle clusters without Config Sync installed. Today they keep polling until the external timeout.
UX, tests, docs
- Don't run
clearbetween polls when stdout isn't a terminal, so CI logs stay clean. - Merge the
pollUntilReachedunit tests into one table-driven test. - Extend
TestNomosStatusPollUntilto cover aFailedresource. - Update the
--pollhelp text: "If neither --poll nor --poll-until is set, the command runs only once." - Rename the design doc to "Poll until status is current", and document the status lag right after a push or spec change.
Importance
No response
- Ngôn ngữ chính
- Go
- Star
- 279
- Fork
- 59
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 GoogleContainerTools/config-sync
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
GoogleContainerTools/config-sync#2090 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
GoogleContainerTools/config-sync#2031 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
GoogleContainerTools/config-sync#2026 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
GoogleContainerTools/config-sync#2025 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature Request: Separate metrics for management vs. resource conflicts and use gauge aggregationĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
GoogleContainerTools/config-sync#2024 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GoogleContainerTools/config-sync
Issue tương tự
-
Project submission: CodeAFĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#888 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement nav-pilot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(gmail): make gmail get --format raw text output the exact message, like drafts get --format rawĐang mởclawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openclaw/gogcli#1276 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Seed a JRNYAx price before the last close so asset-detail S1.3 doesn't fail from 08:00Z to the openĐang mởbug tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
lognorman20/monaco#7231 ·