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

socialweb.computer/socialweb-computer-kcp

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

1 collaborator
0
0

plan 0040: promote 11 red; owner decisions 42-44 (docs only)

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2
docs/plans/0040-findings.md+12−0
@@ -2033,3 +2033,15 @@ Each: what was seen (with the log), the cause, the fix, its proof.
in 96 s, uid=0, the guest installed the from binary 6007303f. Control (upgrade to main a5269317, no fix): 404 on
every attempt, the guest stuck: the bug reproduced. The entry 0007:upgrade failed on its own race (it hashed the
binary 32 s before the install ended): fixed in 1bc09c88 (waits for setup-guest-binaries, bound 300 s); not rerun.
- PROMOTE 11 RED (v0.0.1-rc0, main db33c9ff: the check-host help text, the one change after roll one; 04:38Z to
05:55Z 11-19): `gate: prod: 29 of 30 PASS`. FAIL 0005:r2fail (john): "KNOWN GAP rc166: the failed R2 left
["did:plc:fk6lydtaor3ib4r4dqpk7hae"] live at PLC 5 min after the release" (it passed in promotes 7, 9 and 10).
Rolled back to v0.0.0-rc186 (the stable); artifacts kept (145 of gate-runs). So the rolls are 1 green, 1 red: two
consecutive greens are still owed. Agent `rc-r2fail`. Same cycle, staging: test-3 16/16 green; test-1 and test-2
FAILED AT STAND-UP, no entry run: "bidder-1: install bidder failed ... guest-image context deadline exceeded" at
869 MiB and 1010 MiB of 1.44 GiB: the staging module's bidder install passes no `--network-timeout`, so the
product default of 3 min applies (`internal/install/install.go:66`); both bidder VMs had been placed on home hosts
(hat-8, hat-7: 4.8 and 5.6 MiB/s against 8.2 needed; droplet-placed bidders are ready in ~80 s). Fix on branch
`rc-image` (36c2be1a: `--network-timeout 20m`, as the module's other installs; a CI stage change: rehearse by hand
first). Reruns of both shares on the same commit started 05:19Z. The roll's restart window was clean on the three
droplets (no ERROR line; every guest subscribed).
docs/plans/0040-release-pipeline.md+24−11
@@ -3,19 +3,20 @@
Status: the only plan in flight (owner, 2026-11-17); docs/plans/0001-0039 and NEXT.yaml are history. How to run, hold
and debug CI by hand: `docs/ci-debug.md`. The state before this work: main e39097c2 (2026-11-12).
State (2026-11-19 04:30Z; updated by the lead):
State (2026-11-19 07:30Z; updated by the lead):
- Main is 688c2105: everything of this plan; the export gate (decision 41) on top of a5269317.
- Main is db33c9ff: 688c2105 (roll one's commit) plus one CLI help text line.
- STAGING IN CI: 43 of 43 PASS at d6a2b391, a5269317 and 688c2105 (`scripts/ci-staging-total.sh`, exit 0).
- PROD IN CI: 30 of 30 PASS at 688c2105 (promote rc186, 04:22Z 11-19). Before it 28, 29, 26 of 30.
- ROLLS: 1 of 2. Promote 10 (rc186) is green: stable v0.0.0 = main 688c2105 (`releases/v0.0.0/`). Nine promotes
before it were red or cancelled (findings). Roll two: the next push that builds.
- Open, not landed: `rc-pins` (a bidder's self-update drops the downloads its live guests still fetch: reviewed,
proven by hand; its entry 0007:upgrade makes staging 44 and needs two landings); `ten` (accept and RBAC write
retries, reviewed); `rc-writes` 0fbbfded (webrtc ingress offer, awaits review); `rc-reserve` (bidder reservations,
reviewed, unproven as a cause).
- Compute: three `swc-dev` droplets (c-32, $1/h each), bob's bidders; destroy when the plan is done. After any CI
cancel: remove the VMs it leaves on the bidders (`~/.tmp/int/rm-orphans.sh`).
- PROD IN CI: 30 of 30 PASS at 688c2105 (promote rc186, 04:22Z 11-19). At db33c9ff: 29 of 30 (0005:r2fail).
- ROLLS: promote 10 (rc186) GREEN: stable v0.0.0 = main 688c2105. Promote 11 (v0.0.1-rc0, db33c9ff) RED; rolled
back to rc186. Two consecutive greens are still owed. No time constraint any more (decision 43).
- NEXT (decision 43): the cycle in series on four home bidders: one `test` workflow, then `promote` (branch
`ci-series`, in work), carrying `rc-image` (staging bidder install's image budget; rehearsed) and the failed-run
fetch fix. Then, reviewed and waiting: `rc-r2fail` (decision 42), `ten` (accept and RBAC write retries).
In work or awaiting review: `rc-cap` (bidder reservations with no guest behind them: 0014:concurrent, twice),
`rc-pins` (a self-update drops the downloads live guests still fetch; proven by hand; entry 0007:upgrade makes
staging 44), `rc-writes` (webrtc ingress offer), `docs-0041` (decision 44).
- Compute: the three `swc-dev` droplets are destroyed. Prod: hat-7, hat-8, hat-9, hat-10.
## Flow
@@ -472,6 +473,18 @@ All answered 2026-11-17.
watch opened on the old definition; 0006:run and 0008:run require zero): "Gate only for now": the provider waits
for the schemas its binary carries; what is logged does not change and neither does the assertion; revisit with
evidence if the line recurs.
42. (2026-11-19, AskUserQuestion) The renter retires a guest requester's did:plc that was reported but never
verified (0005:r2fail) only when its document also names this contract's handle, beside the renter's rotation key
and `agent-of`: "If Approve the check is correct then go with that. If you are unsure about it for any reason keep
digging". An independent security review found it correct and necessary (without it a guest could have another
contract's guest or an associated identity retired): approved.
43. (2026-11-19) "We are no longer under time constraints. Can you spin down the DO swc-dev droplets we were using
for bidders and move staging and prod-test back into series instead of parallel, all staging in one workflow and
prod in the next or however it used to be so that we don't need as much compute although it might take longer."
The three droplets are destroyed (07:20Z 11-19); prod is hat-7, hat-8, hat-9, hat-10. This replaces "promote
alongside" and the four shares (decisions on shards and drivers stand only as far as four home hosts carry them).
44. (2026-11-18) The kcp docs (plan 0041 step 3) now: "extremely minimal wording and mostly known working runnable
examples to run the bidder requester in different ways". Branch `docs-0041`.
.plans.yaml+1−1
@@ -20,7 +20,7 @@ plans:
waits_on: "steps 0-20"
ci_rolls:
target: "step 21: two consecutive green CI promote runs to stable, no hand roll; between them only CLI help text changes under paths:"
now: "1 of 2: promote 10 (rc186, main 688c2105) green 04:22Z 11-19, stable v0.0.0 = releases/v0.0.0/ (log: knotless run list --commit 688c2105f879 --workflow promote --log); roll two = the next push (a check-host help text change); before it: rollback proven by the red rcs 170, 172, 173 and 175 and after a cancel (rc184); prod on rc176 = main 85c689be + the PDS own-account fix, rolled by hand 2026-11-18 (owner decision 17; not yet on main: no promote before it lands); no stable; step 12 (rollback on fail/cancel/timeout) in build on branch step-12"
now: "1 green then 1 red (two consecutive greens still owed): promote 11 (v0.0.1-rc0, main db33c9ff, the help text change) RED 05:55Z 11-19: prod 29 of 30, 0005:r2fail (agent rc-r2fail), rolled back to rc186; promote 10 (rc186, main 688c2105) green 04:22Z 11-19, stable v0.0.0 = releases/v0.0.0/ (log: knotless run list --commit 688c2105f879 --workflow promote --log); roll two = the next push (a check-host help text change); before it: rollback proven by the red rcs 170, 172, 173 and 175 and after a cancel (rc184); prod on rc176 = main 85c689be + the PDS own-account fix, rolled by hand 2026-11-18 (owner decision 17; not yet on main: no promote before it lands); no stable; step 12 (rollback on fail/cancel/timeout) in build on branch step-12"
log: "none yet"
waits_on: "steps 0-20"
docs: