LM: no reaction when activation_result Allocate() fails

Đang mở
#926 0 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
35/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ệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

The failure path sits in score/launch_manager/src/daemon/src/control/control_provider.hpp around lines 209-215, where the Allocate() error is only logged and returned. Read how the State Manager is notified elsewhere in the daemon and how the mw::com AoU CheckForAllocationError is meant to be honored, then see how the error would reach the state machine. Done means the State Manager receives the failure and a safe state is entered, verified in tests; the work depends on the context in #923.

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

Mô tả

control_provider.hpp only logs and returns; the State Manager never gets the result and no safe state is entered (mw::com AoU CheckForAllocationError). See #923.
https://github.com/eclipse-score/lifecycle/blob/b7cd5f7c33177bf7a28b17196bc5efc5d2ea6da3/score/launch_manager/src/daemon/src/control/control_provider.hpp#L209-L215

Ngôn ngữ chính
C++
Star
7
Fork
37
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
106

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.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 eclipse-score/lifecycle

Tất cả issue của eclipse-score/lifecycle

Issue tương tự

Thêm issue về C++

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.