~ 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 29 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+16−0
@@ -1878,3 +1878,19 @@ Each: what was seen (with the log), the cause, the fix, its proof.
PROOF: none yet beyond `cargo wasm` and `cargo check -p swc-test-host`. The next test-4 run proves (a) only on a failure
(a `logs/gate-runs/0014-composition-<ms>/` dir in the artifacts); a re-run of `0014:concurrent` on a held staging
network (docs/ci-debug.md) with the bidders' `bidder_accept_refused_capacity` reasons shows which path it was.
- PROMOTE 7 (rc183, main ee133538, 22:26Z to 23:33Z): `gate: prod: 29 of 30 PASS` (3811 s). The `prepare` fix
held: 0013:c (john), 0017:run, 0017:killed, 0017:killedlate all PASS. FAIL: 0014:impossible as bob: "the maxCpus
request failed, but not naming why (maxCpus): the contract flow failed: create the compute.vm record: market:
writing did:plc:ocnu.../com.publicdomainrelay.temp.compute.vm" (the note is cut before the rkey and the cause): the
requester's own record write to bob's PDS failed; it passed as bob in promote 6. Red: rolled back to rc180.
Artifacts not kept again: "the machine sent a file not in base64" (the listing works since the 13d4f7e publish; a
fetch step's output is not what the runner reads). Staging at ee133538: test-2 3/3, test-3 16/16, test-4 13/13
green (0014:concurrent did not repeat), test-1 running. Agents: `rc-0014i` (the write failure and the cut note),
`rc-artifacts-b64` (requester repo). Log saved ~/.tmp/ci-main/promote-ee133538.log. Promote 8 (rc184, main dbacebf6)
started by itself at 23:34Z.
- BIDDER RESERVATIONS (not landed): branch `rc-reserve` f463dcb2: a re-reserve of an RFP dropped the reservation's
link to its VM, so the pair was counted twice for 10 min (a resent submitAccept; a provision retry's reuse branch).
Independent review: SAFE TO LAND, with one tightening (`until = max(held.until, now+ReservedVMSeenGrace)` when
linked); it lists leaks the change does not close (a reserve whose accept fails before `provision()`: 10 min; an
accept failing in `acceptContract` after its reserve, refreshed by each outbox retry: not bounded). Unproven as the
cause of 0014:concurrent at a4aa6d62; no prod journal shows a phantom. Held out of the cycles in flight.
docs/plans/0040-release-pipeline.md+10−11
@@ -3,17 +3,16 @@
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 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.
State (2026-11-18 23:40Z; updated by the lead):
- Main is dbacebf6: everything of this plan. Since a4aa6d62: `promote.sh prepare` gives the gate user what staging's
has (ee133538); staging fetches failed gate runs and 0014 judges a refusal by its round (dbacebf6).
- STAGING IN CI: 43 of 43 PASS on main d6a2b391 (17:08Z; `scripts/ci-staging-total.sh`). a4aa6d62: 42 of 43
(0014:concurrent, once; cause unproven, findings). ee133538: test-2, test-3, test-4 green, test-1 running.
- PROD IN CI: 29 of 30 PASS at ee133538 (promote rc183, 23:33Z). FAIL: 0014:impossible (bob: his own compute.vm
record write failed). Before it 26 of 30 at a4aa6d62. Red, rolled back: prod runs rc180 (main 7a0406d9).
- Rolls: 0 of 2. Seven promotes, each red for a different cause, each fixed or in work (findings). Promote 8 (rc184,
dbacebf6) running since 23:34Z. 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.
.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: "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"
now: "29 of 30 PASS in CI at main ee133538 (promote rc183, 23:33Z 11-18; FAIL 0014:impossible as bob: his compute.vm record write failed: agent rc-0014i; before it 26 of 30 at a4aa6d62); promote 8 (rc184, dbacebf6) running; log: knotless run list --commit ee133538 --workflow promote --log"
log: "none yet"
waits_on: "steps 0-20"
ci_rolls: