Scope Gateway Target names to their parent Gateway
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- aws, typescript
- 領域
- cli, infrastructure
調査の方向性
issue に記載されている CLI スキーマ、L3 synthesis、output-parser、deployment-state mapping、プロジェクトベースの Target 検証から始めます。Gateway と Target の名前がどのように論理 ID になり、legacy output がどのように Gateway に関連付けられるかを追跡します。完了の条件は、Gateway 間では重複する Target 名が機能し、1 つの Gateway 内では引き続き拒否され、両方の出力形式をパースでき、列挙されたテストが互換性をカバーしていることです。
索引モデルが issue の本文から書いたものです。
説明
Description
Gateway Target names should be unique within their parent Gateway, matching the
AgentCore service contract, rather than unique across an entire CLI project.
Today the CLI effectively requires project-global Target names because the L3
construct emits Target outputs using only the Target name:
GatewayTarget<TargetName>Id
The old CLI's CloudFormation output parser also expects that format. As a result,
two Gateways cannot both have a naturally named Target such as search, even
though the service permits it.
Change the L3 output contract to include the parent Gateway:
<GatewayName>Target<TargetName>Id
The CLI should enforce uniqueness only inside each Gateway. During the
transition, the old CLI output parser should accept both the existing
Target-only format and the new Gateway-qualified format so existing deployed
stacks continue to work.
This was intentionally deferred from aws/agentcore-cli#2028 to keep that PR
compatible with the currently published L3 output contract.
Acceptance Criteria
- Two different Gateways in one project can each contain a Target with the same name.
- Duplicate Target names within one Gateway are still rejected.
- L3 Target output logical IDs and export names include both Gateway and Target names.
- The old CLI CloudFormation output parser accepts both legacy
GatewayTarget<TargetName>Idand new<GatewayName>Target<TargetName>Idoutputs. - Output parsing associates each Target ID with the correct parent Gateway when names are duplicated.
- Existing projects and stacks using legacy output names continue to deploy and update.
- CLI schema, command, L3 synthesis, output-parser, and deployment-state tests cover cross-Gateway duplicate names.
- The project-based refactor removes its temporary project-global Target-name validation after the compatible L3 version is published.
Additional Context
This requires coordinated changes in:
aws/agentcore-l3-cdk-constructsfor Gateway-qualified outputs;- the old CLI output parser and deployment-state mapping;
- the project-based refactor's Target uniqueness validation.
- 主要言語
- TypeScript
- スター
- 291
- フォーク
- 96
- 平均マージ
- 20時間 50分
- マージ済み PR(30日)
- 214
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/agentcore-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
aws/agentcore-cli#2395 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
aws/agentcore-cli#2392 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/agentcore-cli#2267 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2258 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2176 ·
aws/agentcore-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
receptron/mulmoterminal#2264 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#96 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
simonsobs/tileviewer#114 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100