Skip to content

feat: add ECR image and stale tag browser#187

Merged
YoungJinJung merged 1 commit intofeature/163-ecr-repository-browserfrom
feature/164-ecr-image-tag-browser
Apr 26, 2026
Merged

feat: add ECR image and stale tag browser#187
YoungJinJung merged 1 commit intofeature/163-ecr-repository-browserfrom
feature/164-ecr-image-tag-browser

Conversation

@YoungJinJung
Copy link
Copy Markdown
Contributor

Summary

Add an ECR image/tag browser on top of the ECR repository browser from #163.

  • selecting an ECR repository now loads image/tag metadata
  • image rows show tags, digest, pushed time, size, and cleanup signals for untagged or stale images
  • image detail supports clipboard-friendly digest/tag copy actions
  • README and docs now describe the expanded ECR flow

Related Issues

Closes #164

Stacking

This PR is based on feature/163-ecr-repository-browser because #164 depends on the repository browser introduced in #186. After #186 lands, this branch can be rebased onto main if needed.

Validation

  • env -u GOROOT make test
  • env -u GOROOT make build

Checklist

  • Scope is focused
  • Branch name follows docs/branch-naming-harness.md
  • Documentation harness reviewed (docs/documentation-harness.md)
  • README updated if user-facing behavior changed
  • Relevant docs/ pages updated if architecture, auth, config, or workflow changed
  • Tests/validation included
  • Breaking changes documented

No breaking changes.

Add repository drill-down into ECR image and tag metadata so operators can inspect digest, pushed time, image size, and cleanup signals from the TUI.

- map DescribeImages output into a UI-facing ECRImage model

- add image list/detail navigation, filtering, and clipboard copy actions

- cover AWS mapping and Bubble Tea navigation with tests

Constraint: Issue #164 extends the ECR repository browser from #163, so this branch is stacked on feature/163-ecr-repository-browser.

Rejected: Add destructive cleanup actions | issue scope only asks to identify candidates, not delete images.

Confidence: high

Scope-risk: moderate

Directive: Do not wire deletion here without the repository's type-to-confirm workflow.

Tested: env -u GOROOT make test

Tested: env -u GOROOT make build

Related: #164
Copy link
Copy Markdown
Contributor

@amazon-q-developer amazon-q-developer Bot left a comment

Choose a reason for hiding this comment

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

Review Summary

This PR successfully adds ECR image and tag browser functionality on top of the existing ECR repository browser. The implementation is well-structured with comprehensive test coverage and follows existing codebase patterns.

Key Additions:

  • New ListECRImages API with pagination support
  • ECRImage model with stale detection (90-day threshold)
  • Image list and detail screens with filtering
  • Clipboard integration for digest/tag copying
  • Complete test coverage for new functionality

Code Quality:

  • Proper input validation and injection prevention (verified by tests)
  • Error handling follows established patterns
  • Consistent sorting and filtering behavior
  • Security-conscious implementation

No blocking issues found. The code is production-ready.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@YoungJinJung YoungJinJung merged commit 6b67984 into feature/163-ecr-repository-browser Apr 26, 2026
1 check passed
@YoungJinJung YoungJinJung deleted the feature/164-ecr-image-tag-browser branch April 26, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant