iOS destroySource leaves a baseline's launchd overrides folder behind
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- mobile-dev
调研方向
阅读 src/drivers/ios/seeds.ts,尤其是 destroySource(第 197–212 行),并将其与 src/drivers/ios/index.ts(第 425 和 460 行)的 lease 清理进行比较。追踪 slimBoot.removeOverrides API,以及针对 #removeLeftover 和保存失败所提到的清理路径。完成标准是删除 source 时也会移除其 UDID overrides 文件夹;检查与这些清理路径相关的 iOS 测试。
由索引模型根据 Issue 内容生成。
描述
Found by reading the code while triaging #1731; not seen on a device.
saveSource copies the saved-from lease's launchd overrides to the baseline's UDID (src/drivers/ios/seeds.ts:172, slimBoot.copyOverrides). The folder lives under the overrides root, outside the device set (iOS manual: "the overrides folder lives outside the device set, so destroy removes it itself").
destroySource (seeds.ts:197-212) deletes the simulator (#deleteSeedSimulator, :463-466: shutdown, simctl delete) and the row, but never calls slimBoot.removeOverrides. Only lease destroy and destroyLegacy do (src/drivers/ios/index.ts:425, :460). So each destroyed slim-saved baseline leaves one <overridesRoot>/<udid> folder that nothing lists or deletes. The same holds for #removeLeftover and a failed save's cleanup (seeds.ts:182).
Expected: deleting a source removes its overrides folder too, as deleting a lease does.
Written by an agent.
- 主要语言
- TypeScript
- 星标
- 705
- 派生
- 40
- 平均合并
- 12 小时 9 分钟
- 30 天内合并 PR
- 376
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstackincubator/simlock 的其他 Issue
-
request:new
难度 2/5 1-3 小时 新手友好度 72/100
callstackincubator/simlock#1806 ·
维护者通常 1 天内回复
-
task:draft
难度 2/5 1-3 小时 新手友好度 72/100
callstackincubator/simlock#1441 ·
维护者通常 1 天内回复
-
bug:new
难度 2/5 1-3 小时 新手友好度 45/100
callstackincubator/simlock#1805 · 1 条评论 ·
维护者通常 1 天内回复
-
bug:new
难度 2/5 1-3 小时 新手友好度 45/100
callstackincubator/simlock#1804 · 1 条评论 ·
维护者通常 1 天内回复
-
bug:new
难度 4/5 3-5 天 新手友好度 30/100
callstackincubator/simlock#1803 · 1 条评论 ·
维护者通常 1 天内回复
查看 callstackincubator/simlock 的全部 Issue
相似的 Issue
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not exist可能已有人在做 @franpts2 今天认领。 未关闭docs
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
ever-co/ever-teams#5741 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
melgarafael/DeskcommCRM#5142 ·
维护者通常 1 天内回复
-
bug size:medium
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复