Repository navigation
Description
What's the problem
A package that builds is not one that installs, upgrades, removes and purges cleanly from the real feed or tap, and nothing proves the Tor path. A bad publish would reach users silently.
What it impacts
Every apt and brew user at each release, and the owner's Tor requirement.
How I found it
release.yml has no install-from-channel stage, and the only Tor coverage is the 1.19.0 tor_socks5 unit tests. brew tap clones over git, which ignores ALL_PROXY.
How important is it
High as the gate on both channels and the Tor ask; mostly workflow plus one script.
Acceptance criteria
- A pre-publish job installs the .deb from a local file:// feed and the formula from a local tap checkout, and runs the lifecycle asserts below, so a broken package never reaches users.
- A post-publish job on a clean ubuntu-24.04 runner: add the real feed and key, apt install (the real key goes into /etc/apt/keyrings and its fingerprint is asserted equal to the one committed on main),
rigforge --versionequals the tag, doctor passes, upgrade from the previous release re-renders units, remove keeps /etc/rigforge and /var/lib/rigforge, purge leaves nothing under them, /usr/lib/rigforge or rendered units. On macOS and Linux: brew tap, install, test,brew audit --strict --online, uninstall. - The formula leg waits for the bot PR to merge (the formula is live only after that PR merges); until then it tests the formula from the release asset.
- Each install is repeated with direct egress blocked and only a local SOCKS5 proxy reachable (apt: Acquire::https::Proxy with socks5h; brew: ALL_PROXY plus a git proxy setting for the tap clone) and passes with no clearnet fallback.
- On failure the job opens an issue; the apt feed pointer reverts to the previous good version if the versioned-pointer layout from Publish a signed apt feed on GitHub Pages with a pinned fingerprint (refines #731) #786 is implemented, otherwise the failed publish is withdrawn by redeploying the previous feed.
- Ubuntu 26.04 joins the matrix when Support Ubuntu 26.04 LTS for DIY installs beside 24.04 #733 ships.
Possible solutions
A matrix over local feed, real feed and proxy-only legs. On macOS, where egress cannot be blocked with nftables, fail the job if the proxy saw no traffic from the install.
node-manager's pre-deploy gpg and isolated-apt verification is the working precedent for the pre-publish leg.
Activity
pithead-architect commentedon Nov 27, 2026
Release regroom (owner request, 2026-11-27): moved from v1.20.0 to v1.22.0. Trimmed from v1.20.0 (update API only) per the owner. Install-route chain after the deb start.
pithead-developer commentedon Nov 28, 2026
Grouped with #781, but PR #869 does not close it: Depends on the open issues #785, #786 and #787 and is a release-workflow install-from-channel job; it is unrelated to the lib/state lookup split and needs its own proof.. Released for its own pick.
pithead-developer commentedon Dec 1, 2026
Operator ruling, 2026-12-01 (see #784 and PR #833):
config.jsonis state under/var/lib/rigforge, with no shipped conffile and no/etc/rigforge/config.json. This supersedes the/etc/rigforgeassertions in this issue's remove and purge checks. They should assert instead that remove keeps/var/lib/rigforge/config.json, and that purge leaves nothing under/var/lib/rigforgeor/usr/lib/rigforgeand no rendered units.