Skip to content

Conversation

NickPPC
Copy link
Member

@NickPPC NickPPC commented Aug 15, 2025

@github-actions github-actions bot added the safe to test committer is a member of this org label Aug 15, 2025
@NickPPC NickPPC requested review from cheukt and dgottlieb August 15, 2025 19:29
@@ -1160,6 +1160,7 @@ message LocationSummary {
message MachineSummary {
string machine_id = 1;
string machine_name = 2;
optional string main_part_dns_name = 4;
Copy link
Member

Choose a reason for hiding this comment

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

i think it makes sense to surface here, but then we should also add main_part_name here as well

Copy link
Member

@dgottlieb dgottlieb Aug 15, 2025

Choose a reason for hiding this comment

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

Does main_part_name mean the thing one would use to dial? Is main_part_dial_name perhaps better? I feel that a "name" could be anything and we want to be clear if the string is meant to plug into something specific.

Copy link
Member Author

Choose a reason for hiding this comment

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

Adding the main part name feels wrong. We could add the main part ID if needed
Or we can just add a is_main_part boolean on the PartSummary

Copy link
Member Author

Choose a reason for hiding this comment

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

@dgottlieb main_part_dns_name was intended to be the string you use to dial. We have a dns_name on the Part proto struct.
I am open to alternative names:

  • main_part_hostname
  • main_part_url
  • main_part_dial_name

Copy link
Member

Choose a reason for hiding this comment

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

with is_main_part I don't think we need to add main_part_dns_name. tho not sure how users are most likely to want this data

@NickPPC NickPPC requested a review from cheukt August 15, 2025 20:04
@NickPPC NickPPC changed the title Add DNS names to Machine and Part summaries ListMachineSummaries - Add DNS names to Part summaries Aug 15, 2025
@NickPPC NickPPC added the ready-for-protos add this when you want protos to compile on every commit label Aug 18, 2025
@NickPPC NickPPC removed the ready-for-protos add this when you want protos to compile on every commit label Aug 18, 2025
@NickPPC NickPPC merged commit ffe70d0 into main Aug 18, 2025
3 checks passed
@NickPPC NickPPC deleted the list-machine-summaries-dns-names branch August 18, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protos-compiled safe to test committer is a member of this org
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants