Checkpoint on another branch: should `merge` and `git push` follow it, and commits left on the instance branch
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
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- git, rust
- Ambito
- developer-experience, tooling
Direzione di ricerca
Read issue #284 and trace how checkpoint, newgit merge, and git push interact when the workspace is on a branch other than the instance branch. The issue does not name files or tests, so first locate the checkpoint and merge/push code and their existing tests. Decide the expected behavior for each open case, add coverage for merge and push from another branch, and verify how commits left on the instance branch are handled.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
#284 (for #259) makes a checkpoint save the workspace's checked-out branch as it stands, record which branch it was, and move the instance's branch only when the workspace is on it. Left open:
newgit mergefrom another branch. Merge goes through the same checkpoint, so with the workspace ontry-xit mergestry-x(with a warning). Merging an experiment intomainis hard to take back. Should merge refuse instead, unlike checkpoint?git pushto a newgit remote from another branch. The checkpoint's sync is what gets pushed, sogit push origin basewhile ontry-xpublishestry-x's state as the instance's work, with a warning. That's surprising for an explicitpush origin base.- Commits on the instance branch made before switching away. If an agent commits on
baseand then switches totry-xbefore checkpointing, the store'sbasedoesn't get those commits until the workspace is back onbaseand checkpoints again. Should checkpoint fetch the workspace'sbasetoo when it's on another branch? - Not covered by tests: merge and push while on another branch.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Merge medio
- 7h 15m
- PR unite (30g)
- 87
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 Spheroman/newgit
-
Port allocation order within a resource is unspecifiedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Spheroman/newgit#59 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
Spheroman/newgit#289 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Symlinks: a render writes through a link, a check-then-use race, and a bad link blocking checkoutAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Spheroman/newgit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
calcit-lang/caps#16 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
penso/herdr-gpui#934 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Y-ASLant/ElegantClipboard#178 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
linxiv-dev/linXiv#384 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
priority middle
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
KATO-Hiro/AtCoderClans#12945 ·
I maintainer di solito rispondono entro 1 giorno