Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Do not force me to specify a session if not opening a run

Đang mở
#1,684 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/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ệ
python
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Look at the BlueAPI endpoint handlers that require a session parameter, likely in the route definitions. Identify which plans open a run versus those that perform actions like single moves or stop all. Modify the session validation logic to only enforce session for run-opening plans. Check the linked issue #1681 for context on the specific actions.

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

Mô tả

Currently, every plan I run through BlueAPI I need to specify a session to run it under. When I'm opening a run this makes sense as it will dictate where the data will be written to etc. but it doesn't make sense for actions such as doing a single move or doing a stop all as described in https://github.com/DiamondLightSource/blueapi/issues/1681.

This should not have any auth/auth concerns as we should be doing auth based on the user's token being authorised to use the beamline, not compared to the session that they specify (which they could easily spoof)

Acceptance Criteria

  • I only need to provide a session for plans that open a run
Ngôn ngữ chính
Python
Star
13
Fork
14
Merge trung bình
5 ngày 5 giờ
Pull request đã merge (30 ngày)
9

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.