Race condition on creating a deployment PR
- Lingua principale
- Starlark
- Stelle
- 208
- Fork
- 45
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
There was a race condition observed:
precondition: deployment branch deploy/name and PR exists
a new gitops workflow run that include update to the deployment
prer in the run fetches the repo with deploy/* branches and start rendering manifests
original PR 1 merged and branch automatically deleted
prer in the run pushes the updated deployment branch and creates a new PR
As a result, the newly created branch and PR includes exact copy of the commits history from the original branch which causes a merge conflict since changes are already present in the target branch (main)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non sono indicati file o test. Inizia tracciando il workflow GitOps attraverso la sequenza descritta qui di fetch del deployment branch, rendering del manifest, push e creazione della PR, quindi riproduci la race tra il merge e l’eliminazione del branch. Il lavoro è completato quando una nuova esecuzione dopo il merge della PR originale crea un deployment branch e una PR senza riprodurre commit già presenti su main né causare un conflitto di merge.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, kubernetes
- Ambito
- ci-cd, devops, infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100