Slim: turn a slim feature on for a leased simulator when a tool first needs it

Đang mở
#2,106 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/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, typescript

Hướng nghiên cứu

Start by reading ADR 0066, issue #2100, and the referenced simslim v0.14.0 live.go path to understand the existing feature activation approaches. The issue leaves open whether to lift a service override live or restart the leased simulator, with tradeoffs around incomplete service discovery and lost app sessions. Done means defining and implementing a reliable first-command activation and retry flow.

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

Mô tả

platform:ios request:new

The problem

#2100 lets a slim iOS lease name the slim features it needs (--needs push,contacts), and Simlock writes them on before the simulator boots. A suite still has to know its needs up front. A tool that drives the simulator (agent-device) knows when a command needs a service: importing a contact, setting a location, sending a push, opening the photo picker.

Proposal

The "better still" part of #1688, left out of #2100: on the first command that needs a slim feature, the tool asks Simlock to turn it on for the leased simulator, then retries. Suites would declare nothing, and only what they use would ever run.

What is known

ADR 0066 tried turning services on in a running simulator (launchctl enable and bootstrap through simctl spawn) on iOS 26.4 and rejected it: launchd could not find 10 of the 26 services that way (they ship under another plist name or are XPC services started on demand), and the steps run inside the simulator, where heavy load has cut them short before (#206). simslim v0.14.0's live.go reads each plist's Label and lifts the override alone for the rest; that path is untested here. Restarting the leased simulator with the feature written on would work, but ends every app and session inside it.

Written by an agent.

Ngôn ngữ chính
TypeScript
Star
730
Fork
44
Merge trung bình
15 giờ 44 phút
Pull request đã merge (30 ngày)
378

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.