Repository navigation
Move common::api::internal::rack_init::* types to sled_agent_types::early_networking::* - #9922
Merged
Merged
Conversation
sunshowers
approved these changes
Feb 26, 2026
Base automatically changed from
john/nexus-external-common-to-types-2
to
john/nexus-external-common-to-types
February 26, 2026 18:12
jgallagher
force-pushed
the
john/common-to-sled-agent-early-networking
branch
from
February 26, 2026 21:31
fb6d112 to
18e2fc0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a part of #9801: all of these types are kept in the bootstore, and by necessity are also part of the sled-agent API (since it writes the bootstore!). They are also intimately involved in the rack's early networking, hence the choice of landing spot. On #9801 we also discussed putting them in a types crate of their own. We could still do that, but I didn't run into any problems putting them in
sled-agent-typesso didn't see a reason to pursue it.There should be no functional changes here. There are some chunks of code deletions based on using more progenitor
replacedirectives and removing some now-unnecessary, manually-duplicated types. There are no OpenAPI spec changes; this only moves types around. Some crates grew a new dependency onsled-agent-typesto get at things that used to be inomicron-common, but this did not affect anyls-apischecks (as expected).Staged on top of #9921.