Skip to content

Conversation

@sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Oct 2, 2025

Last part of oxidecomputer/omicron#8922 for Maghemite: make the admin APIs versioned. Also remove the openapi buildomat job, since it's a remnant from when maghemite was a private repo (Omicron stopped using it in oxidecomputer/omicron#5271).

See the readme within https://github.com/oxidecomputer/dropshot-api-manager for instructions.

Created using spr 1.3.6-beta.1
@sunshowers
Copy link
Contributor Author

Need to figure out what to do with the openapi job.

@sunshowers
Copy link
Contributor Author

@rcgoodfellow would need to remove openapi as a required workflow from GHA:

image

@sunshowers
Copy link
Contributor Author

Hmm, not sure why test-ddm-trio and quartet are failing here -- there shouldn't be any functional changes in this PR.

.unwrap();

match server.start().await {
match server.start() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe dropping the await is what's causing the test failures. The logs show the "unexpected server exit line". This code expects to wait on the API server, which never really returns.

Probably want something like this

 match server.start().expect("failed to start API server").await {

@rcgoodfellow
Copy link
Collaborator

@rcgoodfellow would need to remove openapi as a required workflow from GHA:

Done


Ok(tokio::spawn(async move {
match server.start().await {
match server.start() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This also needs to be something like

match server.start().expect("failed to start API server").await

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah yeah, whoops

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@sunshowers sunshowers merged commit 76204d2 into main Oct 2, 2025
12 of 13 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/make-mg-admin-and-ddm-admin-apis-versioned branch October 2, 2025 23:22
sunshowers added a commit to oxidecomputer/dendrite that referenced this pull request Oct 8, 2025
Last part of Dendrite work for oxidecomputer/omicron#8922.

Also remove the dpd-openapi buildomat job that's no longer used since Dendrite is now open source. This change mirrors oxidecomputer/maghemite#558.
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