Devices on one worker cannot be tagged by the network they can reach
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
- 36/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
- backend
Hướng nghiên cứu
Start by tracing how enrolled devices and virtual device pools are represented, how leases match device properties, and where --physical and --class are handled. The issue does not name files or tests, so first map those entry points and read the related issues #1541 and #1181 for context. Done means operators can tag individual devices and pools, and a lease requiring a tag only matches devices carrying it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem
The closed network and the open one are not always two machines. One Mac runs the emulators that can reach the bank network, and the real phones that cannot are enrolled on that same Mac. Those phones are the wrong place for a closed-network test even when they are plugged in, trusted and free.
A capability on the worker applies to every device that worker owns. --physical separates emulators from phones, which happens to match this farm today. It stops matching the day a phone is plugged into the closed-network machine, or an emulator is started on a machine outside it. --class is the form factor reported by the platform catalog (phone, tablet, watch, tv, and the rest), not a property the operator sets.
Who runs into this
The same farm, when both populations sit on one worker. An agent asks for an Android phone and can be given either an emulator that can run the closed-network test or a physical phone that cannot. The agent has no way to say which population it needs.
What you would like to happen
An enrolled device, and a virtual device pool, can carry tags the operator sets. A lease can require a tag and is granted only a device that has it. A device without the tag is not a match, even when its model, OS and class are. One worker can then serve both populations.
Anything else
The phones in this farm are outside the bank network. The emulators are the ones that can run inside it. On simlock 0.5.0 those phones are not separated from the emulators by anything except --physical.
Related, and not the same request:
- #1541 asks for operator-defined capabilities on a whole worker. That does not split two populations on one machine.
- #1181 asks for a worker that leases physical Android devices only and never boots an emulator. That is the opposite split, and it is still a switch for the whole worker.
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