Commit Graph
225 Commits
Author SHA1 Message Date
noah ba0c71665a Merge pull request 'Own Pages site (manual, quality dashboard, benchmarks); remove internal notes' (#20) from repo-cleanup into main
build-test-release / windows (push) Successful in 5m34s
build-test-release / release (push) Successful in 13m43s
2026-11-03 10:10:21 -07:00
noahandClaude Opus 5.5 b12c29b37f Add the user manual
verify / verify-windows (pull_request) Successful in 5m2s
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 7m17s
Ten chapters in docs/manual, published at /manual/ on the project site:
getting started, scanning, the table, health icons, actions, settings and
credentials, restore to stock, export, command line, troubleshooting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:57:38 -06:00
noahandClaude Opus 5.5 df65c7c9cb Give the toolkit its own Pages site with a code-quality dashboard
https://blueflare.gitea.bluefla.re/alkane-toolkit/ is built from this repo
(gh-pages) after every main run: overview, manual, a quality dashboard and the
benchmark history, which no longer goes to alkane-benchmarks. The quality
grade is now Clippy/rustfmt plus the line-coverage band (the coverage badge's
own colour bands), not only the Clippy result, and main CI publishes the full
measurement (per-crate and per-file coverage, LOC per crate) as quality.json
for the dashboard. README badges link to their pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:57:37 -06:00
noahandClaude Opus 5.5 d00e467b1b Take internal working notes and bench details out of the public repo
AGENTS.md, HANDOFF.md, code-review-report.md, the implementation plan and the
aftermarket parity roadmap described the internal bench, its addresses and
in-house firmware; they now live in the private miner-firmware workspace and
are git-ignored here. The remaining docs and the fixture header no longer
point at them or at local infrastructure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:57:37 -06:00
noah 0949870a14 Merge pull request 'Show hashboards and SHA-256 for VNish models asic-rs does not know' (#19) from fix/vnish-unknown-model-boards into main
build-test-release / release (push) Successful in 14m52s
build-test-release / windows (push) Successful in 5m40s
2026-11-03 08:48:11 -07:00
noahandClaude Opus 5.5 ff0cc90b62 Show hashboards and SHA-256 for VNish models asic-rs does not know
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 8m50s
verify / verify-windows (pull_request) Successful in 6m16s
VNish reports the 88-chip S19 as "Antminer S19 (88)", which asic-rs parses
to an Unknown model with no hardware table. The VNish backends sized the
board list from that table, so all three live chains were dropped and the
Health column drew no hashboard icons for hashing miners; the same model also
got an Unknown hash algorithm. Size boards from the chains the miner reports
when the table is missing, and infer the algorithm from the Antminer family
letter (helper shared with the stock backend). asic-rs patch 0034.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:32:28 -06:00
noah abad4879ea Merge pull request 'Say in the Windows zip README whether the executable is signed' (#18) from windows-signed-readme into main
build-test-release / release (push) Successful in 13m28s
build-test-release / windows (push) Successful in 5m32s
2026-11-03 07:21:11 -07:00
noahandClaude Opus 5.5 e7359966ad Say in the Windows zip's README whether the executable is signed
verify / verify-windows (pull_request) Successful in 5m6s
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 7m22s
Signing is now on (Azure Artifact Signing profile alkane-toolkit); the README
tells site users how to confirm the Blueflare signature, or that an unsigned
build will trip SmartScreen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:07:21 -06:00
noah c06cff966d Merge pull request 'Sign the Windows build with Azure Artifact Signing' (#17) from windows-signing into main
build-test-release / windows (push) Successful in 5m29s
build-test-release / release (push) Successful in 13m17s
2026-11-02 19:51:15 -07:00
noahandClaude Opus 5.5 885a007a78 Sign the Windows build with Azure Artifact Signing
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 7m17s
verify / verify-windows (pull_request) Successful in 4m59s
- ci/sign-windows.sh signs alkane-toolkit.exe from Linux with jsign through
  the blueflaresigning account (RFC 3161 timestamped), using the
  least-privilege CI service principal alkane-toolkit-ci-signer. It is a
  no-op until the repository variable AZURE_SIGNING_PROFILE names a
  certificate profile; after that any signing failure fails the build.
- release.yml and next.yml sign before packaging; windows-native.yml checks
  the signature with Get-AuthenticodeSignature on real Windows and requires
  Valid once signing is on.
- CI image adds a Java runtime and a checksum-pinned jsign 7.6 (re-pinned);
  windows-ci.sh fetches the same jar on older images.
- scripts/enable-windows-signing.sh turns signing on after Microsoft
  approves the publisher identity validation: creates the PublicTrust
  certificate profile, narrows the signer role to it, sets the variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 20:38:21 -06:00
noah 35ea1b6e59 Merge pull request 'Run the native Windows job past the default execution policy' (#16) from fix/windows-native-shell into main
build-test-release / windows (push) Successful in 5m25s
build-test-release / release (push) Successful in 13m14s
2026-11-02 18:30:31 -07:00
noahandClaude Opus 5.5 9cf5822ebd Scope the PR private-key check to first-party sources
verify / verify (pull_request) Successful in 22s
verify / verify-windows (pull_request) Skipped
source / check (pull_request) Skipped
The documentation- and workflow-only PR checks grepped every tracked file
for private-key headers, so the test fixtures inside vendored upstream
crates (openssl, rustls-pemfile, aws-lc) failed every such PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 19:29:05 -06:00
noahandClaude Opus 5.5 83eb9f8742 Run the native Windows job's steps past the default execution policy
verify / verify (pull_request) Failing after 30s
source / check (pull_request) Skipped
verify / verify-windows (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 19:25:54 -06:00
noah f2782e7d03 Merge pull request 'Add a native Windows build, tested and released by CI' (#15) from windows-port into main
build-test-release / release (push) Successful in 13m32s
build-test-release / windows (push) Successful in 5m17s
Merge pull request 'Add a native Windows build, tested and released by CI' (#15) from windows-port into main
2026-11-02 18:00:26 -07:00
noahandClaude Opus 5.5 79fe3a2880 Document the Windows build, its CI and the native test runner
verify / verify (pull_request) Successful in 7m32s
verify / verify-windows (pull_request) Successful in 14m34s
source / check (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:56 -06:00
noahandClaude Opus 5.5 cb08b59820 Build, test and release the Windows build in CI
- ci/windows-ci.sh is the one definition of every Windows step (toolchain,
  clippy, build, tests and UI self-test under Wine, packaging, test bundle);
  verify, release and next only call it.
- release.yml: a windows job builds, tests and packages
  alkane-toolkit-vX.Y.Z-windows-x86_64.zip; the release job waits for it
  and attaches the zip next to the Linux tarball. next.yml does the same
  for -rc candidates, verify.yml runs the Windows gates on PRs.
- windows-native.yml (advisory, never gates a release) runs main's
  cross-built unit tests and UI self-test on real Windows 11 through the
  self-hosted VM runner (label alkane-windows).
- CI image: ci/images/alkane-ci.Dockerfile layers mingw-w64, Wine with a
  ready prefix, the rustup target and a prebuilt wxMSW prefix on the
  previously verified image; ci/images/build-image.sh pushes it and pins
  the digest. wx prefix/cache scripts take a linux|windows argument.
- CI checks the wx-rs patch queue; versioning treats the GUI build script,
  Windows resources and assets as release-relevant; the workflow contract
  test covers the Windows gates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:55 -06:00
noahandClaude Opus 5.5 3f5e9917f2 Port the toolkit GUI to Windows (wxMSW, cross-built with mingw-w64)
Build: the wx-rs build script chose the platform with cfg!(), which in a
build script describes the build host, so a Linux-to-Windows build took the
GTK path. It now reads CARGO_CFG_TARGET_*, and Windows/GNU builds through
wx-config exactly like GTK, against a static wxMSW from
scripts/build-wx-windows.sh. The C++ runtime is linked statically, so the
.exe imports only Windows system DLLs. crates/alkane-gui/build.rs embeds an
application manifest (Common Controls v6, per-monitor DPI v2, UTF-8 code
page, Windows 10/11), the icon and version info.

Bridge on wxMSW (patches 0007/0008):
- the upstream frame's invisible "OSX key events" child sat above the UI on
  MSW and swallowed every click and key; it is no longer created there
- light/dark is chosen before the first window (wxMSW ignores it later) and
  follows the Windows app mode, with dark grid rules for the data view
- the generic wxDataViewCtrl gets mouse input in its inner main window, so
  drag-select and the per-cell / per-icon tooltips bind there (GTK keeps
  its native GtkTreeView paths; the icon hit-test is shared)
- sizes cross the Rust/C++ boundary in DIPs (identity on GTK), so columns,
  icons, KPI cards and the status bar scale at 125-200 %
- vector shapes go through GDI+ (anti-aliased like Cairo on GTK); selected
  rows use the themed list-view text colour like the native renderer
- the frame never opens larger than the monitor work area; title-bar icon
  from the executable; upstream menu insert no longer reads UTF-8 as UTF-16

App: OS differences live in alkane_core::platform (settings in
%APPDATA%\alkane-toolkit, owner-only secret files, NUL, console-less helper
processes). SSH password logins use SSH_ASKPASS with the toolkit itself as
the helper on every platform, replacing sshpass, which Windows lacks.
Release builds are GUI-subsystem; headless modes attach to the parent
console.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:44 -06:00
noahandClaude Opus 5.5 3ab329c5f0 Make the wx-rs patch queue reproducible and checkable
The queue had drifted from the patched tree it describes: 0003 predated
rounds 12-19 of bridge work, 0005 no longer applied on top of it, and the
Cargo.toml note and the case-duplicate readme.md were in no patch at all.
Vendor the pristine crates.io crate (sha256 pinned in VERSION) and add
scripts/wx_rs_patches.py: 'check' rebuilds the tree from upstream + patches
and requires an exact match, 'capture' records an edit as the next patch.
0002/0003 are regenerated to the current bridge files (0005's GTK tooltip
fix is folded into 0003); 0005 now carries the packaging leftovers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:30 -06:00
noahandClaude Opus 5.5 1ff14508cb Restore wxWidgets files the tarball's own .gitignores kept out of git
The vendored wxWidgets 3.3.3 tree was missing 44 files of the pinned release
tarball (pnglibconf.h, PCRE2's configure and libtool files, libtiff build/):
the tarball ships nested .gitignore files, so a plain git add dropped them.
Linux links the system libpng/pcre2 and never noticed; the builtin libraries
the Windows build uses need them. The tree now matches the tarball
(sha256 81b09d6d...) byte for byte; VERSION says how to re-vendor safely.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:14 -06:00
noah f302de1d03 Gate first-party Toolkit Rust formatting
build-test-release / release (push) Successful in 36m26s
2026-10-20 19:42:41 -06:00
noah 035896ab00 Install rustfmt before CI format gates
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m44s
2026-10-20 19:32:20 -06:00
noah 5af2818c24 Describe formatting in quality badge
source / check (pull_request) Skipped
verify / verify (pull_request) Failing after 48s
2026-10-20 19:30:25 -06:00
noah 05585dea29 Format first-party GUI and gate Rust style 2026-10-20 19:29:43 -06:00
noah fc20ce18b9 Clarify Toolkit quality badge scope
build-test-release / release (push) Canceled after 0s
2026-10-20 19:28:47 -06:00
noah e9f0d4abef Clarify Toolkit quality badge scope
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 11m59s
2026-10-20 19:11:50 -06:00
noah 3fbd29c595 Merge pull request 'Isolate trusted toolkit jobs from fast runner' (#10) from ci/isolate-fast-runner-main into main
build-test-release / release (push) Canceled after 0s
2026-10-20 18:58:53 -06:00
noah 81e9d19632 Isolate trusted toolkit jobs from fast runner
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 12m56s
2026-10-20 18:45:04 -06:00
noah d07fccd9b1 Merge pull request 'Clarify Toolkit control and flashing scope' (#8) from docs/readme-scope into main
build-test-release / release (push) Successful in 16m42s
2026-10-19 23:52:32 -06:00
noah b70decb5ad ci: close documentation-only verification block
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m32s
2026-10-19 23:42:07 -06:00
noah ac7575ba65 docs: clarify toolkit control and flash scope
source / check (pull_request) Skipped
verify / verify (pull_request) Failing after 45s
2026-10-19 23:38:44 -06:00
noah 3d0cc99936 Merge pull request 7: ci benchmark input context
build-test-release / release (push) Successful in 17m29s
2026-10-19 07:23:37 -06:00
noah 055a183e9b ci: mark benchmark deltas with unchanged build inputs
verify / verify (pull_request) Successful in 11m28s
2026-10-19 07:04:44 -06:00
noah 21e3c5fe85 Merge pull request 'ci: scope Toolkit workflow-only pull request checks' (#6) from ci/workflow-only-pr into main
build-test-release / release (push) Successful in 13m45s
2026-10-19 06:45:20 -06:00
noah ac4a8b389d ci: scope Toolkit workflow-only pull request checks
verify / verify (pull_request) Successful in 12m44s
2026-10-19 06:31:16 -06:00
noah 9367bacc91 Merge pull request 'ci: restore Toolkit main release to Alkane build pool' (#5) from ci/restore-main-release-pool into main
build-test-release / release (push) Successful in 17m18s
2026-10-19 06:30:16 -06:00
noah c98232b9fd ci: route full Toolkit main release to Alkane build pool
verify / verify (pull_request) Successful in 10m37s
2026-10-19 06:18:28 -06:00
noah efd5f85eb8 Merge pull request 'Use persistent Alkane cache for Toolkit main releases' (#4) from ci/static-main-release into main
build-test-release / release (push) Successful in 32m30s
2026-10-19 05:11:16 -06:00
noah 3da9df9f6b Run Toolkit main release on persistent Alkane verifier
verify / verify (pull_request) Successful in 10m32s
2026-10-19 04:13:38 -06:00
noah 4826f47893 Merge pull request 'Use bounded Rust cache in Toolkit main and next CI' (#3) from ci/cache-main-and-next into main
build-test-release / release (push) Successful in 15m59s
Use bounded Rust cache on Toolkit main and next
2026-10-19 00:04:50 -06:00
noah 3f4a2352c6 Bound Toolkit release compiler parallelism to measured memory
verify / verify (pull_request) Successful in 10m41s
2026-10-18 23:53:33 -06:00
noah c0a5a352d8 Use bounded Rust cache in Toolkit main and next CI
verify / verify (pull_request) Canceled after 1m23s
2026-10-18 23:51:54 -06:00
noah ca3d97696b Merge pull request 'Scope Toolkit PR checks and use prebuilt CI tools' (#2) from ci/docs-pr-fast-path into main
build-test-release / release (push) Canceled after 0s
Speed Toolkit CI with scoped PR checks and bounded compiler caching
2026-10-18 23:49:27 -06:00
noah cd8d40b50d Pilot bounded Rust compiler cache in Toolkit verification
verify / verify (pull_request) Successful in 10m5s
2026-10-18 23:01:58 -06:00
noah 87ba049fc6 Avoid duplicate source job for Toolkit main PRs
verify / verify (pull_request) Successful in 28m8s
2026-10-18 22:35:04 -06:00
noah 671b7beff5 Use prebuilt CI tools and skip redundant wx cache transfer
source / check (push) Canceled after 5m24s
verify / verify (pull_request) Canceled after 6m45s
2026-10-18 22:28:35 -06:00
noah 3c375ede5f Skip wx cache upload when image supplies the library 2026-10-18 22:15:27 -06:00
noah 950f920bb3 Reject symlinked wx prefix markers 2026-10-18 22:02:48 -06:00
noah 1de566427a Verify wx source provenance before reusing prefix 2026-10-18 21:56:00 -06:00
noah 7f07db567f Publish Toolkit benchmarks on Pages runner after main CI 2026-10-18 21:50:25 -06:00
noah d53665bce3 Include every Toolkit crate in unit coverage 2026-10-18 21:31:36 -06:00