Commit Graph
164 Commits
Author SHA1 Message Date
noah 6f9d73bdcb Require observed MTD geometry before resolving flash target
next-build / candidate (push) Successful in 2m31s
2026-10-17 09:02:13 -06:00
noah a979f06d45 Parse MTD layouts before board flash planning
next-build / candidate (push) Canceled after 0s
2026-10-17 08:02:02 -06:00
noah 15367d1065 Add bounded read-only SSH board probes
next-build / candidate (push) Successful in 4m50s
2026-10-17 07:02:01 -06:00
noah 366cded208 docs: shorten Toolkit entry guide
next-build / candidate (push) Successful in 4m51s
2026-10-17 01:42:10 -06:00
noah 83501016d8 Publish Toolkit benchmarks on the standing Alkane runner
next-build / candidate (push) Successful in 2m50s
2026-10-17 01:21:27 -06:00
noah 3afae0a0c5 Validate public benchmark page before upload
next-build / candidate (push) Successful in 2m42s
2026-10-16 08:47:42 -06:00
noah b74e04458a Publish Toolkit benchmarks to public Pages site
next-build / candidate (push) Canceled after 0s
2026-10-16 07:20:03 -06:00
noah ff6ed6bf9e Bound queued Toolkit CI attempts per branch
next-build / candidate (push) Canceled after 0s
2026-10-16 07:08:58 -06:00
noah 77b9fc3072 Average benchmark improvements equally in Toolkit badge
next-build / candidate (push) Successful in 4m49s
2026-10-16 06:02:55 -06:00
noah f2d777a484 Require complete Toolkit benchmarks before release
next-build / candidate (push) Successful in 4m47s
2026-10-16 05:12:21 -06:00
noah d2457b5158 Benchmark health diagnostics on representative miners
next-build / candidate (push) Successful in 5m0s
2026-10-15 20:19:36 -06:00
noah 8b704418b7 Guard UTF-8 naming and repair headless screenshots
next-build / candidate (push) Successful in 5m9s
2026-10-15 20:10:42 -06:00
noah b790595938 Stage verified flash images before device writes
next-build / candidate (push) Successful in 4m44s
2026-10-15 19:10:45 -06:00
noah ff3eb2f516 Grade Toolkit code quality from static checks
next-build / candidate (push) Successful in 4m48s
2026-10-15 19:04:10 -06:00
noah f246a84cb9 Set Rust-first core implementation policy
next-build / candidate (push) Successful in 4m45s
2026-10-15 14:46:30 -06:00
noah 69ac98f90b Simplify Toolkit docs and update installer status
next-build / candidate (push) Successful in 4m47s
2026-10-15 14:37:27 -06:00
noah beb036f891 Clean candidate build after prerelease decision
next-build / candidate (push) Successful in 4m49s
2026-10-15 12:43:24 -06:00
noah 66b9bd125b Clean generated Toolkit builds after CI and local GUI builds
next-build / candidate (push) Successful in 5m11s
2026-10-15 11:52:21 -06:00
noah d151bee768 Parse Rust test harness benchmark output
next-build / candidate (push) Successful in 4m49s
2026-10-15 04:06:52 -06:00
noah 0ed4911843 Compare toolkit benchmarks on matching CPU classes
next-build / candidate (push) Successful in 4m48s
2026-10-15 03:37:30 -06:00
noah 988b853106 Derive toolkit quality grade from measured coverage
next-build / candidate (push) Successful in 4m46s
2026-10-15 03:34:41 -06:00
noah 2d0ea77ddb Revalidate artifacts and guard complete flash streams
next-build / candidate (push) Successful in 4m54s
2026-10-14 20:54:42 -06:00
noah 0e52c6640b Use Gitea-compatible pinned artifact upload
next-build / candidate (push) Successful in 4m55s
2026-10-14 20:51:35 -06:00
noah 72e56ae4b0 Publish measured toolkit badges from main CI
next-build / candidate (push) Successful in 4m53s
2026-10-14 20:45:03 -06:00
noah 617d2f299b Guard verified artifact writes with recovery checks
next-build / candidate (push) Successful in 5m2s
2026-10-14 20:40:35 -06:00
noah 66eb3e8cdb Verify toolkit firmware artifacts before install
next-build / candidate (push) Successful in 4m50s
2026-10-14 20:31:26 -06:00
noah c85574ff3a Record private toolkit benchmark history
next-build / candidate (push) Successful in 4m48s
2026-10-14 20:21:38 -06:00
noah 7c4f04c7d8 Standardize toolkit CI badges and scoped release auth
next-build / candidate (push) Successful in 4m59s
2026-10-14 20:06:48 -06:00
noah 5da85e6a21 Merge branch 'tooling-standard' into next
next-build / candidate (push) Successful in 2m27s
2026-10-13 12:10:34 -06:00
noah 50d781b44c Read benchmark coverage from release objects
build-test-release / release (push) Successful in 8m9s
2026-10-13 12:09:59 -06:00
noah dd075b48f0 Point next CI badge at next attempts
next-build / candidate (push) Successful in 2m22s
2026-10-13 11:54:38 -06:00
noah 4f5cf2b731 Trim CI script trailing blank lines
build-test-release / release (push) Failing after 11m27s
next-build / candidate (push) Successful in 5m45s
2026-10-13 11:54:00 -06:00
noah 539dc6c05e Add next release candidates and main branch gates
build-test-release / release (push) Failing after 11m4s
2026-10-13 11:53:22 -06:00
alkane-ci d28e2bd584 ci: refresh README badges [skip release] 2026-10-02 16:16:14 +00:00
noahandClaude Opus 4.8 b590d32b0a feat(gui,asic-rs): hashboard yellow-not-red, power-limit column, chip/HB/PSU-serial coverage
build-test-release / release (push) Successful in 6m10s
Round 21 (three reported items).

1. A hashboard that is still mining near full hashrate but has some failed chips
   now shows yellow (degraded), not red. VNish emits per-board chip failures as
   Warning while the board is mining (Error only when the board is not mining),
   and board_healths() renders a warning-only board as Degraded instead of Down.
   Verified live on 10.4.0.193 (mining ~83%, dead chips -> yellow).

2. New "Power limit" column: the configured power-target setpoint in watts
   (MinerRow.power_limit_w, from a Power tuning target). WhatsMiner shows its
   "Power Limit" (e.g. 2500 W); the value was already scanned but had no dedicated
   column. Numeric (sortable/filterable), Performance category, opt-in.

3. Chip + hashboard model coverage:
   - VNish hashboard model scanned from factory-info board_model (A3HB70601,
     BHB42603, ...) -- 147-unit fleet gains HB model. Both VNish backends.
   - WhatsMiner v1/v2 PSU serial scanned from get_psu serial_no (was hardcoded
     None). 48-unit fleet gains PSU serial.
   - Chip type derived from the detected model for Antminer hardware (VNish/stock/
     LuxOS/Braiins/UMC never report a chip string on the wire), in naming.rs:
     S21Pro->BM1370, S19jPro->BM1362, S19KPro->BM1366, S19/T19->BM1398, etc.
     Only high-confidence mappings; WhatsMiner and unknown models stay blank.
   PSU Vmin/Vmax remain Braiins/ePIC-only (not on the wire for WhatsMiner/VNish/
   Antminer -- confirmed live).

asic-rs patch 0033. 95 unit tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-10-02 10:09:07 -06:00
alkane-ci f43ce4dc10 ci: refresh README badges [skip release]
verify / verify (push) Successful in 6m50s
2026-09-24 21:33:46 +00:00
noahandClaude Opus 4.8 0a29937a6a fix(gui,vnish): hashrate 0-vs-dash, paused health colours, VNish per-hashboard faults
build-test-release / release (push) Successful in 19m26s
- Hashrate cell: a readable 0 hashrate now shows "0.00T" instead of a dash. The
  dash is reserved for an unreadable/absent hashrate. New MinerRow.hashrate_known
  records whether the miner reported a value; combined_si/num_value key off it,
  and scan/fixtures set it from data.hashrate.is_some().
- Paused-miner Health icons: the control board (brain) and PSU keep their true
  health (green when fine) instead of turning blue; fans turn blue only when
  actually stopped (0 RPM) and stay green while spinning; hashboards stay blue
  while paused (idle is the expected state).
- VNish per-hashboard faults: DataField::Messages now also reads the summary
  chains (chip_statuses red/orange + per-chain state) and emits one message per
  faulted board, attributed to MinerComponent::HashBoard{idx}, so the Health
  column reds the specific board and its tooltip carries the fault instead of it
  landing on the brain. Applied to v1_2_0 and v1_3_0. patch 0032.

Verified live: VNish 10.7.1.25 -> "Hashboard 2: 1 degraded chip(s)" on board idx
1; healthy 10.7.1.122 -> no messages. 93 unit tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-24 15:14:20 -06:00
alkane-ci 5cdcb16fd8 ci: refresh README badges [skip release] 2026-09-24 19:32:29 +00:00
noahandClaude Opus 4.8 5d7bafc923 fix(gui): paused/stopped miners shown as broken (red) instead of paused (blue)
build-test-release / release (push) Successful in 24m23s
A miner an operator has stopped (e.g. 10.4.1.122, VNish miner_state "stopped" ->
OperatingState::Stopped) was read as broken: red hashboards and counted under "not
hashing" instead of "Paused".

Two causes:
1. is_paused() only matched the literal "pause" substring, so "Stopped"/"Stopping"/
   "Suspended" -- every other firmware's word for an intentional, resumable halt --
   fell through to not-paused. Now matches pause/stop/suspend (Error stays broken).
2. encode_component_health applied the paused-blue treatment to hashboards only
   (round 19 #19), so a paused miner's idle fans/power still rendered red. A stopped
   miner's off components are expected, not faults: colour every reported component
   blue when paused (an undetected/Unreachable one still stays grey -- "not present"
   is not "paused").

Verified live against 10.4.1.122 on a headless build: the row now shows all-blue
health (power grey, honestly unreachable) and counts under the Paused KPI, where it
previously showed red boards + "not hashing".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-24 13:08:18 -06:00
alkane-ci 3c955fed94 ci: refresh README badges [skip release] 2026-09-24 16:25:36 +00:00
noahandClaude Opus 4.8 cd78ab9b27 fix(gui): health icon tooltips never showed -- tip area used wrong coordinates
build-test-release / release (push) Successful in 18m28s
Round 19 #2. The health-icon hover tooltips never appeared because the GTK
query-tooltip handler built the per-icon "tip area" from gtk_tree_view_get_cell_area
(BIN-WINDOW coordinates) and passed it to gtk_tooltip_set_tip_area, which expects
WIDGET coordinates. The area was offset upward by the column-header height, so it
did not contain the pointer, and GTK suppresses any tooltip whose tip area excludes
the cursor -- so nothing showed. The Errors column worked because it sets no tip
area. Prior fixes (rounds 15/18/19) only tuned the icon slot math, which was already
correct; the coordinate-system mismatch was the actual cause.

Convert the slot rectangle from bin-window to widget coordinates with
gtk_tree_view_convert_bin_window_to_widget_coords before gtk_tooltip_set_tip_area.
The slot hit-test (block_left/adv, in bin-window coords) is unchanged and still
matches DrawShape's uniform health-icon advance. wx-rs patch 0005.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-24 10:03:58 -06:00
alkane-ci d4bae06c14 ci: refresh README badges [skip release] 2026-09-24 00:27:48 +00:00
noahandClaude Opus 4.8 6b42035b8e asic-rs telemetry: VNish fan%/temps, WhatsMiner chip type, and auto-tuner status
build-test-release / release (push) Successful in 16m40s
Round 19 #10 telemetry extension, live-verified. Two logical changes (patches 0030
and 0031) shipped together; they populate existing GUI columns plus one new "Tuner"
column.

VNish + WhatsMiner (patch 0030, no core/GUI change):
- VNish v1_2_0 + v1_3_0: fan duty % (summary /miner/cooling/fan_duty) and board temp
  thresholds (settings restart_temp -> dangerous, auto cooling param -> target).
  Live-verified 10.4.1.50 (81 / 90 / 65). No PSU serial exposed -> stays None.
- WhatsMiner chip type (per user, do not drop): v1/v2 summary "Chip Data" merged
  into hashboards -> BoardData.chip_type (first token); v3 chipdataN -> chip_type and
  hash-board ("K40") -> hashboard_model.

Auto-tuner status (patch 0031):
- New DataField::TunerStatus + MinerData.tuner_status (Option<String>), riding the
  existing GetOperatingState trait via a defaulted parse_tuner_status.
- Braiins: performance/tuner-state overall_tuner_state via the BOS+ TunerState enum
  (Disabled/Stable/Tuning/Error/Continuous/Preheat) -- mapping from the bos-plus-api
  proto. ePIC: PerpetualTune -> Off/Optimized/Tuning. Others -> None.
- GUI: new "Tuner" column (Health & status category, auto-hidden when empty).

All values live-verified against the corpus miners (ePIC 10.4.1.6, LuxOS 10.4.1.60,
Braiins 10.4.1.83, VNish 10.4.1.50). Fixture tests assert every parsed value.
ALL_COLUMNS 71 -> 72.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-23 18:10:57 -06:00
alkane-ci e58c5ef769 ci: refresh README badges [skip release] 2026-09-23 23:57:28 +00:00
noahandClaude Opus 4.8 6ef91fcd10 asic-rs telemetry: board temp thresholds -> target/hot/dangerous (LuxOS, Braiins; remap ePIC)
build-test-release / release (push) Successful in 16m46s
Round 19 #10 telemetry extension. Live-verified against the corpus miners, this
remodels the board temperature thresholds to item #10's target/hot/dangerous scheme
and adds the LuxOS and Braiins backends. Supersedes the ePIC-only critical/shutdown
model shipped in v0.72.0.

Core (asic-rs-core):
- MinerData: temp_critical/temp_shutdown -> temp_target/temp_hot/temp_dangerous.
- parse_temperature_limits (defaulted on the existing GetFluidTemperature trait)
  now returns (target, hot, dangerous); parse_data wires all three fields.

Backends (each reads an already-fetched or single command; live-verified):
- LuxOS: new tempctrl RPC; ChipTarget/ChipHot/ChipDangerous (live 10.4.1.60 = 83/93/100).
- Braiins v25_07 + v26_04: configuration/constraints cooling_constraints defaults
  (live 10.4.1.83 = 60/80/90); WEB_CONSTRAINTS already fetched for tuning caps.
- ePIC remap: Shutdown Temp -> hot, Critical Temp -> dangerous, no target.
- VNish (settings restart_temp/param) handled in a follow-up (needs settings auth);
  Antminer/WhatsMiner expose no thresholds -> (None,None,None).

GUI: the two temp columns (Critical/Shutdown) become three (Target/Hot/Dangerous),
right-aligned, Temperature category, auto-hidden when empty. MinerRow gains
temp_target_c/temp_hot_c/temp_dangerous_c; to_row reads them. ALL_COLUMNS 70 -> 71.

Fixtures captured from live: luxminer tempctrl.json, braiins configuration_constraints.json.
Fixture tests for epic, luxminer, braiins v26_04 assert the parsed thresholds. Patch 0029.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-23 17:40:33 -06:00
alkane-ci f03c04b260 ci: refresh README badges [skip release] 2026-09-23 23:10:06 +00:00
noahandClaude Opus 4.8 4b5d7d9c27 asic-rs telemetry T3-temps: board temperature thresholds (critical / shutdown)
build-test-release / release (push) Successful in 16m3s
Round 19 #10 telemetry extension. Adds the board temperature safety thresholds
("board dangerous temp" from item #10).

Core (asic-rs-core):
- New DataField::TemperatureLimits; MinerData gains temp_critical and temp_shutdown
  (Celsius).
- Rides the existing GetFluidTemperature trait via a defaulted parse_temperature_limits
  method returning (critical, shutdown) -- no supertrait blast radius; parse_data
  wires both fields in.

Backend:
- ePIC: summary /Misc Critical Temp + Shutdown Temp (already-fetched summary).
- Antminer/WhatsMiner expose no thresholds; LuxOS needs an unwired tempctrl command
  (no fixture) and VNish/Braiins need live verification -> left for a live-verified
  pass, all inherit (None, None).

GUI: two new columns (Critical temp / Shutdown temp), right-aligned, Temperature
category, auto-hidden when empty. MinerRow gains temp_critical_c / temp_shutdown_c;
to_row reads them. ALL_COLUMNS 68 -> 70.

Fixture test for epic asserts the parsed thresholds. Patch 0028.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-23 16:53:57 -06:00
alkane-ci b450f9ad8a ci: refresh README badges [skip release] 2026-09-23 22:43:35 +00:00
noahandClaude Opus 4.8 673af176ab asic-rs telemetry T3-fan: miner-level fan duty cycle (fan speed %)
build-test-release / release (push) Successful in 15m16s
Round 19 #10 / #8 telemetry extension. Adds the fan duty cycle as a miner-level
percentage -- the normalized fan-load indicator the GUI wanted alongside per-fan
RPMs. No firmware exposes a maximum fan RPM, so a true actual/maximum pair is not
possible; the duty cycle is the closest normalized signal.

Core (asic-rs-core):
- New DataField::FanSpeedPercent; MinerData gains fan_speed_percent (Option<f64>).
- Modeled as a top-level miner-level value (most firmwares report a single duty),
  so FanData is untouched -- no Eq removal / literal churn across its 17 crates.
- Rides the existing GetFans trait via a defaulted parse_fan_speed_percent method
  (no supertrait blast radius); parse_data wires it in.

Backends (read already-fetched commands, no extra round-trips):
- ePIC: summary /Fans/Fans Speed (single %).
- LuxOS: max of FANS[].Speed.
- Braiins v25_07 + v26_04: max of cooling fans[].target_speed_ratio x 100.
- Antminer (pwm via config) and VNish (fan_duty) have no data fixtures -> left for a
  live-verified pass; WhatsMiner is firmware-locked -> None.

GUI: new "Fan %" column (right-aligned, Cooling category, auto-hidden when empty).
MinerRow gains fan_speed_percent; to_row reads it. ALL_COLUMNS 67 -> 68.

Fixture tests: epic, luxminer, braiins v26_04 assert the parsed percentage. Patch 0027.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-23 16:28:14 -06:00
alkane-ci 16245311d1 ci: refresh README badges [skip release] 2026-09-23 22:10:04 +00:00