Skip to content

feat: add ECR repository browser#185

Closed
YoungJinJung wants to merge 1 commit intomainfrom
codex/163-ecr-repository-browser
Closed

feat: add ECR repository browser#185
YoungJinJung wants to merge 1 commit intomainfrom
codex/163-ecr-repository-browser

Conversation

@YoungJinJung
Copy link
Copy Markdown
Contributor

Summary

Add an ECR repository browser to the TUI so operators can inspect repository-level configuration from unic.

  • adds ECR to the service catalog with a Repository Browser feature
  • lists repositories with URI, scan-on-push, tag mutability, registry, ARN, and encryption summary
  • wires shared filtering, refresh, help text, and README coverage
  • adds AWS mapping and TUI entry-flow tests

Related Issues

Closes #163

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 the ECR repository browser from issue #163 so operators can inspect repository-level settings without leaving the TUI.

The implementation follows the existing service browser pattern: catalog entry, AWS repository mapping, list/detail screens, shared filtering, tests, and documentation updates.

Constraint: Issue #163 acceptance criteria require catalog integration, repository settings display, filtering, tests, and README updates
Rejected: Add image/tag browsing here | reserved for the separate stale tag/image browser scope
Confidence: high
Scope-risk: moderate
Directive: Keep image/tag workflows out of this repository-level browser unless issue #164 is being implemented
Tested: env -u GOROOT make test
Tested: env -u GOROOT make build
Related: #163
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.

Summary

This PR successfully adds an ECR repository browser feature to the TUI, enabling operators to inspect ECR repository configuration from unic. The implementation is well-structured, follows existing patterns, and includes comprehensive security validations.

Key Strengths

Security: The implementation includes robust input validation with regex patterns for AWS account IDs, regions, and registry URIs. Test coverage includes explicit validation against command injection attempts, preventing shell command injection vulnerabilities.

Code Quality: The implementation follows established patterns in the codebase, with proper error handling, consistent naming conventions, and comprehensive test coverage. The code includes both unit tests and integration-style tests with mocks.

Architecture: The feature integrates cleanly with existing TUI patterns, sharing filtering, refresh, and help text infrastructure. The ECR client is properly wired into the AWS repository pattern with interface-based design for testability.

Review Outcome

Approved for merge - No blocking issues found. The implementation meets quality standards and security requirements.


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
Copy link
Copy Markdown
Contributor Author

Superseded by #186, which uses the repository branch naming convention: feature/163-ecr-repository-browser.

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.

feat: add ECR repository browser

1 participant