A lease cannot require an operator-defined capability, so a closed network cannot be selected like a runner tag
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
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start by reading the existing requires handling from issue #513, then trace worker configuration and capability reporting, gateway lease placement, the simlock lease CLI, and the MCP lease schema. Check how CAPABILITY_MISSING is returned when no worker matches. Done means operators can declare custom worker capabilities and leases can require them through the gateway, CLI, and MCP tool.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem
I keep Android emulators on a machine that can reach a bank's closed network, and real phones on a machine that cannot. A test of that network has to land on the first kind of host. Nothing in a lease says which network the worker is on.
lease.request already accepts requires, and a gateway places the lease only on a worker whose status lists each name as available. The names that exist are the four modules Simlock ships: agent-device, input, stream and tunnel. A name I add under capabilities in the worker config is ignored. I cannot declare bank-contour and require it.
--physical, --class and the worker's display label do not carry this. The label is not a routing key.
Who runs into this
A device farm with one Simlock worker inside a closed corporate network and another outside it. Coding agents and CI jobs lease through the same gateway. Today someone has to point each job at the right daemon. A normal lease can be granted on the worker that cannot reach the network under test, and the test then fails for a reason that looks like an app bug.
What you would like to happen
An operator can declare named capabilities on a worker, the way a CI runner has tags. A lease can require one or more of those names and is placed only on a worker that advertises them as available. If none does, the lease fails with the existing CAPABILITY_MISSING instead of being granted on the wrong network.
simlock lease and the MCP lease tool can pass that requirement. Today requires is not a CLI flag, and the MCP lease schema omits it.
Anything else
Seen on simlock 0.5.0, a local worker. Its reported capabilities are agent-device, input, stream and tunnel, all off.
Related, and not the same request:
- #513 added
requiresfor the built-in modules. Its out-of-scope note says no CLI flag and no MCP parameter. - #945 notes that a fleet operator cannot pin a request to a worker or select by label, and that
labelis display-only.
This is not a request to route on the display label. The label is a name. The missing thing is an operator-defined capability that means "this worker is inside the closed network".
A second gap, tags on individual devices of one worker, is filed separately.
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