iOS: destroy stops at a timed-out simctl shutdown, so quarantine never reaches simctl delete
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ios, typescript
- 領域
- devtools
調査の方向性
Start in src/drivers/ios/simctl.ts around line 64, where shutdown uses COMMAND_TIMEOUT_MS, then read destroy in src/drivers/ios/index.ts near lines 449-452. The retry and give-up calls are in src/core/quarantine-coordinator.ts at lines 313 and 367. The open question is whether simctl delete succeeds while a shutdown is unfinished; answer it on a real simulator before changing the code. Done means a timed-out shutdown no longer blocks the delete, or a setting exists for the shutdown timeout.
索引モデルが issue の本文から書いたものです。
説明
A simulator whose simctl shutdown keeps running past 30 s is never deleted at lease end, in quarantine or at give-up, because the iOS destroy stops at the shutdown.
src/drivers/ios/simctl.ts:64:shutdownwaits a fixedCOMMAND_TIMEOUT_MS(30 s), and throwssimctl shutdown <udid> timed out after 30000msat the limit. No setting changes it (#1563 addedios.simulator.createTimeoutMsforclone/createonly).src/drivers/ios/index.ts:449-452:destroyrunsshutdownand thensimctl delete. A shutdown that times out throws beforedeleteis tried.src/core/quarantine-coordinator.ts:313(each retry) and:367(give-up) both call thatdestroy. On a host where the shutdown keeps timing out (memory pressure, swap ~2.5 GB in #1801), each attempt spends 30 s on the shutdown and none reaches the delete. The device endsdevice.quarantine-stranded, keeping its capacity slot and its disk until an operator acts.
The record is kept, so this leaves no orphan. #1801 showed the log lines but not this end state.
Open question for the fix, to settle on a real simulator: does simctl delete remove a simulator whose shutdown has not finished? If it does, destroy can go on to the delete after a timed-out shutdown. If not, the shutdown needs a setting like createTimeoutMs.
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
-
[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 日以内に返信