Expose native patch drift and cache recovery in desktop dev builds
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- bun, swift
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Swift
- 星标
- 0
- 派生
- 0
- 平均合并
- 31 分钟
- 30 天内合并 PR
- 14
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/desktop-tools 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
githubnext/desktop-tools#25 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
githubnext/desktop-tools#30 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
githubnext/desktop-tools#27 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 8/100
githubnext/desktop-tools#24 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
githubnext/desktop-tools#23 ·
维护者通常 1 天内回复
查看 githubnext/desktop-tools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
[BUG] File transcription skips audio chunks shorter than one second可能已有人在做 @sabbah13 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
altic-dev/FluidVoice#1161 ·
维护者通常 1 天内回复
-
swift.md: `Date(myString, strategy: .iso8601)` example omits `try` — the initializer is throwing未关闭
难度 1/5 1 小时以内 新手友好度 88/100
-
bug core p3
难度 2/5 1-3 小时 新手友好度 70/100
RunanywhereAI/runanywhere-sdks#1083 ·
维护者通常 5 天内回复
-
bug/fix needs: triage
难度 2/5 1-3 小时 新手友好度 70/100
capawesome-team/capacitor-firebase#1054 ·
维护者通常 1 天内回复