Repository navigation
Description
Based on the ongoing API work and Andrew’s progress API, I’ve put together the following:
• Release list page
• Update status page
• Single release detail modal
As usual, this includes some elements that aren’t yet in the API but seem necessary for MVP (and a bit beyond). For example, when designing this there was no endpoint for listing releases.
A couple of open questions:
• For current releases, do users need to manage or prune old releases from the list?
• Would the release list be a standard paginated endpoint?
For the upload release and set target dialogs, we’ll need inline documentation – please ignore the placeholder text for now. As always, we’ll want concise docs in the dialog itself, plus links to more comprehensive information on the docs site.
On the upgrade status page, I’ve added a “status” cell. The idea is that we could either infer the status from the current and target version (which would require returning metadata from the current target TUF repo) or, preferably, have the API return the status directly. Rather than just using a version number/unknown/installing dataset/error, what if we split the state into its own attribute? This would let us show when a component has completed its upgrade.
Any thoughts on exposing more detailed monitoring (similar to what’s shown during mupdate) as part of the troubleshooting UX? I haven’t explored handling stalled or failed updates yet—happy to take your lead here. It might make sense to direct users to the CLI for more granular monitoring if needed.
Finally, I’m using “Releases” as a placeholder term for now, since exposing something like “TUF repo” might be too implementation-specific. Open to discussion on naming!
--
See designs / comment here: https://app.workflow.design/w/doc/ac8c2576-7902-493f-a5f4-6a234e5a193b
Activity
benjaminleonard commentedon Jun 25, 2025
CC: @davepacheco @sunshowers @andrewjstone @iliana @smklein @jgallagher @david-crespo @karencfv (apologies if I've missed someone)
Will try and find some time to discuss on the calendar, perhaps at an update huddle, will give some warning before hand. I do also need to check back in with the latest update API work as some of this may be already out of date.
[-]Initial Upgrade Designs[/-][+]Initial Update Designs[/+]david-crespo commentedon Jun 25, 2025
Assuming we will not support downgrade (I think this is the case) I think we may want a visual treatment of releases older than current (possibly operationalized as older than any component in the system) that marks them as not actually available for upgrade. We could disappear them but it feels less surprising to keep them there, but grayed out.
I don't see why not.
benjaminleonard commentedon Jun 25, 2025
For the update crew: perhaps the case for newer releases that are not viably updated from the current release also, if that's also a limitation?
jgallagher commentedon Jun 25, 2025
It is. More context in oxidecomputer/omicron#8056 and RFD 557, but I believe the current state is:
N, releases with major versionN+2or higher are not viable. (I.e., you cannot skip major releases.) This will be a limitation indefinitely.15.0.0to15.1.0, you ought to be able to change the target to15.2.0even before the upgrade finishes, but will not be able to for now).karencfv commentedon Jun 25, 2025
Just saw the designs, they look really cool! There's definitely something about finally seeing the work come together in a UI. I left a couple of comments on the artifact visualisation, but just generally really happy to see the UI!
benjaminleonard commentedon Jun 26, 2025
All useful info thanks, we'll probably want to prevent these actions on the client since it's usually a nicer experience than waiting for the server error response.
Much appreciated!
benjaminleonard commentedon Jun 26, 2025
If the viable upgrade logic is particularly complicated we might consider an endpoint (or a dry run API param) that returns if it's possible and why. Though if it's as simple as you have we could probably recreate it in the console.
david-crespo commentedon Jun 26, 2025
I was thinking we could just have a boolean field on each release in the list saying whether you can set it as the target at that moment. Maybe not boolean if there’s metadata, like a reason. Wouldn’t need to be a separate endpoint necessarily.
benjaminleonard commentedon Jun 26, 2025
That's why you're the engineer 🧠
davepacheco commentedon Jul 1, 2025
Thanks @benjaminleonard! This looks great. I commented with some specifics on the design.
I would say that:
Yes, I'd expect it to be an ordinary, paginated endpoint.
I mentioned this on the design: I don't think we want to break out per-component update status. It's way too complicated to make sense of and a big part of the value we're delivering is not having to think about this level detail. Concretely: what's the point of the system reporting the individual status of 5 CockroachDB nodes if we haven't told you what CockroachDB is, what it's used for, that the replication factor is 5, what it means when 1 of 5 is updated vs. 4 of 5 are updated, etc. In the limit I could see documenting this sort of stuff in a product service manual but it's way outside the scope of what we'd want customers to feel like they need to learn.
We definitely want a space to be able to say things like: "The update is currently stuck because the system cannot reach sled 10."
Agreed -- I like "releases" much better for this.
david-crespo commentedon Sep 29, 2025
I'm going to call this done, we'll iterate on the implementation side.