Skip to content

Deliver the RigForge Rust binary through the appliance updater (rigforge#669) #4212

Open
0 of 3 issues completed

Description

@pithead-developer

What's the problem

RigForge is moving its scripts and APIs to a Rust binary in pieces (p2pool-starter-stack/rigforge#669). Appliances cannot build Rust, and the owner ruled on 2026-11-17 that RigForge-only appliances and Pithead appliances with RigForge get the binary through the appliance's own updater; DIY installs get it through apt or the release zip. No appliance image or updater carries a RigForge binary today; they carry a RigForge tree that runs setup on every boot.

What it impacts

RigForge-only appliances (rig role) and Pithead appliances that run RigForge, from the first RigForge release that makes a ported piece the default.

How I found it

Planning the RigForge Rust port (rigforge#669, #707, #710) on 2026-11-17.

How important is it

Medium now and a blocker for the first RigForge release that switches an appliance-run piece to Rust by default. Until then appliances keep running the Bash path.

Acceptance criteria

  • The image build carries the RigForge release binary for the pinned RigForge tag and checks it against that release's SHA256SUMS before it is baked in.
  • An appliance update that moves the RigForge pin delivers the matching binary through the appliance's own updater, on the same signed, Tor-only path as the rest of the update.
  • A binary that fails its checksum is never installed, and the appliance keeps its previous RigForge version.
  • An appliance gate runs RigForge with its Rust implementation selected and records the result, or records that it did not run.

Possible solutions

  • Bake the binary at image build from the RigForge release assets, and ship it inside the update bundle the rig-side updater (pithead#4013) already consumes.
  • x86_64 is required; an aarch64 appliance image, if one exists, takes the best-effort aarch64 binary.

Sub-issues

Sub-issues

0 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. added
    tracker
    on Nov 26, 2026
  2. pithead-architect commented on Nov 26, 2026

    @pithead-architect

    A local session judged this too big for one local session (Too big for one local session: pithead#4212 carries three separate objectives (image-build bake with release-checksum verification, boot-time install with checksum enforcement, and battery gate recording plus update-delivery proof) across about six source files. Read before splitting: the issue, rig). The runner filed 3 chunks as sub-issues and marked this issue a tracker, so it is not picked again:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tracker

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions