Noisy Blueapi Client

Đang mở
#1,814 3 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 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/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-api-design

Hướng nghiên cứu

Start by tracing how the Python client handles OIDCConfig.well_known_url and reports server/client version mismatches when connecting and during later operations. Reproduce the repeated warnings using the client against a beamline or a suitable local setup. Done when each connection error is shown once and subsequent client interactions do not repeat it.

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

Mô tả

bug ready
Description

The current iteration of the blueapi client is quite noisy with respect to the OIDCConfig.well_known_url, see it's output in a local python environment, and in the evolving console on the new webUI.

For bonus points, the "Blueapi server and client version mismatch" also occurs repeatedly (if you have a mismatch).

image
Steps to reproduce
  1. Use the blueapi client to connect to a beamline (such as p48)
  2. Use the client (move motors, run plans, get devices, etc.)
  3. See repeated warnings
Logs and tracebacks

blueapi version

blueapi, version 1.21.1

Where are you running blueapi?

Beamline deployment (Kubernetes/Helm)

Impact on operations

Minor or cosmetic

Acceptance criteria

If an error needs to be shown, it is shown once on connection, and not repeatedly as the user interacts.

Ngôn ngữ chính
Python
Star
14
Fork
15
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
35

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.