Repository navigation
Description
What's the problem
The sync screen is the first thing a new user sees after install, and it stays up until Monero (and Tari, when it runs) has synced. Today it prints unformatted block counts with no ETA, draws a Tari gauge even when Tari is off, gives no reason when a remote node is what it waits on, and does not separate "node unreachable" from "node synced but mining not yet re-admitted". Its explanation of the recovery window is fixed prose, not live state.
The operator rescoped this issue on 2026-10-21 to the lean UI spec #3566 (section C): it becomes the first-run state of the Overview page, absorbing #1872 (counts, ETA, Tari gauge) and #2353 (remote-node wait reason). It does not wait for the setup wizard (#2543) or the configuration model (#3557); only the optional profile line does. The 36-screen Sovereign design (separate probe, settings and help actions, raw counts as the headline, no ETA) is superseded, and no work goes into the current dashboard UI.
What it impacts
- Every new user on the appliance and on DIY, on a phone or a desktop, including read-only sessions (DIY without a login); and any user whose node falls behind later, because the view applies whenever a node is syncing.
- Shell Sovereign: build navigation, page headers and persistent status #2513 (keystone; the view mounts on its Overview route), sibling Overview Sovereign: build the contribution overview and attention summary #2515 (built in parallel per v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566), the wizard hand-off in Sovereign: redesign setup token, role and essential configuration steps #2543 (opens Overview in this state), and Implement the approved v2.1.0 configuration model and migration contract #3557 (profile line only).
How I found it
- Investigation of 2026-09-23 against develop at a5af51a (re-verify, since the old UI is being replaced): the sync screen showed only percent, current/target/remaining, mode and database size per chain. Part of the needed state was already computed but not passed to it: the node-down flag that
build_sync()receives but does not copy out, and the mining-admitted counts (miner_released,workers_rejected,workers_expected), which only the XvB view read. - Sync view prints raw block counts, gives no ETA, and draws a Tari gauge regardless of tari.mode #1872 (closed into this issue): unformatted counts, no rate or ETA, a Tari gauge regardless of the Tari mode.
- Sync page in remote-Tari mode gives no reason while it waits: show the remote node's state, not only that it is not done #2353 (closed into this issue), manual battery The manual hardware battery (M1–M10, M15, M16) has never been run, and #394's gate list does not name it #2044 on a physical box, 2026-09-18: with remote Tari, the sync page stayed up about twenty minutes after Monero had synced and said nothing, because the remote node was re-syncing and its initial sync was not yet achieved.
- v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 section C, the operator's 2026-10-21 rescope comment, and the owner's 2026-10-27 ruling that every page moves to the new Sovereign UI.
How important is it
High for v2.1.0: it is the first screen a new user sees after install, and the same screen already stalled silently for twenty minutes in #2353. Not a 2.0.x item; it lands after shell #2513, and the roadmap build order runs it in parallel with Overview #2515.
Acceptance criteria
- While Monero, or Tari when it runs, is still syncing, a full-page sync view replaces Overview inside the Sovereign: build navigation, page headers and persistent status #2513 shell; when every running node is ready it hands over to Overview on its own, with no click. A fixture test covers syncing to ready.
- Each running node shows percent progress and an ETA as the headline; raw block counts, if shown, are secondary and use thousands separators. The ETA is computed from progress measured over recent polls; when it cannot be measured (too few samples, no progress) the view says the estimate is unavailable, never a guess or zero. Unit tests cover steady progress, no progress, too few samples and finished.
- With Tari off there is no Tari gauge, line or warning. A fixture with Tari off and one with Tari on pin this.
- The view says in plain words what mining is waiting for and what ends the wait, and follows the real gating rule for optional versus required Tari instead of a fixed sentence.
- When a remote Tari (or Monero) node is why the view waits, it names that node and states its reported sync state, whether its initial sync is achieved, the last probe error if the probe failed, and how long it has waited; one log line records each change of that state. Tier 1: a GetTipInfo response with
initial_sync_achievedfalse renders the reason, and an RPC error renders the error. - Reachable, synced and mining-admitted are shown as distinct states, including a node that lost peers or regressed, the recovery window, worker re-admission and a restart of a required service (display only). Mining is never labelled active while gated. A signal the host does not provide shows as unknown, never as invented data. One fixture each for first sync, regression, recovery window and resumed mining.
- On a poll failure or page reload the view keeps the last successful snapshot with its age and a disconnected note; unknown, stale and zero are distinct.
- The view adds no counted control (deep links are not counted) and the control-count fixture still passes on appliance, DIY with login and DIY without login; the view is read-only on all three.
- When the state carries an active profile (Implement the approved v2.1.0 configuration model and migration contract #3557), the view shows it with a deep link to Settings noting that Performance syncs faster; when it does not, nothing renders and sync rendering does not wait for it.
- Works at 375 px with no horizontal scroll, is keyboard reachable, and passes WCAG AA contrast in light and dark. The PR attaches sanitized screenshots at 375 px and desktop.
- Gating logic is not changed here; state payload additions on the host/API side are allowed where the view needs them. The current frontend tree is not touched.
docs/dashboard.mddescribes the first-run state, tests of the removed sync screen are replaced, and no explanatory source comments are added. No live deployment or change to miners or nodes.
Possible solutions
- Render the view as the first-run branch of the Overview route that Sovereign: build navigation, page headers and persistent status #2513 provides, driven by the existing state payload; extend the sync section of the state builder with the node-down and mining-admitted signals that are already computed.
- Compute the ETA client-side from blocks per minute over the last few polls (the Sync view prints raw block counts, gives no ETA, and draws a Tari gauge regardless of tari.mode #1872 option) so it is unit-testable; show "estimate unavailable" when the rate is not measurable.
- Render the profile line only when the profile field exists, so it can land after Implement the approved v2.1.0 configuration model and migration contract #3557 without touching the rest.
- Open question for the Sovereign: build navigation, page headers and persistent status #2513 PR (dashboard: fix #2513 — build the lean UI shell #3584): whether the shell's route contract lets this view replace Overview wholesale, and which of this view and Sovereign: build the contribution overview and attention summary #2515 mounts the Overview route first.
Earlier scope, kept as evidence only (superseded 2026-10-27; do not implement from it)
What's the problem
Parent: #2478 · Milestone: Sovereign UI — post-2.0 · After 2.0.0 GA; not a GA release blocker.
Deliverable
Explain why mining is waiting and what will happen next, using real node and worker admission state.
- Work type: Existing readiness redesign.
- Design references: 13 sync; 14 sync recovery (existing Sovereign mockups attached below; sample data, not runtime evidence).
- Inventory coverage: N7–N8.
Existing Sovereign mockups
Existing concept images with sample data. The acceptance criteria and validated host/API contracts take precedence over illustrative labels or values.
13 · Initial sync
14 · Sync recovery
Complete 36-image gallery · Parent: #2478
what it impacts
Dependencies and boundaries
Related work: #2472, #2499, #2464. 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 first sync, optional/required Tari, lost peers/regression, stale progress, recovery window and resumed mining with readiness fixtures. 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
- Show Monero and relevant Tari height/progress/remaining work, database/mode and sample age without inventing time-to-finish estimates.
- Distinguish reachable, synced/healthy and mining admitted; optional versus required Tari changes the gating explanation.
- Show runtime regression/recovery, worker re-admission and required-service recreation from current host state; do not label mining active while gated.
- Offer permitted probe/settings/help actions and retain progress across reload, disconnected polling and recovery.
- Consume the corrected readiness behavior from release work; keep Sync gate: the #35 one-way latch opened on an appliance whose chains never synced, and the persisted latch keeps it open across dashboard restarts #2472/Monero node health on the dashboard: the 'at tip, with peers' contract #2465 sets for Tari, for monerod: today's card is a height with nothing to compare it to, and peer counts are never read #2499 and related runtime defect fixes outside this visual milestone.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.


Activity
pithead-developer commentedon Sep 24, 2026
Investigation brief (operator pre-read, 2026-09-23) — corrected
Still present: the acceptance criteria are largely unmet on develop (verified against HEAD a5af51a, and no PR anywhere references #2546). The current sync screen (
dashboard/mining_dashboard/web/static/system/syncview.mjs:40-72) shows only percent/current/target/remaining/mode/db_size per chain, built bybuild_sync()(dashboard/mining_dashboard/web/views/infra_views.py:368-388), which wraps each chain'sSyncMetricinto a 3-state gauge (done/loading/syncing). It does not expose reachable vs healthy vs mining-admitted as separate states, does not show worker re-admission progress, required-service recreation, or sample age, and offers no probe/settings/help actions — all required by the acceptance criteria.Root cause: this is a from-scratch build, not a regression, and the gap is even narrower than raw absence — some of the needed state is already flowing partway into the view layer without being used.
SyncMetric(service/metrics.py:39-48) already carries adown: boolfield populated from the debounced node-health signal (_sync_metric,service/metrics.py:~319), and that field is passed intobuild_sync()onsm—section()(infra_views.py:373-384) simply never copies it into the output dict it sends to the client. Separately,miner_released/workers_rejected/workers_expected(the mining-admitted signal) are already computed inservice/data_service.py:386,485anddata_setup.py:136,206,211, but are consumed only byxvb_views.py:168, never reaching this screen.NodeHealthMonitoritself (service/health/node_health.py:6-74) tracksdown/healthyvia debounced reachability and a recovery window (NODE_RECOVERY_AFTER_SEC), and the one-way sync-latch bug that let mining start pre-sync is already fixed (#2472, CHANGELOG.md:116-121, shipped, closed). TheSyncViewcomponent's explanatory paragraph (syncview.mjs:27-39) narrates the readmission/recovery-window behavior in prose instead of showing live state, an intentional stopgap noted in its own comment (#1886 gap 3, PR #1926).fix_shape: extend
section()insidebuild_sync()(infra_views.py:373-384) to includesm.down(already on theSyncMetricargument — no new wiring intoNodeHealthMonitorneeded there) plus the mining-admitted signal (miner_released/workers_rejected, already computed in data_service.py, needs threading through to the sync payload) and a recovery-window timer; extendSyncView/Gaugeto render them plus sample age and available probe/settings/help actions. This is UI/data-plumbing, not a control-plane change, and is a smaller diff than "source new state from NodeHealthMonitor" implies — most of it is already computed and just needs to be copied one layer further out.evidence_tier: tier-1 (dashboard-only UI/data-plumbing reading existing health/gating state; no build/compose/config-rendering/control-plane/merge-mining/Tor/miner change). No tier4-e2e required under "tier follows the path" — confirmed: "required-service recreation" stays display-only (show that a restart happened), not a trigger; any user-triggered action belongs to a settings/control issue.
duplicates_or_blockers: not a duplicate. Confirmed live on GitHub: explicitly blocked by three open, unimplemented sibling issues the issue body says to build on: #2513 (navigation/persistent status, OPEN), #2543 (setup/config redesign, OPEN), #2528 (topology/node-health cards, OPEN) — all three still milestoned "Sovereign UI — post-2.0". Related-but-separate runtime defects #2472 (CLOSED/fixed) and #2499, #2464 (both OPEN, out of scope per issue body — #2464 sits in the separate v2-appliance GA-gate milestone) stay excluded from this visual work. Thread has zero comments; no rulings recorded yet.
rulings_needed:
triage: MOVE-sovereign-ui
Triage recommendation: MOVE-sovereign-ui — already correctly placed in the "Sovereign UI — post-2.0" milestone (frozen until GA by ruling); confirmed live: nothing here is a GA blocker, data-loss, security, or Tari-fork issue, and it structurally depends on three still-open sibling Sovereign issues, so it cannot be implemented before them regardless of milestone.
Verify against the code before relying on this; it was written by an investigator, not the implementer.
pithead-developer commentedon Oct 21, 2026
Blocked on #2513. Both issues await the lean UI prerequisite #2513: the trusted parent ruling prohibits further work on the current dashboard, which remains on develop-v2.1.0. #2546 also requires setup #2543 and the shared configuration model #3558; #2528's work moved to #2540. Reconnaissance is complete; no changes, tests or PR were made, and implementation resumes after the prerequisite changes land.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 21, 2026
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.
1 remaining item
pithead-developer commentedon Oct 21, 2026
Rescoped to the lean UI spec #3566 (operator, 2026-10-21): Becomes the Overview's first-run state, the first thing a new user sees after install. A full-page sync view with percent and ETA per node (not raw block counts), a Tari gauge only when Tari runs, the remote node's state as the wait reason in remote-Tari mode, and, once #3557 lands, the active profile with a deep link to Settings noting that Performance syncs faster. It hands over to Overview on its own. Absorbs #1872 and #2353. Does not need the configuration model; only the profile line waits for it.
pithead-developer commentedon Oct 30, 2026
Blocked on #3795. The required shell check fails on the existing fixture defect tracked by #3795; fix PR #3796 must merge before this branch can obtain passing evidence. Dashboard implementation, focused tests and independent reviews are complete. Blocker details and job evidence are posted on PR #3785 and #3795; resume by merging the fixed base and running new-head CI.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 31, 2026
Blocked on #3786. Pushed the lint fix at a689682; topology lint, Biome, 30 frontend tests, metadata gates and independent reviews pass. The image failure reproduces independently and is tracked by #3786, with fix PR #3789. Evidence and blocker comments are posted; once #3789 merges, this branch needs the updated base and new-head CI proof.
The runner resumes this issue when that one closes.
dashboard: fix #2546 — show sync progress and recovery (#3785)
pithead-developer commentedon Oct 31, 2026
Merged in #3785.