Suspend an idle lease while preserving simulator data

Đang mở
#1,554 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ó
4/5
Thời gian dự kiến
3-5 ngày
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ệ
typescript
Lĩnh vực
infrastructure

Hướng nghiên cứu

Start by locating the lease lifecycle — where ending a lease tears down its simulator — and the provisioning path the issue says costs 40s to 3min; the referenced local suspend/resume workaround is the closest existing art. Read how running slots and capacity are tracked so a suspended lease can free its slot without losing data. Done means a lease can be suspended with its data retained, its slot released, and resumed on the client's next use when capacity allows, with tests covering the suspended-then-resumed path.

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

Ending an idle lease destroys its simulator and makes the next session pay for provisioning. In one macOS VM, a new simulator took 40 seconds to 3 minutes; our local suspend/resume workaround resumed in roughly 8–16 seconds, with apps closed. These are measurements on one setup.

Who runs into this

Operators running coding agents on a shared simulator worker.

What you would like to happen

Could a lease be suspended with its data retained and its running slot freed, then resumed when the client next uses it and capacity is available?

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.