Allow seed preparation to settle widget discovery

Đang mở
#1,558 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, macos, typescript
Lĩnh vực
mobile-dev, tooling

Hướng nghiên cứu

Start by locating the seed preparation and shutdown path in the simlock sources and see how initial widget discovery is triggered and when the seed is torn down; the payload names no files, so the first read is the seed lifecycle code. Reproduce on a macOS host with several simulator clones and compare resident memory and widget extension process counts against the ~0.8 GB baseline. Done means either preparation waits for widget icon state to stabilise or an option exists to prepare a seed without default widgets, with the behaviour documented and verified on at least one other host.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

request:new
The problem

On one macOS VM, clones of an iOS simulator seed appeared to repeat initial widget discovery after the seed was shut down. They retained around 40 widget extension processes, with roughly 1.26 GB per simulator versus 0.8 GB after our local workaround. The cause has not been verified independently and these measurements are from one setup.

Who runs into this

Operators running multiple iOS simulators for coding agents on a shared worker.

What you would like to happen

Could seed preparation allow initial widget discovery to finish before shutdown, or provide a way to prepare a seed without the default widgets? Our workaround waits for the widget icon state to stop changing before shutting the seed down. It would be useful to check whether this helps on other hosts and runtimes.

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstackincubator/simlock

Tất cả issue của callstackincubator/simlock

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.