Expose native patch drift and cache recovery in desktop dev builds
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- bun, swift
- Ambito
- build-system, desktop-dev
Direzione di ricerca
Start with the wrapper path in apps/desktop/scripts/build.ts, then sparkle.ts and helper.ts, where the 'differs from every pinned patch prefix' error is raised. Run bun scripts/build.ts dev --run from apps/desktop to see the unfiltered Electrobun error. Done when the underlying failure reaches the root command, and the drift message includes the apps/desktop/native/.build path and non-destructive recovery steps without resetting the checkout.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Observed
On main at 39191bb, bun desktop dev exits with Electrobun code 1. Bun workspace-filter output elides the underlying diagnostic and repeatedly redraws the task header, leaving only the wrapper stack in sparkle.ts / build.ts.
Read-only inspection of the failing checkout found the pinned Peekaboo HEAD (4d43dc9d80cd2aa3787a27f54b76d692db1dcf8f) with native patch drift. Replaying the build verifier with a temporary private Git index found that none of the 15 accepted states (unpatched through the complete 14-patch stack) matches the cached working tree. helper.ts consequently rejects it with: The native checkout differs from every pinned patch prefix. Resolve source drift before building. Bun 1.4.0 and Swift 6.4 meet the build requirements. No full rebuild or cache mutation was performed during diagnosis.
Needed
- Keep the underlying build failure visible through the root desktop command rather than hiding it behind filtered output.
- Include the offending cache path and actionable, non-destructive recovery instructions in the drift diagnostic.
- Preserve unknown native edits; do not automatically reset or delete a mismatched checkout.
Recovery is to move apps/desktop/native/.build aside as a backup and rebuild, causing SwiftPM to recreate the pinned dependencies and Ace to apply the current patches. Invoke bun scripts/build.ts dev --run from apps/desktop to bypass the root workspace-filter elision.
Found in Ace while investigating a user-reported development-loop failure. Related: githubnext/ace2#55. Dogfooding: githubnext/ace2#5.
- Lingua principale
- Swift
- Stelle
- 0
- Fork
- 0
- Merge medio
- 15m
- PR unite (30g)
- 94
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: 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 githubnext/desktop-tools
-
ace documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
githubnext/desktop-tools#104 ·
I maintainer di solito rispondono entro 1 giorno
-
Agent task coverage auditApertadocumentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
githubnext/desktop-tools#75 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
githubnext/desktop-tools#42 · 29 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
githubnext/desktop-tools#27 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
githubnext/desktop-tools#24 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/desktop-tools
Issue simili
-
cmux-next: new workspaces show no name instead of workspace-NForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea: workspaces
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
manaflow-ai/cmux#21357 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 70/100
open-spaced-repetition/awesome-fsrs#81 ·
I maintainer di solito rispondono entro 2 giorni
-
agent/quality help wanted origin/quality quality stage/010-actionable testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
hivecommons/hotshot#227 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno