main: find Alkane OS boards in the scan; install/update/uninstall only where they apply #36

Merged
noah merged 2 commits from next into main 2026-11-12 15:42:19 -07:00
Owner

Promote #35 to main for a stable release.

  • The GUI scan now finds boards running Alkane OS (its own /api/identity probe, /api/summary fallback) and the refresh no longer marks them offline.
  • Right-click shows Install alkane OS... only for supported boards not yet on Alkane (incl. a stock S17 whose miner software is down), Update alkane OS... for supported boards already on Alkane, Uninstall alkane OS only for Alkane boards.

Verified live on the bench S17 in both states; main's verify steps pass locally (fmt, clippy -D warnings workspace + GUI, 200 tests, pr-surface self-test, headless UI self-test). Pairs with alkane-os GET /api/identity (alkane-os #16, image v0.1.2-bench1).

Generated with Claude Code

https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i

Promote #35 to main for a stable release. - The GUI scan now finds boards running Alkane OS (its own `/api/identity` probe, `/api/summary` fallback) and the refresh no longer marks them offline. - Right-click shows **Install alkane OS...** only for supported boards not yet on Alkane (incl. a stock S17 whose miner software is down), **Update alkane OS...** for supported boards already on Alkane, **Uninstall alkane OS** only for Alkane boards. Verified live on the bench S17 in both states; main's verify steps pass locally (fmt, clippy -D warnings workspace + GUI, 200 tests, pr-surface self-test, headless UI self-test). Pairs with alkane-os `GET /api/identity` (alkane-os #16, image `v0.1.2-bench1`). Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i
noah added 2 commits 2026-11-12 15:13:36 -07:00
gui: find boards running Alkane OS in the scan; offer install/update/uninstall only where they apply
verify / verify (pull_request) Skipped
source / check (pull_request) Successful in 7m17s
315c595714
The fleet scan (asic-rs) recognises miners by their cgminer socket or vendor
web UI. A board running Alkane OS exposes neither, so it never appeared and
could not be right-clicked; the periodic refresh also marked it offline.

- alkane_detect: probe addresses asic-rs does not identify over HTTP:
  GET /api/identity (alkane-os 0.1.2+: os, version, board, MAC, hostname),
  falling back to /api/summary's "alkane-os" STATUS for older images. Used by
  the scan and the refresh. Rows show Firmware "Alkane" with the version, MAC,
  hostname and control board (XIL (C49) for zynq-7010).
- Context menu: "Install alkane OS..." only for a supported board (control
  board alkane-os has an image for; a stock Antminer on XIL (C49), or by model
  S17/S17 Pro/T17 when the stock miner software is down and reports no board)
  that is not running Alkane; "Update alkane OS..." for a supported board
  already running it (same dialog, updated in place); "Uninstall alkane OS"
  only for boards running Alkane. Mixed selections get neither install nor
  update.
- Docs updated.

Verified live on the bench S17: running Alkane -> found as Alkane 0.1.2,
XIL (C49), update + uninstall offered; restored to stock -> found as Antminer
S17 Stock, install offered. Unit tests for the probe parsing and the menu
rules; an ignored live scan test (ALKANE_TEST_SCAN_RANGE).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i
Merge pull request 'next: find Alkane OS boards in the scan; install/update/uninstall only where they apply' (#35) from feature/alkane-scan into next
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 16m28s
verify / verify-windows (pull_request) Successful in 9m18s
next-build / windows (push) Successful in 4m21s
next-build / candidate (push) Successful in 19m23s
1fa4aa5532
noah merged commit 224b3b37e8 into main 2026-11-12 15:42:19 -07:00
Sign in to join this conversation.