nomos status --poll-until: follow-ups after #2242
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes
- Ambito
- cli, documentation, testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Go
- Stelle
- 279
- Fork
- 59
- Merge medio
- 1g 23h
- PR unite (30g)
- 12
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GoogleContainerTools/config-sync
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GoogleContainerTools/config-sync#2090 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
GoogleContainerTools/config-sync#2031 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
GoogleContainerTools/config-sync#2026 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
GoogleContainerTools/config-sync#2025 ·
I maintainer di solito rispondono entro 1 giorno
-
Feature Request: Separate metrics for management vs. resource conflicts and use gauge aggregationApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GoogleContainerTools/config-sync#2024 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di GoogleContainerTools/config-sync
Issue simili
-
bug: microcks test get swallows test failure details and operation results in text output modeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
microcks/microcks-cli#608 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug from-studio
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
esengine/DeepSeek-Reasonix#14868 ·
I maintainer di solito rispondono entro 1 giorno
-
Install notes print "Camunda REST API: https://" without a host when global.host is setForse già presa @irisfield l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
camunda/camunda-platform-helm#7790 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: zot exits with code 0 when it can't startForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
project-zot/zot#4636 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
keyxmakerx/Chronicle#1911 ·
I maintainer di solito rispondono entro 1 giorno