Skip to content

migrate Crucible APIs to Dropshot API manager - #1774

Merged
sunshowers merged 3 commits into
mainfrom
sunshowers/spr/migrate-crucible-apis-to-dropshot-api-manager
Oct 2, 2025
Merged

sunshowers merged 3 commits into
mainfrom
sunshowers/spr/migrate-crucible-apis-to-dropshot-api-manager

Conversation

@sunshowers

Copy link
Copy Markdown
Contributor

Migrate the three Crucible APIs that are part of the Omicron service graph to
the Dropshot API manager:

  • crucible-agent
  • crucible-pantry
  • downstairs-repair

Also add an xtask framework so you can run cargo xtask openapi.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@jmpesp

jmpesp commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

does the Dropshot API manager also perform the openapi linting checks?

@sunshowers

sunshowers commented Oct 1, 2025 •

Copy link
Copy Markdown
Contributor Author

Oh I missed that, whoops! The API manager doesn't do it by default but can be configured to do it. Will put up an update shortly.

Created using spr 1.3.6-beta.1
@sunshowers

Copy link
Copy Markdown
Contributor Author

Readded validation -- should work now.

@sunshowers
sunshowers merged commit a093feb into main Oct 2, 2025
@sunshowers
sunshowers deleted the sunshowers/spr/migrate-crucible-apis-to-dropshot-api-manager branch October 2, 2025 18:25
iximeow added a commit to oxidecomputer/omicron that referenced this pull request Oct 18, 2025
Propolis changes:

* oxidecomputer/propolis#950
* oxidecomputer/propolis#952
* oxidecomputer/propolis#951
* oxidecomputer/propolis#954
* oxidecomputer/propolis#957
* oxidecomputer/propolis#960
* oxidecomputer/propolis#961
* oxidecomputer/propolis#955

Crucible changes:

* oxidecomputer/crucible#1773
* oxidecomputer/crucible#1774
* oxidecomputer/crucible#1780
* oxidecomputer/crucible#1778

Crucible shouldn't have functional changes here, Propolis' big ones are
@sunshowers' work moving Propolis to versioned APIs, plus propolis#960
turning the crank on MAXCPU.

propolis#961 changes the initial Milan CPU profile one last time before
the release in service of propolis#959. Propolis will clear [this
bit](https://github.com/oxidecomputer/omicron/blob/d74f5e3f1ae0a378dcdb9795a0ada2426702b046/nexus/src/app/instance_platform/cpu_platform.rs#L423).
Later we want to actually set up leaf 8000_001E, so after this merges
I'll have a followup to remove that leaf from the inital Milan
definition to keep the profile constant when `propolis-server` is
smarter about the leaf.
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