github / github/app

Automations don't work with Jujutsu VCS changes

Aperta
#1,367 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Bugs
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Short summary

Automations fail to run because my repo uses JJ for version control which puts the underlying Git repo in a Detached HEAD state

### Affected version or release

v1.0.6

### Installation context

_No response_

### What happened?

When automations get triggered, the following error message is surfaced:
`Branch workflow cannot start from a detached HEAD. Check out the branch you want this workflow to run on, then run it again.`

### Steps to reproduce

1. Initialize JJ in a Git repo
2. Create a new JJ change
3. Create an automation on that repo

### Expected behavior

The automation is able to run successfully

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the issue using the listed steps: initialize Jujutsu in a Git repository, create a JJ change, and trigger an automation. Start from the detached-HEAD error path and verify how automation startup handles JJ-managed repositories. Done means the automation runs successfully instead of reporting that the workflow cannot start from a detached HEAD.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git
Ambito
developer-experience
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.