Repository navigation
Description
What's the problem
Parent: #2478. An operator with 2, 50 or 100 rigs cannot tell quickly which rigs are mining, cannot add a first rig without hunting for the connection details, and upgrades rigs one click at a time. Today's workers view is a single table with seven sort headers, three separate ways into the inspector, a Reveal/Hide button beside a separate Copy password, and no Update all.
This issue is now the Machines page of the v2.1.0 lean UI (#3566 section D, accepted 2026-10-21). Its earlier scope (search, column choices, pagination, groups, tile view, multiple entry points) is superseded. Owner rulings: four pages (2026-10-21) and, on 2026-10-27, every page moves to the new Sovereign UI with no work on the current dashboard, which the 2.1.0 cutover (#2547) deletes.
What it impacts
- Users: operators of 1 to 100 rigs on the appliance and on DIY, on phone and desktop, and anyone connecting their first rig.
- Scope absorbed, all closed: Sovereign: build the worker inspector, tuning and change history #2518 (inspector), Sovereign: build rolling worker upgrade review and status #2521 and Workers table: an 'Update all' button that upgrades every adopted rig to the latest RigForge release in one rolling run #1899 (rolling upgrade), Sovereign: clarify miner connection and management enrollment #2533 (connection and enrollment), Dashboard exposes appliance-only local miner toggle on DIY without guidance #3357 (local-miner switch on DIY) and Workers table on a phone shows 1 of 7 columns with no scroll affordance #1863 (phone table).
- Code: the Machines page in the new shell, a host-side Update all (none exists today),
docs/dashboard.mdanddocs/workers.md. - Order: waits for the shell (Sovereign: build navigation, page headers and persistent status #2513, open). It does not need the configuration model (Implement the approved v2.1.0 configuration model and migration contract #3557) and ships in its own PR, separate from Overview (Sovereign: build the contribution overview and attention summary #2515).
How I found it
- v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 section D, the operator's rescope and fold notes on this issue and the absorbed ones, and the 2026-10-27 owner rulings.
- Code check on
develop-v2.1.0at 7cb2266: there is no Update all or rolling upgrade. The host upgrade verb handles one rig per request by design, anddocs/workers.mdsays there is deliberately no "upgrade all" button. v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 and the Sovereign: build rolling worker upgrade review and status #2521 rescope call it "existing rolling-upgrade behavior", which the code does not show, so the orchestration is new work in this issue. Its requirements come from Workers table: an 'Update all' button that upgrades every adopted rig to the latest RigForge release in one rolling run #1899 and Sovereign: build rolling worker upgrade review and status #2521. - The 2026-09-23 investigation brief on this issue (investigator-written, not verified by an implementer) reported the old table renders every worker in one plain table with column sort as the only control.
- Not measured: how the Machines list behaves at 100 rigs (v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566).
How important is it
High. Machines is one of the four pages of v2.1.0 (due 2027-01-15), and it can start as soon as the shell lands because it does not wait for the configuration model. It is not a release emergency.
Acceptance criteria
Connect a miner
- The card shows the pool address the listener really serves (Dashboard advertises LAN stratum URL for loopback-only listener #3384), the rig password in clear when one is set, and, where rig TLS applies (Privacy), the TLS option and the certificate fingerprint rigs pin.
- One Copy rig settings control copies the pool address plus the password when set. There is no Reveal/Hide and no separate Copy password.
Rig list
- Each rig shows name, status (Mining, Offline, Behind, Unmanaged) and hashrate. Order is attention first, then name, and stays stable when names repeat. A phone shows cards with no horizontal scroll at 375 px.
- No sort, filter or column control appears outside Advanced; find, sort and columns for the list live in Advanced.
- An offline rig, or one with unavailable telemetry, shows Offline or unavailable, never a healthy zero. A mining rig the stack does not manage shows as mining with a quiet unmanaged tag, not as an error.
Inspector
- A row click is the only way in. Outside Advanced it shows health only: status, last seen, software version against latest, 24 h hashrate, accepted and rejected shares. Closing it keeps the list scroll position.
- Advanced holds Restart, Update this rig, adopt or manage this rig (host, ports, token, typed APPLY unchanged; a separate opt-in from the mining connection that shows saved, awaiting next poll, then fresh telemetry) and the config editor as Table or JSON with today's writable fields, validation and apply polling. Only controls the rig is authorized for and supports are offered.
- No per-rig change history and no chart ranges in the inspector.
Update all rigs
- The control shows only when the editor is on and at least one managed rig is behind, and names the target version.
- One review dialog lists the rigs and versions. Rigs that cannot take the upgrade, for example an unreachable control API, are listed with the reason, not skipped silently.
- The run goes one rig at a time. A failed rig does not stop the others. Each rig's settled outcome (applied, rejected, failed, rolled back) appears as it lands, an accepted request is not shown as done, a rig already on latest or inside its throttle window shows no-op or retry later rather than failed, and progress survives navigation and reload.
- A tier 1 test covers ordering, a mid-run failure and the cannot-upgrade partition, and a tier 3 run drives two fake rigs through a rolling update. The PR runs the live job that
docs/dev/testing-strategy.mdrequires for control-plane and upgrade changes, or names the row that excludes it.docs/workers.mdno longer says there is no "upgrade all".
Platforms and budget
- Machines adds three counted controls at most: Copy rig settings, Update all rigs, and Also mine on this box. The appliance fixture shows all three; DIY with a login shows no local-miner switch; DIY without a login shows Copy only.
Fixtures and quality
- 2-, 50- and 100-rig fixtures include mixed versions, duplicate display names and unavailable telemetry. The 100-rig fixture renders at 375 px with no horizontal scroll, and the PR records how the list renders at 100 rigs (time, and any paging added).
- The page meets v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 A5 (WCAG AA contrast in light and dark, follows the OS theme, every control reachable by keyboard) and the PR attaches sanitized screenshots at 375 px, tablet and desktop. Host validation, target validation, typed confirmations and secret handling for management tokens are unchanged.
- The page is built only in the new shell, with no change to the current dashboard UI except deleting the docs and tests of controls it removes (v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 A7). The Machines section of
docs/dashboard.mdis updated. No explanatory source comments.
Possible solutions
- Build the page on the shell navigation once Sovereign: build navigation, page headers and persistent status #2513 closes, reusing today's host and API for the connection card, inspector, per-rig upgrade, restart and apply.
- Update all: add a host verb that loops the existing per-rig upgrade sequentially over eligible adopted rigs, reuses the per-rig outcome words and the cached latest release tag, and add the review dialog and progress in the page. Option: land the verb and API as a first stacked PR with the bench proof, so the page PR is dashboard logic only and needs no bench job.
- 100 rigs: start with the plain list; if the recorded render is slow, page it in fixed-size chunks (the 2026-09-23 brief recommended simple client pagination over virtualization).
- rigforge#578 is not a prerequisite. If its extra states land, older or unmanaged workers keep today's honest fallback and any new state maps onto the four statuses unless the owner extends them.
- Unknowns: how the card detects Privacy before the profile exists (option: key off the current rig TLS setting); whether the one-line Telegram summary after a fleet upgrade (from Workers table: an 'Update all' button that upgrades every adopted rig to the latest RigForge release in one rolling run #1899) survives the notifications diet under Implement the approved v2.1.0 configuration model and migration contract #3557; whether deleting old-UI tests (A7) before the cutover conflicts with leaving the current UI untouched (A1).
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
Make the table the practical fleet view, with a compact group/tile view where useful. Reuse current worker identity and telemetry rather than inventing a health score.
- Work type: Existing UI redesign with bounded fleet UX.
- Design references: 01 Machines; 19 fleet 100; 20 fleet 50 (existing Sovereign mockups attached below; sample data, not runtime evidence).
- Inventory coverage: M1–M4.
Existing Sovereign mockups
Existing concept images with sample data. The acceptance criteria and validated host/API contracts take precedence over illustrative labels or values.
01 · Machines
19 · Fleet · 100 workers
20 · Fleet · 50 workers
Complete 36-image gallery · Parent: #2478
what it impacts
Dependencies and boundaries
Build on #2513.
Related work: #1863, #1899. 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
Demonstrate 2-, 50- and 100-worker fixtures with mixed versions, duplicate display names, unavailable telemetry and filtered selections. 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
- Provide search, stable sorting, pagination or another bounded rendering strategy, useful column choices and clear counts for all/filtered/selected workers.
- Keep name, uptime, 1m/10m rates, accepted/rejected/invalid counters, best difficulty, pool identity, version/update and management state available.
- Separate mining activity, attention and management capability. Monitoring-only is not an error; offline/unavailable rates are not healthy zeroes.
- Use operator-assigned groups if supported, otherwise a clear ungrouped state; never infer physical racks or topology from names. Group totals must reconcile.
- Preserve filters/sort/scroll when inspecting a worker; show first-worker stratum instructions and separate optional management enrollment.
- Use Workers table on a phone shows 1 of 7 columns with no scroll affordance #1863 for the phone-table fix and Workers table: an 'Update all' button that upgrades every adopted rig to the latest RigForge release in one rolling run #1899 for rolling upgrades; this issue owns desktop/fleet organization and the entry points.
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 on develop: the Workers table (
dashboard/mining_dashboard/web/static/workers/workertable.mjs:82-149, verified by line count) renders every returned worker in one plain<table>with column sort (app/logic.mjs:12-33,sortWorkers/WORKER_COLUMNS) as the only control. No search, no pagination/virtualization, no selection state, and no grouping — grep of the wholedashboard/mining_dashboardtree finds nogroup/group_idworker field anywhere; everygrouphit is unrelated Configuration-view field grouping (configlogic.mjs), so the AC's "operator-assigned groups, otherwise ungrouped" has no data model to hang on yet. Agh pr listsearch across merged PRs touchingworkertable/logic.mjs, and the CHANGELOG's Unreleased section, show no fleet-scale rendering work landed since; nothing supersedes this issue. The issue thread itself (gh issue view 2517) has zero comments — no ruling to incorporate.Root cause: the table was built and reviewed for a small fixture count; every unchecked AC box (search/sort/pagination, grouping, filter/scroll preservation on inspect) is a real, still-open gap, not a stale report.
Fix shape: not a one-line fix — it's genuinely the AC list. Smallest first increment: add a client-side text filter and page-size slice on top of the existing
sortWorkersoutput plus filtered/total counts in the card header; defer grouping (no backend field exists) and filter/scroll preservation across Inspect (depends on #1899-adjacent nav/state work) to follow-ups.Dependencies: issue declares "Build on #2513" (verified open, same milestone). Related but separately owned: #1863 (phone column/scroll fix, open), #1899 (rolling update-all, open). Neither is a duplicate. Parent tracker #2478 also open, same milestone.
Rulings needed: (1) real group data model now vs. ungrouped-only first cut — recommend ungrouped-only, model as its own issue; (2) pagination vs. virtualization vs. load-more — recommend simple client pagination; (3) land independently of #2513/#1899 or wait — recommend land independently with local state, rewire later.
Evidence tier — corrected: the described fix (client-side filter + page-size slice in
workertable.mjs/logic.mjs) touches only dashboard rendering logic — no compose files, config rendering, control-plane wiring, container start/stop, deploy/upgrade/restore, merge-mining, Tor, or miners. Perdocs/dev/testing-strategy.md's "What a PR must prove" table, this is the "dashboard logic and its tests, docs, workflows, scripts that never run on a box" row: tiers 1-3 are the proof; the PR body names this row as the reason no bench job ran. A tier4-e2e leg is not required for this increment (the original brief's claim that one is needed was wrong); it would only become required if a later increment wired a real backend control-plane or config-rendering change (e.g. a persisted group field touching server state).Triage: STAY-sovereign-ui — the issue already carries milestone "Sovereign UI — post-2.0" (#23, frozen until GA), and its own text says "After 2.0.0 GA; not a GA release blocker." It's a UX scale/redesign concern, not a security, data-loss, or Tari-fork item 2.0.0's checklist requires. Nothing here changes its placement; the original brief's "MOVE-sovereign-ui" label was a phrasing defect (it argued for staying put but named the verdict "MOVE").
Verify against the code before relying on this; it was written by an investigator, not the implementer.
VijitSingh97 commentedon Oct 6, 2026
Roadmap alignment requested by the owner, 2026-10-06. Parent plan: #3181. Existing milestone/acceptance remains unless explicitly refined below.
Keep the existing Sovereign scope and parent #2478. When p2pool-starter-stack/rigforge#578's additive state is available, consume active/waiting-for-capacity/manual/thermal/unavailable states and effective capability flags rather than treating all zero hashrate as failure. Preserve an honest fallback for older or unmanaged XMRig workers; this does not make #578 a prerequisite for the whole table redesign. New #3182 supplies the entry guide; #2518 remains the inspector owner.
pithead-developer commentedon Oct 21, 2026
Blocked on #2513; the grouped chart work also requires #2512.
Read-only investigation of #2515, #2516 and #2517 is complete at develop-v2.1.0 commit a10dbf0. The current dashboard still renders Simple/Advanced/Configuration/Backup in
dashboard/mining_dashboard/web/static/app/components.mjs:85-97, and the existing palette remains indashboard/mining_dashboard/web/static/styles/theme.css:19-39. Neither shared prerequisite has landed, and both issues remain open.The latest trusted ruling on #2513 and parent #2478 requires Overview/Machines/Earnings/Settings built on the v2.1.0 configuration model and says no further work on the current dashboard UI. Implementing this group against the existing shell would violate that boundary and duplicate prerequisite work. Resume after #2513 lands with its navigation contract and #2512 supplies the shared visual foundation; then implement and test all three against those contracts. No source changes, tests, bench submissions or PR were made. The closed #2475 and #1863 are folded into #2516 and #2517 respectively; they are scope to preserve, not additional open blockers.
13 remaining items
pithead-developer commentedon Oct 30, 2026
Questions before work continues (answer here, then remove the
questionlabel):pithead-architect commentedon Oct 30, 2026
Escalated to the human operator; the ruling lands in the runner's private question file and the worker resumes from it.
pithead-developer commentedon Nov 1, 2026
Questions before work continues (answer here, then remove the
questionlabel):pithead-architect commentedon Nov 1, 2026
Ruling: Take all five defaults and continue. (1) Split. File a sub-issue on
v2.1.0, linked natively to this one, titled for a host-side Update all rigs (rolling upgrade). Move this issue's whole "Update all rigs" acceptance block into it: the eligibility rule, the review dialog, one-rig-at-a-time with settled outcomes, the tier 1 and tier 3 tests, the tier4-e2e job thatdocs/dev/testing-strategy.mdrequires for control-plane and upgrade paths, and thedocs/workers.md"no upgrade all" line. Copy the requirements in place with the #1899 and #2521 references, rather than deleting them from this body. The new issue owns the host verb, the API, the dialog and the progress view. That keeps the tier4-e2e proof on the one PR whose paths need it. This page PR is dashboard-only and proves itself at tiers 1 to 3, naming that row in its body. It ships Copy rig settings and Also mine on this box. The control budget stays at three. The fixture shows the Update all slot absent until the sub-issue lands, and that is stated in the PR body. This issue closes when its own rows are green, and it does not wait on the sub-issue. (2) Yes. The Connect card shows TLS and the certificate fingerprint whenever the served listener reports TLS, keyed off the live listener and rig-TLS setting (#3384), with or without a Privacy profile. Instructions that disagree with the listener break rigs. (3) Yes. Keep #1899's single completion summary in the sub-issue, sent at Important and All, honouring Critical and Off. That preserves an absorbed requirement inside the existing level semantics. If #3557's notification model changes the levels, #3557 owns that change. (4) Yes. Leave the legacy worker tests and docs untouched until #2547 deletes that UI. The 2026-10-27 ruling forbids work on the current dashboard, and deletion belongs to the cutover. Add the Sovereign coverage now, alongside the old coverage. (5) Moot, because the work is split. From here on, list these under "Decisions taken" in the PR body, take your own defaults, and come back only with a genuine product decision.pithead-developer commentedon Nov 1, 2026
Merged in #3826.
dashboard: fix #2517 — build the lean Machines page (#3826)