Skip to content

Sovereign: separate stack, appliance OS and worker update progress #2542

Closed as not planned

Description

@VijitSingh97

What's the problem

Parent: #2478 · Milestone: Sovereign UI — post-2.0 · After 2.0.0 GA; not a GA release blocker.

Deliverable

Make update availability and long-running progress clear while retaining the different release and reboot contracts.

  • Work type: Existing update redesign.
  • Design references: 33 Maintenance updates; 07 Maintenance (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: S5–S6; C5 update checks.

Existing Sovereign mockups

Existing concept images with sample data. The acceptance criteria and validated host/API contracts take precedence over illustrative labels or values.

33 · Maintenance updates

Sovereign — Maintenance updates

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

Build on #2514.

Related work: #2384. Existing issues retain ownership of their behavior.

Use the current host/API/schema contract when implementation starts; the design inventory is a baseline, not proof that develop has not changed. Preserve the parent accessibility, privacy, offline and authority rules. Any missing backend capability must be explicit, never represented by fabricated live data.

How I found it

Verification

Exercise no update, offline check, resumed download, verification failure, install pending reboot and postboot success/rollback using existing fake update contracts. Follow #2478's required checks and attach sanitized visual evidence to the implementing PR. This issue does not authorize a live deployment or changes to miners/nodes.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance criteria

  • Keep stack update availability, host-authorized target, release information, typed confirmation and service recreation effects; show failure evidence.
  • Represent appliance check/download-resume/verify/inactive-slot install/reboot/postboot verification as distinct real states, gated by appliance/control capabilities.
  • Explain mining interruption at the correct stage; reboot/poweroff is a separate authorized action with the current confirmation contract.
  • Retain jobs/results across navigation and reconnect. Pending checks or unknown results must not read as up to date.
  • Link worker rollouts to their own view; claim rollback only when the current stack/OS contract supports it and postboot evidence verifies it.

possible solutions

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. added
    enhancement
    dashboard
    on Sep 22, 2026
  2. pithead-developer commented on Sep 24, 2026

    @pithead-developer
    Contributor

    Investigation brief (operator pre-read, 2026-09-23 — corrected)

    still_valid: yes. Stack update, appliance A/B OS update and per-rig worker upgrade are three separate flows today with no unified progress view. osupdate.mjs:1-13 sequences only the appliance A/B flow (os-check/os-download/os-verify/os-install/os-reboot, lib/pithead/49-control-request-loop.sh:53-57); per-rig upgrade is single-rig ask/poll (workerupgrade.mjs:64, control_service.py:354 submit_worker_upgrade). A repo-wide grep for "rollout" returns zero hits — no fleet-wide worker-rollout aggregate exists to link to.

    root_cause: feature gap, not a defect. The three update surfaces were each built independently (appliance A/B flow, per-rig upgrade, stack self-update) and none aggregates worker-upgrade progress across a fleet.

    fix_shape: a Sovereign maintenance screen re-rendering the existing appliance/stack control states as distinct, correctly gated states, plus a new worker-rollout view built on data the backend already emits via submit_worker_upgrade/rigforge_update_for (infra_views.py:115-129). No new control verbs or host-side behavior required.

    evidence_tier: tier1 (dashboard/tests/frontend, dashboard/tests/web) — pure UI reshuffle over existing control endpoints; does not change what runs on a box, so tier4-e2e/tier4-kvm is not required per the testing-strategy "What a PR must prove" table (row: dashboard logic/tests/docs/scripts that never run on a box → tiers 1-3 are the proof). This holds only while the implementation stays scoped exactly as above — no new verb, no change to 49-control-request-loop.sh or the host runner; if scope creeps into either, tier4-e2e applies.

    rulings_needed:

    1. Does the worker-rollout aggregate get built in this issue, or does it link to a separate (unfiled) issue? Already answered in Sovereign: separate stack, appliance OS and worker update progress #2542's own acceptance criteria: "Link worker rollouts to their own view" — the issue explicitly scopes this out. Recommend: file the follow-up issue for the aggregate view before implementation starts; no operator ruling needed here.
    2. Is Sovereign: restyle configuration preview, approval and apply results #2514 a hard prerequisite? Recommend: yes, per the issue's own "Build on Sovereign: restyle configuration preview, approval and apply results #2514."
    3. Does the Sovereign UI freeze block any work here before GA? Recommend: yes, hold to the freeze.

    duplicates_or_blockers: blocked by open #2514 (same milestone); parent #2478 still open (40 sub-issues, all open — corrected from "52"); adjacent (not blocking) #2384 (reboot/poweroff verbs); no superseding PR found in a targeted search.

    Triage recommendation: MOVE-sovereign-ui — already correctly milestoned; issue body itself says it is not a GA blocker, and there is no security/data-loss/Tari-fork reason to pull it forward.

    Verify against the code before relying on this; it was written by an investigator, not the implementer.

  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2514 for #2535 and #2542; #2513 is also required for the grouped #2540 maintenance view.

    Both shared UI prerequisites remain open and their implementations are absent from develop-v2.1.0 at a10dbf0. The latest trusted direction on #2478 and #2513 requires the lean four-page interface built on the v2.1.0 configuration model and stops further work on the current dashboard UI. Implementing these panels now would duplicate the foundation or extend that superseded UI.

    Reviewed all three grouped issues, the relevant dependency threads, repository guidance and the current frontend contracts. No existing open PR owns the group; preview PR #2782 is closed without merging. #2523 was folded into #2540 by the owner, so it is not an outstanding dependency; #2540 retains that server-health scope.

    No source changes, tests, bench jobs or PR were created. Resume this group after #2514 and #2513 land, then reconcile the notifications, maintenance and update acceptance criteria with the landed shared components and configuration model before editing.

  4. added
    blocked
    on Oct 21, 2026
  5. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked (operator, 2026-10-21): v2.1.0 UI work waits for the lean UI spec (#3566), which maps this issue to one of the 4 pages or folds or closes it. That stops rounds being spent on the old 36-screen Sovereign scope. Unblocks when #3566 closes.

  6. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Rescoped to the lean UI spec #3566 (operator, 2026-10-21): Folded into #2530. One Updates card with one Update Pithead button (signed OS image on the appliance, release upgrade on DIY); its dialog keeps today's typed confirmations, and per-component detail sits in Advanced > Update details. Rig updates are on Machines (Update all). The header shows only an Update available link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockeddashboardenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions