Skip to content

Conversation

@billyb2
Copy link
Contributor

@billyb2 billyb2 commented Sep 12, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements image registry management commands for the Depot CLI, adding functionality to list and remove container images from the registry.

  • Defines Protocol Buffer service definitions for registry image operations with pagination support
  • Implements interactive and non-interactive image listing with multiple output formats
  • Adds batch image deletion functionality with confirmation prompts

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
proto/depot/build/v1/registry.proto Protocol Buffer definitions for RegistryService with ListImages and DeleteImage RPCs
pkg/proto/depot/build/v1/registry.pb.go Generated Go code from protobuf definitions
pkg/proto/depot/build/v1/buildv1connect/registry.connect.go Generated Connect-RPC client and server interfaces
pkg/cmd/root/root.go Registers new image command in CLI root
pkg/cmd/image/image.go Main image command with subcommands
pkg/cmd/image/list.go Image listing command with interactive table and CSV/JSON output
pkg/cmd/image/rm.go Image removal command with batch deletion support
pkg/api/rpc.go Adds registry client factory function

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

billyb2 and others added 4 commits September 12, 2025 15:50
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

RunE: func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()

projectID = helpers.ResolveProjectID(projectID)
Copy link

Choose a reason for hiding this comment

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

Bug: Missing CWD Argument Causes Compilation Error

The helpers.ResolveProjectID call in pkg/cmd/image/rm.go is missing the cwd argument. This differs from its usage in pkg/cmd/image/list.go and will cause a compilation error, preventing proper project ID resolution from local configuration.

Additional Locations (1)

Fix in Cursor Fix in Web

@billyb2
Copy link
Contributor Author

billyb2 commented Oct 24, 2025

Putting this in draft to write tests

@billyb2
Copy link
Contributor Author

billyb2 commented Oct 24, 2025

ran some manual tests, everything seems to have ran well!

@billyb2 billyb2 marked this pull request as ready for review October 24, 2025 20:49
Copy link
Member

@jacobwgillespie jacobwgillespie left a comment

Choose a reason for hiding this comment

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

:shipit:

@billyb2 billyb2 merged commit d050c75 into main Oct 27, 2025
8 checks passed
@billyb2 billyb2 deleted the billy/feat/depot-cli-img branch October 27, 2025 17:48
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.

3 participants