0
0
# 0020 - an installed bidder follows the release channel
Plan 0040 step 4. An installed bidder watches `software.release.channel/socialweb-computer:<rc|stable>` in its
`release-repo` (default socialweb.computer) and installs the version the channel names.
```sh
cd tests
SWC_TARGET=<staging target.json> cargo run -q -p swc-test-host -- compositions/0020 --account alice1 --entry run # B: --input '{"b":"main/<sha>"}'
```
A is the installed build's own `main/<commit>` binary; B defaults to `main/bce9465b` (the first follower that reads the network's
PLC). The host fetches each for its sha256, size and version. The bidder is installed on the target's root host
(`rootHosts`; on staging the atproto VM, `root@127.0.0.1`) with `--market-network-file` and a `--bidder-spec-file` naming
`release-repo`; its heartbeat is read at its agent DID (its offering's repo), not its handle. The agent DID is read from the
bidder's own unit journal (`_SYSTEMD_USER_UNIT=socialweb-computer-bidder@<handle>.service`), never the uid's whole journal: a
uid is reused, and an earlier account's bidder logged its offering there too.
Pass: a bidder installed on the staging root host (`--release-repo` the run's account) names A in its heartbeat after the
account's `rc` channel points at A, then B after it points at B; the records are deleted and the bidder uninstalled. Not run on
prod (`staging` in `tests/entries.txt`). Build A is the installed build's commit at `main/<commit>/`, else `local/<commit>/`
(a hand build); neither: FAIL.
## Readings
| When | Target | Result |
|---|---|---|
| 2026-11-17 | staging (hand cycle, ab95532f) | PASS: followed A in 10 s, B (bce9465b) in 30 s |