Blueapi device name is different to actual device name

Đang mở
#1,700 2 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
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

The payload names no files or tests. Start by finding where blueapi builds its internal device lookup and where it sets device names for run engine documents and logging, then compare them with how ophyd-async names child devices (parent-child-x). Read the linked dodal issue 2216 and blueapi PR 1697 for context. Done means the server looks devices up by their true name and the documents and logs use the same name.

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

Mô tả

under-discussion

Related to https://github.com/DiamondLightSource/dodal/issues/2216 and https://github.com/DiamondLightSource/blueapi/pull/1697.

Devices in ophyd-async and dodal have device names like so parent-child-x. However, blueapi uses an internal name lookup equivalent of parent.child.x. This causes issues where the device blueapi uses to lookup on the server, run engine documents, and device logging are all different to each other. Blueapi also keeps track of two separate naming conventions, complicating the code where we shouldn't need to.

Blueapi should unify the device name to lookup on the server and should actually use the true name of the device. This will also be helpful if issue https://github.com/DiamondLightSource/blueapi/issues/1671 is fixed first because then blueapi will know about all child devices up front.

Acceptance Criteria

  • Blueapi device lookup uses the true device name.
Ngôn ngữ chính
Python
Star
14
Fork
14
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 DiamondLightSource/blueapi

Tất cả issue của DiamondLightSource/blueapi

Issue tương tự

Thêm issue về Python

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.