Skip to content

APP-16894: Add min_viam_server_version to registry item protos#877

Merged
Julie Krasnick (jckras) merged 6 commits into
mainfrom
minServerCompat
Jul 10, 2026
Merged

APP-16894: Add min_viam_server_version to registry item protos#877
Julie Krasnick (jckras) merged 6 commits into
mainfrom
minServerCompat

Conversation

@jckras

@jckras Julie Krasnick (jckras) commented Jul 9, 2026

Copy link
Copy Markdown
Member

(https://viam.atlassian.net/browse/APP-16894) - This PR adds an optional min_viam_server_version string (semver, ex "0.62.0") to the registry-item API surface.

  • ModuleMetadata: the module’s current value. This is what GetRegistryItem returns for a module. The registry page displays it from here, and the machine-config search banner (which I will be adding) will compare against it when you’re adding a module (new adds default to latest, so the current value is the right one to check).

  • ModuleVersion: the frozen per-version value. ModuleMetadata contains a list of these. One per published version. Since each version freezes the value at publish time, the module card banner (which I will be adding) will read the specific configured version’s value from here.

  • UpdateModuleMetadata: how the value gets set. When a module owner edits their module on the registry page, the frontend sends an UpdateRegistryItemRequest, and module-specific edits travel inside this message. Adding the field here gives the registry page a way to write it.

Additive and non-breaking. No changes to module APIs (UpdateModuleRequest, VersionHistory, etc.) the CLI is untouched.

This app PR (APP-16895) is built against this branch so we can more easily test these api changes.

@github-actions github-actions Bot added the safe to test committer is a member of this org label Jul 9, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jckras Julie Krasnick (jckras) added the ready-for-protos add this when you want protos to compile on every commit label Jul 9, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jckras

Copy link
Copy Markdown
Member Author

succesfully tested these api changes. see the pr description in this APP pr for proof: https://github.com/viamrobotics/app/pull/12704

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jckras Julie Krasnick (jckras) removed the ready-for-protos add this when you want protos to compile on every commit label Jul 10, 2026
@jckras Julie Krasnick (jckras) merged commit bcaaedf into main Jul 10, 2026
3 of 4 checks passed
@jckras Julie Krasnick (jckras) deleted the minServerCompat branch July 10, 2026 15:45
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