Fix pathless relative-command negative case in upstream live E2E

Đang mở Phù hợp với người mới
#455 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes
Lĩnh vực
testing

Hướng nghiên cứu

Đọc trường hợp pathless-relative trong integration-tests/live-v2/upstream.py và hợp đồng khởi chạy được mô tả trong issue. Thiết lập trường hợp để tiến trình ban đầu phân giải một tệp thực thi tương đối, sau đó chạy bộ E2E trực tiếp của upstream được mô tả trong integration-tests/live-v2/README.md. Hoàn tất khi trường hợp bị từ chối với RuntimePATHRequired, trong khi các kiểm thử độc lập cho lệnh tuyệt đối và Exec tương đối vẫn đạt.

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

Mô tả

Problem

The ARM64 upstream live E2E run at 7d250894c792f4cce91de89ca80787a5ef079ad6 failed because pathless-relative started instead of returning RuntimePATHRequired. The case in integration-tests/live-v2/upstream.py changes only Pod args to ["native", "--probe"]; its application's launch.json still declares the absolute command /app/bin/native. The current launch contract keeps process.command when only Pod args are provided, so the absolute program starts as specified.

The separate relative Exec negative case passed before this point. This is a test-contract mismatch observed during qualification of #451, not evidence of an unpinned or unauthorized start.

Expected

Make the initial-process negative case actually resolve a relative executable without runtime PATH (for example by setting Pod command to native and supplying the probe args). Verify the intended RuntimePATHRequired rejection and retain the independent absolute-command and relative-Exec coverage. Run the upstream live E2E suite described in integration-tests/live-v2/README.md.

Ngôn ngữ chính
Go
Star
60
Fork
2
Merge trung bình
6 giờ 41 phút
Pull request đã merge (30 ngày)
67

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

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 microsoft/brewlet

Tất cả issue của microsoft/brewlet

Issue tương tự

Thêm issue về Go

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.