Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Scope Gateway Target names to their parent Gateway

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, typescript

調査の方向性

issue に記載されている CLI スキーマ、L3 synthesis、output-parser、deployment-state mapping、プロジェクトベースの Target 検証から始めます。Gateway と Target の名前がどのように論理 ID になり、legacy output がどのように Gateway に関連付けられるかを追跡します。完了の条件は、Gateway 間では重複する Target 名が機能し、1 つの Gateway 内では引き続き拒否され、両方の出力形式をパースでき、列挙されたテストが互換性をカバーしていることです。

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

説明

enhancement
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>Id and new <GatewayName>Target<TargetName>Id outputs.
  • 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-constructs for 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

aws/agentcore-cli のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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