(cli/core): concurrent asset builds for ILocalBundling.tryBundle()
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- build-system, cli
調査の方向性
まず PR #983 と、--asset-build-concurrency は Docker ベースのビルドにのみ適用されるという注記を確認します。synthesis 中に ILocalBundling.tryBundle() がどのように呼び出されるかを追跡し、それを CLI のワークグラフと比較します。この issue では、aws-cdk-lib と CLI の両方が関係する可能性があると記載されています。完了の条件は、ローカルアセットビルドを並行実行するための、maintainer に承認されたアプローチが得られることです。
索引モデルが issue の本文から書いたものです。
説明
Describe the feature
In this PR https://github.com/aws/aws-cdk-cli/pull/983 - were introduced concurrent asset builds for Docker builds, but we need the same for local
comment from previous PR
You're right that --asset-build-concurrency only applies to Docker-based asset builds in the CLI's work graph, not to ILocalBundling.
Deferring local bundling to the work graph is a very appealing idea. However, ILocalBundling.tryBundle() is called synchronously during synthesis inside the CDK app process, which is a completely separate phase from the CLI's work graph execution. This would require changes on both the framework side (aws-cdk-lib) and the CLI side, which is a significant architectural change beyond the scope of this PR.
It might be worth opening a separate feature request issue for that so the maintainers can weigh in on the approach. In the meantime, a note in the documentation clarifying that this flag applies to Docker-based builds only could also help avoid confusion.
Use Case
I have 1xxx of golang lambdas builded localy - I would like to use the same --asset-build-concurrency 4 flag for these local builds
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
v2.1109.0
Environment details (OS name and version, etc.)
Fedora 44
- 主要言語
- TypeScript
- スター
- 110
- フォーク
- 138
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 55
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/aws-cdk-cli のほかの issue
-
aws-cdk bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/aws-cdk-cli#2179 ·
メンテナーはふだん 1 日以内に返信
-
(cli): deploy waits forever when an AWS API call gets no response, because requestTimeout only logs a warning対応中かも @abhiramshaji-cyber が 27 日前に担当しました。 オープンaws-cdk bug p2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/aws-cdk-cli#2097 ·
メンテナーはふだん 1 日以内に返信
-
(bootstrap) FilePublishingRoleDefaultPolicy permission incorrect when FileAssetsBucketKmsKeyId is an ARN value対応中かも @lemon0333 が 95 日前に担当しました。 オープンbug p2
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
aws/aws-cdk-cli#921 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
(garbage-collection): cdk gc takes hours on a large bootstrap bucket対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
aws/aws-cdk-cli#2165 ·
メンテナーはふだん 1 日以内に返信
-
(cli): cdk flags --set always reports no template differences before applying flags対応中かも @go-to-k が 9 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
aws/aws-cdk-cli#2153 ·
メンテナーはふだん 1 日以内に返信
aws/aws-cdk-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
volcengine/OpenViking#8432 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
jupyterlab/eslint-plugin#178 · コメント 2 件 ·
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightly-labs/openbot#16303 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100