~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0

check-docs: create its work dir; plan 0040 decisions 24-26 and findings

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2
docs/plans/0040-release-pipeline.md+36−0
@@ -370,6 +370,24 @@ All answered 2026-11-17.
by hand and hold it and debug it there": phase-2 lands on main without a fully green hand cycle first; a failed CI
test run is held and fixed in place. More compute: two droplets tagged `swc-dev` (doctl), bob's bidders, destroyed
when the plan is done. Docs and plan are updated as part of each change ("always").
24. (2026-11-18, "Yes on all fronts") (a) The staging gate is split across two staging networks run side by side in
CI: the same 43 entries, none dropped, each network a share (the run-alone entries split too); a third `swc-dev`
droplet for headroom. (b) The first promote is asked as soon as the read-only routes are on main, without waiting
for a green staging run on that commit (a red promote rolls back at once). (c) 0004 and 0013 FAIL when the agent
never posts `<nick> online`. (d) qr.fedfork.com is redeployed from the vendored `did-key-associator/` so its scope
list matches the current build.
25. (2026-11-18) "You may split into more staging networks and spin more droplets as needed to parallelize further":
the shard count is an input (CI default 4 networks), `swc-dev` droplets are added as the measured need shows; three
exist (swc-dev-bidder-1..3, c-32, sfo3, $1/h each), all destroyed when the plan is done.
26. (2026-11-18) The staging stand-up: "Why not just boot that one or make a third? And yes make install parallel": a
third VM image with the suite's tools (Node, Chrome, Deno and their libraries) baked in, keyed by its pins, built
and published by `ci-release.sh` like the other images; the bidders' install steps run for all bidders at once.
Branch `fast-standup`. Measured before (hand cycle 4, two bidders), rent to first test 8 min 34 s: rent and boot
2:39, overlay and accounts 0:44, bidders to Ready 2:19, gateway/atirc/QR 2:26, suite and tools 2:45. (The lead's
earlier "25 to 30 minutes" was unmeasured and wrong.)
@@ -1378,6 +1396,24 @@ Each: what was seen (with the log), the cause, the fix, its proof.
`release-rollback` as the workflow's `stop:`, version records carry `previous`; test.mjs 7 of 7; unproven on the
real runner, module unpublished), `step-17` (check-docs.sh, check-pins-records.sh in deploy/check.sh; --fast green
on hat-8; no run=gate block tagged in kcp docs yet), `step-11` (read-only routes; 0003, 0005, 0007), `stg-bidders`.
- HAND CYCLE 4 (build 5ce234e4, network stg-414197, gate 12:31Z to 14:43Z): 39 of 43 PASS (cycle 3: 34). FAIL:
0002:run and 0008:run (gate VM cap never set for two staging bidders: fixed in main 5ba52b0f, unproven);
0014:impossible ("the maxCpus request waits for capacity", declined null, 58 s: agent on it, branch `rc-0014`);
0020:run ("phase up: the heartbeat names \"\", want \"\"", 681 s, frozen: agent on it, branch `rc-0020`; to check:
whether a bidder installed like prod followed the public channel rc to rc176 when the lead moved it at 14:08Z, and
whether the staging bidders bob2/bob3 did too). First gate passes in this cycle: 0001:run, 0001:s2, 0009:run,
0011:token, 0014:exhausted, 0014:giveup. Result lines: ~/.tmp/ci-hand/seen-results4d.txt.
- phase-2 LANDED on main as 5ba52b0f (14:32Z, pull 3n2lrksw6pyqn, owner decision 23); main's release run started.
- Three `swc-dev` droplets are bob's bidders since ~14:40Z (branch `swc-dev-bidders` 7e55fe8f: DIDs in
rc-operators.json): heartbeat rc176, outside createAccount refused, one real rent each. Hosts unfiltered (no
firewalld; hat-10 has it): open with the owner.
- Read-only ops routes built on `step-11` (2ebff991): seven GET routes `com.fedfork.exec.ops.*`, bearer secret file,
discovery in ci-prod-target.sh; 0003 by bidderDids, 0005:b/0007:run kcp delete only with write access. Nothing run
against a real bidder. In independent security review before merge.
- MAIN 5ba52b0f's release run FAILED in `checks` (14:5xZ; test failed with it, nothing ran): `mktemp: failed to
create directory via template '/root/.tmp/check-docs.XXXXXX'`: scripts/check-docs.sh (step 17, merged today) made
its work dir under `$HOME/.tmp`, which a fresh CI VM does not have. The lead merged it on a hat-8 pass alone: a CI
stage change not rehearsed as CI runs it. Fixed: `mkdir -p` first; rehearsed with an empty HOME (check-docs passes).
- `scripts/ci-hand-market.sh` uses sudo on the bidder hosts (sudo on the hats is allowed by the owner).
- Step 8f, built on branches (kcp `phase-2-page`, requester repo `page-staging`), not yet run on a staging network:
`page-round.mjs` takes `PAGE_PDS`, `PAGE_PLC`, `PAGE_RELAY`, `PAGE_CHROME_ARGS` and the page `?pds=`, `?plc=` (defaults
scripts/check-docs.sh+1−0
@@ -21,6 +21,7 @@ while [ $# -gt 0 ]; do
esac
shift
done
mkdir -p "${TMPDIR:-$HOME/.tmp}"
state="$(mktemp -d "${TMPDIR:-$HOME/.tmp}/check-docs.XXXXXX")" || exit 2
trap 'rm -rf "$state"' EXIT
rc=0
.plans.yaml+1−1
@@ -7,7 +7,7 @@ plans:
progress:
staging:
target: "CI test 43 of 43 PASS, 0 FAIL (no SKIP state), on step 21's second roll's commit"
now: "hand cycle 4 (5ce234e4) gate in flight: 28 PASS, 3 FAIL (0002:run, 0008:run: gate VM cap, fixed for cycle 5; 0014:impossible: not root-caused), 12 to run at 14:30Z 11-18; before it: 34 of 43 (hand cycle 3, ee47b96f, all step 8 layers; cycle 2 was 35 on the older build, cycle 1 29) PASS on the full no-SKIP gate, by hand (phase-2 18d162fc, 2026-11-18, staging net stg-131819; ~/.tmp/ci-hand/staging-18d162fc.log, gate dir /home/stg/stg/gate); CI main still runs its 17-entry list (85c689be green). 14 FAIL: 0001:run, 0001:s2, 0002:run, 0004:run, 0009:run, 0011:run, 0011:token, 0013:b, 0013:c, 0015:run, 0015:pressure, 0017:run, 0017:killed, 0017:killedlate"
now: "0 in CI yet: phase-2 landed on main 5ba52b0f 14:32Z 11-18, release running, test (43 entries) queued; by hand: 39 of 43 (hand cycle 4, 5ce234e4; FAIL 0002:run 0008:run (fixed in main, unproven) 0014:impossible 0020:run (agents rc-0014, rc-0020)); before it: 34 of 43 (hand cycle 3, ee47b96f, all step 8 layers; cycle 2 was 35 on the older build, cycle 1 29) PASS on the full no-SKIP gate, by hand (phase-2 18d162fc, 2026-11-18, staging net stg-131819; ~/.tmp/ci-hand/staging-18d162fc.log, gate dir /home/stg/stg/gate); CI main still runs its 17-entry list (85c689be green). 14 FAIL: 0001:run, 0001:s2, 0002:run, 0004:run, 0009:run, 0011:run, 0011:token, 0013:b, 0013:c, 0015:run, 0015:pressure, 0017:run, 0017:killed, 0017:killedlate"
log: "https://knotless.socialweb.computer/socialweb.computer/socialweb-computer-kcp/check/did:plc:lpfuqerea3deuoyrn7ojser4/65axqkyrfxktwzgcnmn7yddsnv.3n2culsabyx2j.7eq32bpgrmbxidcfbzlf4dtbop.85c689be3b0bf3caee077c659f34986bf1451789.test"
waits_on: "steps 6-10"
prod_ci: