Expose native patch drift and cache recovery in desktop dev builds
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 38/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- bun, swift
- Domínio
- build-system, desktop-dev
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Swift
- Estrelas
- 0
- Forks
- 0
- Merge médio
- 31min
- PRs com merge (30d)
- 14
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de githubnext/desktop-tools
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
githubnext/desktop-tools#25 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 42/100
githubnext/desktop-tools#30 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
githubnext/desktop-tools#27 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
githubnext/desktop-tools#24 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
githubnext/desktop-tools#23 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de githubnext/desktop-tools
Issues semelhantes
-
binding:web core docs p3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
RunanywhereAI/runanywhere-sdks#1123 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
Countly/countly-sdk-ios#485 ·
Mantenedores costumam responder em até 1 dia
-
area:ui enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
s3onghyun/bulchimbeon#22 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia