Skip to content

chore: remove dead tag command#1273

Merged
notgitika merged 1 commit into
aws:mainfrom
notgitika:chore/remove-dead-tag-command
May 15, 2026
Merged

chore: remove dead tag command#1273
notgitika merged 1 commit into
aws:mainfrom
notgitika:chore/remove-dead-tag-command

Conversation

@notgitika
Copy link
Copy Markdown
Contributor

Summary

  • Removes the fully-implemented but never-wired src/cli/commands/tag/ directory (action.ts, types.ts, tests)
  • The tag command (add/remove/list/set-default) was built but the decision was made to manage tags directly via agentcore.json config instead of dedicated CLI commands
  • 437 lines of unreachable code deleted

Test plan

  • tsc --noEmit passes with no errors
  • Verified no imports reference commands/tag/ anywhere in the codebase

The tag command (add/remove/list/set-default) was fully implemented
but never wired into the CLI. Tags are managed directly via
agentcore.json config, making this code unreachable.
@notgitika notgitika requested a review from a team May 15, 2026 19:10
@github-actions github-actions Bot added the size/m PR size: M label May 15, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.13.1.tgz

How to install

npm install https://github.com/aws/agentcore-cli/releases/download/pr-1273-tarball/aws-agentcore-0.13.1.tgz

Copy link
Copy Markdown

@agentcore-cli-automation agentcore-cli-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Clean delete-only change. Verified:

  • No remaining references to commands/tag/, tag/action, tag/types, or the exported functions (addTag, removeTag, listTags, setDefaultTag, removeDefaultTag) anywhere under src/, docs/, or integ-tests/.
  • The CLI wiring (command.tsx + index.ts) was already removed back in the revert PR #612; action.ts/types.ts/the test were re-introduced by PR #643 but never re-wired, so they have been orphaned ever since. This PR finishes that cleanup.
  • No telemetry / mocking concerns since this is purely deletion of unreachable code.

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label May 15, 2026
@notgitika notgitika merged commit 10294f1 into aws:main May 15, 2026
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants