@aws-cdk/toolkit-lib: include NodejsFunction esbuild logs in ioHost notifications

Đang mở
#158 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
aws, typescript
Lĩnh vực
cloud, tooling

Hướng nghiên cứu

Bắt đầu với luồng thông báo của @aws-cdk/toolkit-lib và theo dõi cách các log bundling esbuild của NodejsFunction được phát ra. So sánh callback notify tùy chỉnh của ioHost với luồng stdout hiện tại; hoàn thành có nghĩa là các log esbuild được đưa vào các thông báo notify thay vì bypass chúng.

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

Mô tả

@aws-cdk/toolkit-lib feature-request p2
Describe the feature

When working with the new @aws-cdk/toolkit-lib and implementing a custom ioHost I'd like to have all the logs emitted by CDK included in the notifiy callback.

Right now this is not the case, and some logs like the one emitted by the esbuild bundling process are not included.

Use Case

When using the new toolkit customers can control all the notifications and apply complex filtering/workflows on them. Right now the logs emitted by the bundling are excluded from these notifications and end up directly to stdout.

Proposed Solution

No response

Other Information

No response

Acknowledgements
  • I may be able to implement this feature request
  • This feature might incur a breaking change
CDK version used

2.1000.2

Environment details (OS name and version, etc.)

N/A

Ngôn ngữ chính
TypeScript
Star
110
Fork
138
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
55

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 aws/aws-cdk-cli

Tất cả issue của aws/aws-cdk-cli

Issue tương tự

Thêm issue về TypeScript

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.