Skip to content

Conversation

@bashar-515
Copy link
Member

@bashar-515 bashar-515 commented Dec 19, 2025

ticket

This PR implements the API's we created for Viam Apps in the Go SDK. Previously, we had only included them in the typescript SDK since the Viam Apps server was written in Node. Now that we are porting the service over to Go, however, we'll need them in the Go SDK as well.

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 19, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 23, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 23, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 7, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 9, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 15, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 15, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 15, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 15, 2026

// AppBranding contains metadata relevant to Viam Apps customizations.
//
//nolint:revive // AppBranding is clearer than Content in context of Viam Apps
Copy link
Member Author

Choose a reason for hiding this comment

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

Was getting a lint error regarding the stuttering in the exported name app.AppBranding

Copy link
Member

Choose a reason for hiding this comment

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

nit: s/Content/Branding


// AppContent defines where how to retrieve a Viam Apps app from GCS.
//
//nolint:revive // AppContent is clearer than Content in context of Viam Apps
Copy link
Member Author

Choose a reason for hiding this comment

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

See above

@bashar-515 bashar-515 marked this pull request as ready for review January 15, 2026 19:05
@bashar-515 bashar-515 requested review from a team, allisonschiang and stuqdog and removed request for a team and stuqdog January 15, 2026 19:05
Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

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

a couple small things (no need to rerequest review unless you think it would be useful) but generally this looks good to me!

//nolint:revive // AppBranding is clearer than Content in context of Viam Apps
type AppBranding struct {
LogoPath string
TextCustomizations map[string]*TextOverrides
Copy link
Member

Choose a reason for hiding this comment

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

(q) curious if this has to be pointers, given that the only field is already nilable?


// AppBranding contains metadata relevant to Viam Apps customizations.
//
//nolint:revive // AppBranding is clearer than Content in context of Viam Apps
Copy link
Member

Choose a reason for hiding this comment

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

nit: s/Content/Branding

//
// ListMachineSummaries example:
//
// _, name, err := cloud.ListMachineSummaries(
Copy link
Member

Choose a reason for hiding this comment

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

what is the _ value? it looks like ListMachineSummaries only returns two values, should this instead be locationSummaries, err := ...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test This pull request is marked safe to test from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants