Console: manage devices, the warm pool and settings from the console
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
- 35/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ệ
- json, typescript
Hướng nghiên cứu
Read ADR 0037, ADR 0017, ADR 0038, and docs/internal/IDEAS.md to understand the console's HTTP-only action model and the deferred design decisions. The issue identifies existing POST /v1/devices and DELETE /v1/devices/{id} routes, but items 3–5 need design decisions first; begin by clarifying which scope is approved. Done means implementing only the agreed console actions and verifying their behavior, including confirmation before irreversible actions and preventing deletion of leased devices.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem
An operator who runs a worker (or a fleet behind a gateway) has to leave the console for the CLI to manage the devices themselves. The console shows every device and can already act on leases, requests and workers (ADR 0037), but it cannot:
- enrol a USB phone, or remove an enrolled one;
- delete an idle simulator or emulator it no longer wants;
- add a virtual device of a chosen model and OS, so it exists before the first agent asks for it;
- warm a device up (boot it and keep it ready) or warm it down (shut it down), or choose which devices the warm pool keeps running;
- change any setting. Warm-pool targets, idle timeouts, emulator flags, stream and agent-device options all live in
config.jsonand change only throughsimlock config setor by editing the file. There is no settings page and no HTTP route to read or change config.
Who runs into this
A developer running one worker for their own coding agents, and an operator running a fleet. Both watch the console all day. When they want a different set of devices running (for example, "keep one Pixel 8 and one iPhone 17 warm for my agents, shut the rest down"), they have to switch to a terminal, find the right command or config key, and often restart the daemon for a warm-pool change to apply.
What you would like to happen
From the console, on a worker (and through the gateway for a fleet):
- Physical devices: enrol a connected phone and remove an enrolled one. The routes exist already (
POST /v1/devices,DELETE /v1/devices/{id}). - Delete an idle virtual device, behind a confirm, never one that is leased.
- Add a virtual device of a model and OS from the catalog.
- Warm up / warm down: boot a device and keep it ready, or shut it down; pick which devices or kinds the warm pool keeps running, without a restart.
- Settings: see the daemon's settings and change the ones that are safe to change at runtime.
Items 1 and 2 seem to fit the console's current rules (act only through HTTP routes, one action list per item, confirm what cannot be undone). Items 3 to 5 touch ideas the docs defer today (docs/internal/IDEAS.md: "changing targets without a restart", "fleet-level targets on a gateway") and need a design decision first.
Anything else
- Related: ADR 0037 (the console acts through the HTTP routes), #769 (release, cancel, drain, undrain and remove from the console), ADR 0017 and ADR 0038 (warm pool).
- Workaround today:
simlock device add|remove,simlock config set warmPool.targets …plus a daemon restart,simlock cleanup/nuke.
Written by an agent.
- 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