Skip to content

Register and delete custom containers - proto - #892

Open
Lillian Hwang-Geddes (lvhg) wants to merge 24 commits into
mainfrom
register-delete-custom-containers
Open

Lillian Hwang-Geddes (lvhg) wants to merge 24 commits into
mainfrom
register-delete-custom-containers

Conversation

@lvhg

Copy link
Copy Markdown
Member

string organization_id = 1;

// name format will be [user inputted name]:[first 8 characters of org id]
string name = 2;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remind me why we need :[first 8 characters of org id]?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's to prevent possible collisions between custom containers and viam containers

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What kind of collision? How would such a collision come about

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The keys are name:version, so for example a collision would happen if a user had name=tf and version=2.16 since that matches one of the viam containers


// Optional. Defaults to the image tag. Registered key is "name:version".
string version = 4;
string description = 5; // will serve as display name

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I know we've already touched on this in at least one meeting, but it still seems odd to be to use description as a name. Would we run into a scenario where a user added a fairly long description, not realizing it was really a name, or will we always be masking the name of the field from them (so that they'll think they're providing the display name)? Or how will that be handled

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I see what you mean, John didn't want us to change it though since description is an existing field and changing it could cause issues. I am thinking we can add help text in the CLI to clarify things

Base automatically changed from APP-17611-list-custom-containers to main September 10, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test committer is a member of this org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants