iOS seed is shut down right after bootstatus, so every clone repeats iOS's first-boot work
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start with src/drivers/ios/index.ts and read #makeSeed, #bootAndWait, and #shutdown to trace the seed lifecycle; related issue #1202 may provide context. The issue suggests waiting for the simulator to settle, but leaves the completion signal or configurable delay to decide. Done when seed creation preserves the first-boot work so later clones avoid repeating the reported load spike.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
Every fresh lease of an iPhone Duo simulator (iOS 27.3) spent about 5 minutes in iOS first-boot work
after the clone booted. Poster extensions, BackgroundShortcutRunner, CommCenter and other first-boot
daemons were running, and the host load average reached 200-400 (Apple silicon, 16 GB).
During that window:
- opening Safari took 35-55 s;
- the first XCUITest snapshot exceeded a 90 s client timeout.
What you expected
A clone of a ready seed should boot into a settled system.
How to reproduce
- Let simlock make a new iOS seed for a model.
- Lease that model and watch the host load for the first minutes after boot.
- Lease it again: every new lease repeats the spike.
Environment
simlock 0.7.0 (main at ee19e97 has the same code), macOS 27.3 arm64, Xcode 27.3, iOS 27.3 runtime.
Logs and evidence
src/drivers/ios/index.ts #makeSeed runs #bootAndWait (bootstatus) and then #shutdown straight
away. bootstatus returns before iOS finishes its first-boot work, so the seed never stores that work, and
each clone does it again.
The workaround we measured:
- Boot the seed once in the sources set.
- Wait about 8 minutes, until host load is back near idle (about 2.5).
- Launch and quit Safari once.
- Shut the seed down. It grew from 2.0 to 2.6 GB.
Cold leases from that seed:
- opening Safari took 8.6-16.6 s;
- the first snapshot took 3.9-8.75 s;
- later snapshots took under 1 s;
- the first-boot spike was gone.
Suggestion: let the seed settle before #shutdown. Settled could mean simulator CPU low for a while, or
a configurable delay such as drivers.ios.seedSettleMs. It costs minutes once per seed rather than once
per lease. Related: #1202.
- Ngôn ngữ chính
- TypeScript
- Star
- 705
- Fork
- 40
- Merge trung bình
- 12 giờ 9 phút
- Pull request đã merge (30 ngày)
- 376
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstackincubator/simlock
-
request:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstackincubator/simlock#1806 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
callstackincubator/simlock#1780 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
task:draft
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstackincubator/simlock#1441 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
callstackincubator/simlock#1805 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
callstackincubator/simlock#1804 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstackincubator/simlock
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Update project links after the repository renamesCó thể đã có người làm @JonathanTSilva đã nhận hôm nay. Đang mởai-generated priority: p2 size: xs type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
JonathanTSilva/jts-website#119 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
promplate/code-review#158 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not existCó thể đã có người làm @franpts2 đã nhận hôm nay. Đang mởdocs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 3 ngày