iOS: a clone whose mark or swap fails is deleted once, and a delete that times out or fails is dropped silently
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ios, typescript
- 領域
- devtools
調査の方向性
The failing call is this.#simctl.invoke(["delete", udid], COMMAND_TIMEOUT_MS).catch(() => undefined) in src/drivers/ios/seeds.ts around line 249, in the provision path after a clone succeeds. Read how invoke reports timeouts and non-zero exits, and compare with deleteLateSimulator as the logging model to copy. Done when a failed or timed-out delete logs the UDID and the outcome, and a test covers the non-throwing failure path.
索引モデルが issue の本文から書いたものです。
説明
A provision whose simctl clone succeeded but whose mark write, LaunchServices drop or lineage swap then fails deletes the clone once and drops every outcome of that delete:
src/drivers/ios/seeds.ts:249:
await this.#simctl.invoke(["delete", udid], COMMAND_TIMEOUT_MS).catch(() => undefined);
invoke answers a time-out or a non-zero exit as an outcome rather than throwing, so .catch only covers a spawn failure. A delete that times out (30 s) or exits non-zero is neither retried nor logged. The clone has no registry record, so it is left as an orphan-device (deviceSet: "simlock") or, under deviceSet: "default", as an unmarked simulator that listManaged never lists and nothing deletes (the end state #1546 fixed for a late clone). The request fails, and after a second failure is rejected unresolvable-spec, with no line naming the UDID left behind.
Expected: a failed delete is at least logged with the UDID, as deleteLateSimulator does for a late clone.
Found while triaging #1801.
Written by an agent.
- 主要言語
- TypeScript
- スター
- 705
- フォーク
- 40
- 平均マージ
- 12時間 9分
- マージ済み PR(30日)
- 376
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/simlock のほかの issue
-
request:new
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
callstackincubator/simlock#1806 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/simlock#1780 · コメント 1 件 ·
メンテナーはふだん 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 日以内に返信
callstackincubator/simlock の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Update project links after the repository renames対応中かも @JonathanTSilva が今日担当しました。 オープンai-generated priority: p2 size: xs type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
JonathanTSilva/jts-website#119 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
promplate/code-review#158 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not exist対応中かも @franpts2 が今日担当しました。 オープンdocs
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 3 日以内に返信