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

オープン
#158 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
aws, typescript
領域
cloud, tooling

調査の方向性

@aws-cdk/toolkit-lib の通知パスから始め、NodejsFunction の esbuild バンドリングログがどのように出力されるかを追跡します。カスタムの ioHost notify コールバックと現在の stdout パスを比較します。完了条件は、esbuild のログがバイパスされるのではなく notify 通知に含まれることです。

索引モデルが issue の本文から書いたものです。

説明

@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

主要言語
TypeScript
スター
110
フォーク
138
平均マージ
1日 9時間
マージ済み PR(30日)
55

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/aws-cdk-cli のほかの issue

aws/aws-cdk-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。