~ 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: roll one green at 324f69a1 (staging 47 of 47, prod 31 of 31, stable v0.0.1)

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2
docs/plans/0040-findings.md+16−1
@@ -3341,7 +3341,13 @@ Each: what was seen (with the log), the cause, the fix, its proof.
rollback to 688c2105: table unchanged (`run3-swcguest-after-rollback.nft`); second upgrade: reloaded, byte-identical;
G's iroh ssh session opened before the first upgrade stayed open 82 s and ended cleanly. (3) `0007:fence` PASS again,
528.6 s as alice3 (`run4-*`): the same one-line diff, ICE failed before, `uname -a` after, probe 16/0 then 54/38,
reload 11.2 s after the upgrade, rollback unchanged, second reload identical, the session open 84 s. (4) FAMILIES.
reload 11.2 s after the upgrade, rollback unchanged, second reload identical, the session open 84 s. (4) On the same
network, by hand (`hand.sh`, RESULT lines in `/home/stg/stg/lanes.txt` on its atproto VM): 0003:run PASS 90 s,
0009:run PASS 81 s, 0012:run PASS 71 s, 0007:run PASS 69 s, 0007:webrtc PASS 55 s, 0013:run PASS 809 s, 0013:c PASS
265 s, 0013:b PASS 84 s, 0007:restart PASS 84 s (its in-place core restart reloaded its Held VM's table, same binary:
`guest_rules_reloaded` in `0007-restart-reload.txt`; the VM lived on), 0007:upgrade PASS 155 s (its from-booted guest
on bob3 reloaded at the upgrade: `0007-upgrade-reload.txt`). Every entry of the 0007 (run, restart, webrtc, upgrade,
fence twice), 0013 (run, c, b), 0003:run, 0009:run and 0012:run: PASS, 0 FAIL (`families-lanes.txt`).
ROLLBACK: a binary with this code re-applies its own older rule set; a binary before it (688c2105 and older) has no
`join`, reloads nothing, and its adopted guests keep the newer rules until they end (shown above). SIDE FINDING (not
this fix): a non-agent guest requester's own atirc token mint answers 403 "association not verified" for minutes
@@ -3349,3 +3355,12 @@ Each: what was seen (with the log), the cause, the fix, its proof.
(11 times in 299 s); the entry now counts it (`readings.atirc_mint_403`). NOT PROVEN: prod hosts (no prod bidder runs
this binary); SELinux enforcing on a prod hat for the stub's setns (same domain as the prototype, not run there);
QEMU guests only (staging's bidders run `--vmm qemu`; firecracker shares the path: the pidfd is the recorded VMM's).
- ROLL ONE GREEN (main 324f69a1, v0.0.1-rc3, 2026-11-21): the fix of decision 75 on prod: hat-7's bidder self-updated
at about 07:33:5xZ and logged `guest_rules_reloaded` for the promote's own VM `fc-gmlkrhimouee-8b06f638` at
07:33:58Z (table swcguest, lanUDP true); 0003:run PASS 162 s (bob), 0007:webrtc PASS 102 s (alice), 0013:run PASS
297 s (alice), 0002:run PASS 667 s (alice); `gate: prod: 31 of 31 PASS`, wall 3718 s; stable v0.0.1. Before the
roll the reload was also run on a Firecracker guest on hat-8 (`~/.tmp/fence-adopt/proof/fc-*`: the range accept to
the host's own addresses added, port 31500 passes, 30999 still dropped). SEEN, NOT A FAILURE, TO READ AFTER ROLL
TWO: hat-7's old bidder process logged `releasefollow_failed` "upgrading to v0.0.1-rc3: ... the start job did not
finish" at 07:33:51Z, 7 s before the new process's reload line: the upgrade did complete (heartbeat 394445f3); the
lead's reading, not traced in code: the process that asked for the restart logs the failure as it is replaced.
docs/plans/0040-release-pipeline.md+9−2
@@ -3,7 +3,7 @@
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-21 04:50Z; updated by the lead):
State (2026-11-21 08:45Z; updated by the lead):
- Main: CI in series on four home bidders (decision 43), the fixes of promote 11's cycle, the kcp docs, the site
from the repo (`site/`), the protocol docs.
@@ -80,7 +80,14 @@ State (2026-11-21 04:50Z; updated by the lead):
VM never had decision 54's rule (Findings). Fix (decision 75): the bidder reloads an adopted guest's rules;
entry 0007:fence reproduces promote's topology (staging 47). hat-10's zone opened for UDP 31000-31999
(decision 76).
- Now: roll one again, on the pull of `fence-on-adopt` (decision 77); `cli-help` (decision 74) is roll two.
- ROLL ONE GREEN, main 324f69a1 (the reload-on-adopt fix on the batch; v0.0.1-rc3; 2026-11-21): `release` green
(04:48-05:20Z; amd64 394445f3); `test` green: `gate: staging: 47 of 47 PASS`, 47 RESULT lines PASS, wall 6956 s
(05:20-07:31Z); `promote` green (07:31-08:39Z): every bidder heartbeats 394445f3, `gate: prod: 31 of 31 PASS`,
wall 3718 s, 0003:run, 0007:webrtc and 0013:run PASS, `main/324f69a1.../` copied to `releases/v0.0.1/`, stable
v0.0.1. On hat-7 the new bidder logged `guest_rules_reloaded` for the promote's own VM
(`fc-gmlkrhimouee-8b06f638`) at 07:33:58Z. Logs: `knotless run list $U --commit 324f69a10b6c --workflow
<test|promote> --log`.
- Now: roll two: `cli-help` (decision 74), run by hand first (a full hand staging cycle), then its pull.
- Relay (deployed by hand, not in the pipeline): 97bba4a7 then e7251bbc on xrpc.fedproxy.com; takeover refused on
the live relay with throwaway identities; requests fell from about 290/s to under 1/s.
- Landed without CI (docs, site): the site from `site/` with `/install.sh`, white pages, build-time highlighting,
.plans.yaml+9−9
@@ -16,23 +16,23 @@ plans:
progress:
staging:
target: "CI test 47 of 47 PASS, 0 FAIL (no SKIP state), on step 21's second roll's commit"
now: "46 of 46 PASS in CI on main 93fd8c11 (the batch; test 19:15-21:26Z 11-20: gate: staging: 46 of 46 PASS, 46 RESULT lines PASS, wall 6973 s; log: knotless run list --commit 93fd8c115e10 --workflow test --log). Before the batch: 43 of 43 on a7dab399 (11-19)."
log: "https://knotless.socialweb.computer/socialweb.computer/socialweb-computer-kcp/check/did:plc:lpfuqerea3deuoyrn7ojser4/65axqkyrfxktwzgcnmn7yddsnv.3n2culsabyx2j.7eq32bpgrmbxidcfbzlf4dtbop.93fd8c115e103e0af38b80d49a0227f673146835.test"
now: "47 of 47 PASS in CI on main 324f69a1 (roll one; test 05:20-07:31Z 11-21: gate: staging: 47 of 47 PASS, 47 RESULT lines PASS, wall 6956 s). Before: 46 of 46 on 93fd8c11 (11-20)."
log: "knotless run list knotless://socialweb.computer/socialweb-computer-kcp --commit 324f69a10b6c --workflow test --log"
waits_on: "the same on roll two's commit"
prod_ci:
target: "CI promote 31 of 31 both-entries PASS as prod bob and alice, on step 21's second roll"
now: "28 of 31 in CI at main 93fd8c11 (promote v0.0.1-rc2, 21:26-22:58Z 11-20: RED, rolled back to rc186): FAIL 0003:run, 0007:webrtc, 0013:run (all WebRTC from the release VM; root cause in work). Before: 30 of 30 at 688c2105 (rc186, 11-19), 27 of 30 at a7dab399."
log: "knotless run list knotless://socialweb.computer/socialweb-computer-kcp --commit 93fd8c115e10 --workflow promote --log"
waits_on: "the WebRTC root cause and its fix, run out of band in promote's topology"
now: "31 of 31 PASS in CI at main 324f69a1 (promote v0.0.1-rc3, 07:31-08:39Z 11-21: green, wall 3718 s; stable v0.0.1). Before: 28 of 31 at 93fd8c11 (red, WebRTC from the release VM: fixed by decision 75)."
log: "knotless run list knotless://socialweb.computer/socialweb-computer-kcp --commit 324f69a10b6c --workflow promote --log"
waits_on: "the same on roll two's commit"
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: "0 in a row (two consecutive greens owed): promote 13 (v0.0.1-rc2, main 93fd8c11, the batch) RED 22:58Z 11-20, prod 28 of 31, rolled back to rc186; before it: promote 12 (v0.0.1-rc1, a7dab399) RED 11-19, 27 of 30; last green: rc186 at 688c2105 (11-19)."
log: "none yet"
waits_on: "prod_ci"
now: "1 in a row: promote 14 (v0.0.1-rc3, main 324f69a1) GREEN 08:39Z 11-21, prod 31 of 31, stable v0.0.1, no hand roll. Before it: promote 13 (v0.0.1-rc2, 93fd8c11) RED 11-20, rolled back. One more green owed: roll two = cli-help (decision 74)."
log: "knotless run list knotless://socialweb.computer/socialweb-computer-kcp --commit 324f69a10b6c --workflow promote --log"
waits_on: "roll two: the cli-help pull after its hand cycle"
docs:
target: "the docs checker and the pins check in the gate (steps 17, 20); docs and examples themselves moved to plan 0041 (owner decision 33)"
now: "on main: check-docs.sh and the pins check in deploy/check.sh; 3 run=gate blocks run and pass (check-docs.sh: ok 5 docs, 2026-11-20)"
log: "bash scripts/check-docs.sh"
waits_on: "the two rolls"
status: "steps 0-5 done (promote asked-only; promote.sh --dry-run rehearsed on the release image on main de0b91ee; hand builds to local/, rehearsed: publish+verify local/de0b91ee, ci-staging-binary local:); prod on rc174; no stable"
next: "04:50Z 2026-11-21: roll one (main 93fd8c11) went red in promote (prod 28 of 31; rolled back). Cause: a guest's nftables rules were loaded once by the bidder that booted it, so promote's own VM never had decision 54's rule. Fix landed as the pull of fence-on-adopt (decision 75; entry 0007:fence; staging 47; decision 77: no full hand cycle for it). Next: roll one again (release, test 47 of 47, promote 31 of 31); then cli-help (decision 74) as roll two."
next: "08:45Z 2026-11-21: ROLL ONE GREEN at main 324f69a1 (staging 47 of 47, prod 31 of 31, stable v0.0.1). Next: roll two = cli-help (decision 74: colored help, lipgloss + glamour; branch swc cli-help): a full hand staging cycle of it, then its pull; green = plan 0040 Done when 3. After stable: site and qr redeploy, the relay replaced-socket deploy, delete the sealed john secret."