Full-mode iOS boot wait is fixed at 120 s: on a busy 16 GiB Mac every new full simulator fails

オープン 初心者向け
#1,248 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
ios, typescript
領域
devtools, mobile

調査の方向性

drivers/ios/index.jsから始めて、完全モードとスリムモードのシミュレーターの起動タイムアウトがどのように選択されるかをたどります。既存の設定ios.slim.bootTimeoutMsと、関連する設定テストやドキュメントを探します。完全モード用の設定可能なタイムアウトを追加し、完全モードのシミュレーターが設定値を使用できることと、デフォルトの動作が引き続きカバーされることを確認します。

索引モデルが issue の本文から書いたものです。

説明

request:new

What happened

On a 16 GiB, 10-core Mac (macOS 26.4.1, Xcode 26.6, iOS 26.5 runtime, simlock 0.5.0), every new full-mode iPhone 17 simulator failed with BootTimeoutError: Timed out waiting for device to boot for about two hours: lease requests through the gateway and the warm pool alike (warm pool target is short ... boot-failed), with 14+ devices created and deleted. A plain xcrun simctl boot + bootstatus -b of a fresh iPhone 17 on the same Mac took 241 s (load average 360 while the warm pool was booting another device at the same time).

drivers/ios/index.js waits a fixed BOOTSTATUS_TIMEOUT_MS = 120_000 for a full device; only slim devices read a setting (ios.slim.bootTimeoutMs, 10 min by default).

What I expected

A setting for full devices too, for example ios.full.bootTimeoutMs (or one ios.bootTimeoutMs for both), so a slower or busier Mac can still serve full simulators. Switching ios.defaultMode to slim worked around it for us.

Related

#1246 (admission ignores real memory pressure): on a busy host the boots are slow because of load simlock does not see.

主要言語
TypeScript
スター
535
フォーク
21
平均マージ
9時間 31分
マージ済み PR(30日)
434

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/simlock のほかの issue

callstackincubator/simlock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。