branch_sync_guard: handle stack branches whose upstream is the parent branch
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start in scripts/lib/branch_sync_guard.sh, where the guard resolves the upstream via @{u}, and check how scripts/wait_pr_ready.sh calls it. Reproduce by creating a branch with git switch -c <branch> origin/<base> and inspecting git rev-parse --abbrev-ref @{u}. Done means the guard compares against origin/<current> when the upstream names a different branch, and prints a --no-track hint when that ref is missing. The issue does not name a test file.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
git switch -c <branch> origin/<base> sets the new branch's upstream to the parent PR's branch. scripts/lib/branch_sync_guard.sh then compares against that upstream, so wait_pr_ready.sh refuses the stack branch. An owner in the Cursor plugin stack had to run git branch --unset-upstream.
Proposed mechanism: when @{u} names a different branch than the current one and origin/<current> exists, compare against origin/<current>. Otherwise print a hint to use --no-track.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.1k
- Forks
- 139
- Merge medio
- 4 h 38 min
- PR fusionados (30 d)
- 926
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de coder/xum
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
🤖 fix: xum api exits 0 when a procedure returns success: falsePosiblemente ocupada @twotnguyen la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
coder/xum#7733 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Issues similares
-
[Bug]: t3 connect status reports "Exposure: enabled" for publish-only links without a tunnelAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
awslabs/visual-asset-management-system#1278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
mifi/lossless-cut#3213 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
plasma-umass/scalene#1123 ·
Los mantenedores suelen responder en 1 día