Skip to content

Move common::api::internal::rack_init::* types to sled_agent_types::early_networking::* - #9922

Merged
jgallagher merged 5 commits into
mainfrom
john/common-to-sled-agent-early-networking
Feb 27, 2026
Merged

jgallagher merged 5 commits into
mainfrom
john/common-to-sled-agent-early-networking

Conversation

@jgallagher

Copy link
Copy Markdown
Contributor

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-types so 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 replace directives 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 on sled-agent-types to get at things that used to be in omicron-common, but this did not affect any ls-apis checks (as expected).

Staged on top of #9921.

Base automatically changed from john/nexus-external-common-to-types-2 to john/nexus-external-common-to-types February 26, 2026 18:12
Base automatically changed from john/nexus-external-common-to-types to main February 26, 2026 20:49
@jgallagher
jgallagher force-pushed the john/common-to-sled-agent-early-networking branch from fb6d112 to 18e2fc0 Compare February 26, 2026 21:31
@jgallagher
jgallagher merged commit 339f7e4 into main Feb 27, 2026
18 checks passed
@jgallagher
jgallagher deleted the john/common-to-sled-agent-early-networking branch February 27, 2026 03:55
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.

2 participants