Skip to content

Conversation

@zeeshanlakhani
Copy link
Collaborator

@zeeshanlakhani zeeshanlakhani commented Nov 17, 2025

My previous multicast-support integration PR flipped outdated/updated versioning. This work fixes that, following proper versioning design. For consistency, we now include prefix version naming conventions (i.e., v6_).

…ensure_registered`

My previous multicast-support integration PR flipped outdated/updated
versioning. This work fixes that, following proper versioning design.
For consistency, we now include prefix version naming conventions (i.e. `v1_`).

We also place the v1 versions of `InstanceEnsureBody`
and `InstanceSledLocalConfig` in "sled-agent/types/src/v1.rs" instead of in
the API directory.
Copy link
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up so quickly!

We move the v6 (pre-multicast version) of code back to `sled-agent/api/src`,
but implement the default conversion / shim at the endpoint.
Copy link
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@jmpesp jmpesp left a comment

Choose a reason for hiding this comment

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

Looks good, one thing: I can't comment on rows not affected by the diff, but make sure that the docstring change for InstanceEnsureBody doesn't change with this shuffling around. Otherwise 🚢

@jgallagher jgallagher enabled auto-merge (squash) November 17, 2025 22:30
@jgallagher jgallagher merged commit 434e649 into main Nov 18, 2025
16 checks passed
@jgallagher jgallagher deleted the zl/vmm-register-api-version-correction branch November 18, 2025 00:12
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.

5 participants