Skip to content

feat(console): OS image lifecycle on node detail - #186

Merged
Bugs5382 merged 5 commits into
mainfrom
feat/187-os-image-lifecycle-web
Oct 15, 2026
Merged

Bugs5382 merged 5 commits into
mainfrom
feat/187-os-image-lifecycle-web

Conversation

@Bugs5382

Copy link
Copy Markdown
Contributor

What and why

Node detail gains an OS image panel: viewers see the running, active and staged image; admins can stage a signed image (FleetOS Manager fetches it from a URL and streams it to the node), activate it after typing the CA's common name, or roll back. The node's own refusals (a bad signature, an upgrade already running) are shown as they come back.

The API client is regenerated against cryptos-manager main (CRYPTOS_MANAGER_REF bumped to the merged manager commit, which carries cryptos-manager#203 and #204), and main is merged in so node detail keeps the audit log, TSA certificates and chain validation panels alongside the new one.

How it was tested

Unit tests first for the lib layer and the component, with an accessibility check. Locally: lint, 741 console tests, the kit and client suites, the build and the release-bundle check all pass.

Refs CryptOS-PKI/cryptos-manager#187

Picks up GetNodeImageStatus, StageNodeImage, ActivateNodeImage and
RollbackNodeImage on FleetService.

Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Node detail now shows a managed node's CryptOS image status (running,
active and previous digests, a "Reboot pending" badge when active
differs from running) through the manager's GetNodeImageStatus. An
admin can stage a new image (the manager fetches image_url itself and
streams it to the node; the browser carries only the URL and the
detached release signature), activate a staged image (the same
type-the-CA-CN confirmation RebootDialog uses, since activating is
itself a reboot) and roll back to the previous image. The node's own
refusals surface inline (a bad signature, or "another upgrade is
already in progress" for a concurrent stage).

Refs CryptOS-PKI/cryptos-manager#187

Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>

# Conflicts:
#	apps/console/src/pages/node-detail.tsx
@Bugs5382 Bugs5382 added this to the v0.1.0 milestone Oct 15, 2026
@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Oct 15, 2026
@Bugs5382

Copy link
Copy Markdown
Contributor Author

Approved. The OS image panel on node detail. Refs CryptOS-PKI/cryptos-manager#187

@Bugs5382
Bugs5382 enabled auto-merge (squash) October 15, 2026 19:21
@Bugs5382
Bugs5382 merged commit f490427 into main Oct 15, 2026
9 checks passed
@Bugs5382
Bugs5382 deleted the feat/187-os-image-lifecycle-web branch October 15, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant