Merging a PR on GitHub lands the whole instance, across every repo it touched
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start by reading the webhook behavior described in the issue and the handling added for #339, then trace how instance branches are identified and exported to GitHub targets. The proposal requires remote GitHub write credentials, permissions across trackers, and a clean merge check on both PRs. Done means merging either PR lands the instance across all touched trackers while preventing conflicts from leaving a partial merge; the issue gives no file or test paths.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
An instance's work can span trackers exported to different GitHub repos, for example root to Spheroman/newgit and t3code to Spheroman/t3code. One git push opens a branch on each, but GitHub can't merge two repos' PRs together. As of #339, the webhook refuses a PR whose instance also changed a withheld tracker, and logs that newgit merge <instance> is needed.
Proposal
Merging either PR lands the whole instance:
- The webhook sees the merged PR, and the branch name identifies the instance.
- newgit.dev lands the instance's own root commits, so its pins come along and every tracker moves together. Today the withheld pins come from the first parent.
- newgit.dev exports to every target the work touched.
- The other PR's commits are now in its base branch, so GitHub marks it merged.
What it needs
- GitHub write access for newgit.dev. Today only a developer's machine pushes to GitHub. This needs a GitHub App or a token with write access to each target, stored on the remote.
- Permissions: whoever merged must maintain every tracker the instance touches.
- Conflicts: by the time GitHub reports the merge, one PR has already landed. A required status check, posted by newgit.dev on both PRs and saying whether the instance merges cleanly, can block the merge button in advance.
Why not a GitHub Action
An Action that runs gh pr merge on the sibling PR makes two merges, not one: if the second conflicts, the first has already landed. It also needs a cross-repo write token, and newgit would still see two unrelated merges.
Scope
After 0.9.0. The newgit.dev forge milestones make a PR span every tracker natively, so weigh this against how soon those land.
🤖 Generated with Claude Code
- Lenguaje dominante
- Rust
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 7 h 27 min
- PR fusionados (30 d)
- 140
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 Spheroman/newgit
-
Port allocation order within a resource is unspecifiedPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodocumentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Spheroman/newgit#59 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de Spheroman/newgit
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
docs good first issue php
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
bug(core): partial tool arguments drop existing string content during a split surrogate pairAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
0xPlaygrounds/rig#3176 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Publish memtop on crates.ioAbiertopackaging
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
SalomonAvila/memtop#23 ·
Los mantenedores suelen responder en 1 día