~ 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: prod in CI 26 of 30 (docs only)

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2
docs/plans/0040-findings.md+9−0
@@ -1763,3 +1763,12 @@ Each: what was seen (with the log), the cause, the fix, its proof.
- Cancelled CI runs leave their machines and staging VMs on the bidders (prod still runs rc180, without the
association fix): 18 VMs (about 140G) found at 20:05Z after the day's cancels; removed by the lead on the bidders'
kcp (`~/.tmp/int/rm-orphans.sh`). After any cancel: check the bidders.
- FIRST COMPLETE PROD GATE IN CI: promote 6 (rc182, main a4aa6d62, 20:37Z to 21:50Z, started by the push):
`gate: prod: 26 of 30 PASS` (4237 s, three at once: bob, alice, john; bidders through the ops routes over iroh).
PASS incl. 0002:run, 0005:b, 0007:run, 0009:run, 0011:token, 0013:run, 0014:abandon, 0014:impossible. FAIL:
0013:c as john ("req: run requester mk exited exit status: 2 before ready"); 0017:run (john), 0017:killed (bob),
0017:killedlate (alice): "the owner's subscription closed before it exited: No such file or directory (os error
2)" (0017:devsup, half, samename passed). Red: rolled back to rc180 by release-workload; the stop job found it back.
No artifacts kept ("kept 0 of gate-runs"). Log: `knotless run list ... --commit a4aa6d629c81 --workflow promote
--log` (saved ~/.tmp/ci-main/promote-a4aa6d62.log). Agents: `rc-0017` (the three 0017 entries and the artifacts),
`rc-0013d` (0013:c as john). Staging at that commit: test-2 3/3, test-3 16/16 green; test-1 and test-4 running.
docs/plans/0040-release-pipeline.md+13−19
@@ -3,25 +3,19 @@
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-18 15:35Z; updated by the lead):
- Main is abf580f1: phase-2 plus the read-only ops routes (step 11), the rollback job and promote after `release`
alongside the staging shares (steps 12, 13), the split gate (`test-1`..`test-4`, one CI VM per share, two bidders per
network), the 0014:impossible and 0020:run fixes, the 0004/0013 online assertion, the putBinary rename. Work is done
off main from here (owner, 2026-11-18): small checked changes land through the queue; no long-lived branches.
- STAGING IN CI: 43 of 43 PASS on main d6a2b391 (17:08Z, test-1..4; `scripts/ci-staging-total.sh`). On 7a0406d9
(d6a2b391 + the ops routes over iroh) the build is green, the four shares and promote (rc180) are running.
- Staging by hand: cycle 4 (5ce234e4) 39 of 43. FAIL then: 0002:run, 0008:run (gate VM cap: fixed, unproven),
0014:impossible (fixed, proven by a rerun), 0020:run (fixed; rerun passed the failing step). 0004:run and 0013:run
fail by chance until atirc posts `<nick> online` itself (agent on it; then the atirc pin moves).
- Prod: 0 of 30. Before the gate can pass: every bidder and the gateway hold `ops-read-secret` (placed 15:28Z on
hat-7/8/9/10, swc-dev-bidder-1..3 and the gateway); sealed to main: PROD_OPS_READ_SECRET, PROD_ALICE_ATPROTO_PASSWORD,
PROD_BOB_ATPROTO_PASSWORD. hat-8's bidder is SUSPENDED (build host): un-suspend when `release` ends, before the gate.
The requester repo's `step-12` module (the `release-rollback` stop job) is NOT published: a red promote rolls back
(the old module does that); a cancelled or timed-out one does not yet.
- Rolls: 0 of 2. Not landed: `step-15` (promote on push, releases/vT/), `atirc-online`, `swc-dev-bidders`
(rc-operators.json), `fast-standup` (staging image; needs a hand stand-up).
- Compute: three `swc-dev` droplets (c-32, $1/h each) are bob's bidders, on public DNS; destroy when the plan is done.
State (2026-11-18 21:55Z; updated by the lead):
- Main is a4aa6d62: everything of this plan but the last prod fixes: read-only ops routes over iroh (11), the
published rollback module and promote on push after `release`, alongside `test-1`..`test-4` (12, 13, 15), three prod
drivers (bob, alice, john), the orphan guest-requester VM fix, the prod fixes of 0002, 0011, 0013, 0014.
- STAGING IN CI: 43 of 43 PASS on main d6a2b391 (17:08Z; `scripts/ci-staging-total.sh`). At a4aa6d62: test-2 and
test-3 green, test-1 and test-4 running.
- PROD IN CI: 26 of 30 PASS at a4aa6d62 (promote rc182, 21:50Z; the first complete gate). FAIL: 0013:c (john),
0017:run, 0017:killed, 0017:killedlate (findings). Red, rolled back: prod runs rc180 (main 7a0406d9).
- Rolls: 0 of 2. Six promotes so far, each red for a different cause, each fixed (findings). Owner's target: roll one
green by 01:30Z 11-19.
- 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`) until prod runs the association fix.
## Flow
.plans.yaml+1−1
@@ -15,7 +15,7 @@ plans:
waits_on: "steps 6-10"
prod_ci:
target: "CI promote 30 of 30 both-entries PASS as prod bob and alice, on step 21's second roll"
now: "0 of 30; step 11 in build on branch step-11 (owner decisions 19-21: read-only routes with a shared secret, bidders discovered; 0005/0007 VM delete staging only; 0003 steered by bidderDids); then the secret on five hosts and sealed to main"
now: "26 of 30 PASS in CI at main a4aa6d62 (promote rc182, 21:50Z 11-18: the first complete prod gate; FAIL 0013:c, 0017:run, 0017:killed, 0017:killedlate: agents rc-0013d, rc-0017); log: knotless run list --commit a4aa6d629c81 --workflow promote --log"
log: "none yet"
waits_on: "steps 0-20"
ci_rolls: