-
Notifications
You must be signed in to change notification settings - Fork 43
Show transceiver errors in wicket
UI
#8118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Make all transceiver data results rather than options - Report errors in the `wicket` UI for each piece of data we failed to read - Fixes #8110
Not sure the best way to handle the OpenAPI linting issues here. I really want a |
Hmm. @davepacheco did this recently: omicron/nexus/types/src/internal_api/views.rs Lines 421 to 425 in 4067356
with this helper: omicron/nexus/types/src/internal_api/views.rs Lines 471 to 493 in 4067356
I wonder if it makes sense to move that somewhere more public and reuse it? |
@jgallagher Thanks! I'm not sure how common it will be, but we definitely have an N of 2! @ahl had also mentioned to me a way to convince Progenitor to actually use an explicit Rust type when generating code. In this case, telling it to use the actual |
This extracts out the `SnakeCaseResult` type used to serialize / deserialize a Rust `Result` in a way that satisfies our OpenAPI linting rules, from a private crate location to a small helper crate. We can add more helpers or tricks here as needed.
Thanks for the tip @jgallagher. I've made us a small helper crate |
- Move to omicron-common - Simplify serde with by grouping into module - Add x-rust-type extension for client generators
@ahl I've reworked the JSONSchema implementation to include the Rust type extension stuff. Doesn't look like we can use only the |
wicket
UI for each piece of data we failed to readwicket
screen should show present but faulted or unreadable transceivers #8110