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

socialweb.computer/socialweb-computer-kcp

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

1 collaborator
0
0

the batch: everything in flight, run out of band (plan 0040 decisions 56, 62)

Merged
Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2

One batch (plan 0040 decisions 56, 62): everything in flight, each piece reviewed and run out of band first.

Pieces: CI drives as bob and alice only (57); lexicon docs generated from the lexicons (58); the CLI layout (plan 0043, 60); getSecrets over iroh, then WebRTC, then https, sealed only in Firehose mode (61, 64, 52); guest secrets path rule (66-1); forward-everything guest requester socket (72); OAuth scope for ingress offers, requester and bidder (67, 70); ingress relay issuer and signature checks, 503 before upgrade, replaced socket closed 4009 (65); bids read from the bidder's own repo, record bytes checked against the CID, bid and receipt signatures checked against a key bound in the bidder's repo (66-2, 66-3, 71; plan 0054); a self-updated bidder serves its kept previous binaries; capacity: the provision StateSync is the durable reservation, one admission per accept, the memory admission rule (73); trust lookups that could not be confirmed; the WebRTC nftables accept rule (54); fixes for the prod failures of promote a7dab399; test fixes 0001:s2, 0015:pressure, 0020:run. Entries: staging 46 (new: 0007:webrtc, 0007:upgrade, 0014:memfit), prod 31.

Run out of band (plan 0040 Findings has each run and cause):

  • Hand staging cycle one, batch e4ccd291, network stg-028774: 43 of 46. Fails root-caused and fixed in place: 0007:upgrade (test host copied binaries over the overlay), 0014:abandon (regression of the capacity redesign: 500 for an accept the bidder could not read; now 202 with a hold-less sync), 0009:run (collateral of the 0007:upgrade copies; rerun PASS).
  • Hand staging cycle two, batch b2df7cc1 (the product code of this pull), fresh network stg-665385, nothing pre-staged: gate: staging: 46 of 46 PASS (~/.tmp/final-cycle2/saved/).
  • Hand prod entries, the batch requester and test host against prod's stable bidders, as bob and alice: 28 of 29 PASS. The fail, 0006:compat as alice (WASM_TOO_LARGE): the secrets work had put whole record values back into the test host's repo.listCreated; fixed (values trimmed to the fields a caller names); test host and acc-0007 module only. After the fix, on prod as alice: 0006:compat, 0006:run and 0002:run PASS (0002:run failed once before in the agent phase, cause not found, not this code: Findings).
  • Hand staging cycle three, batch 8c84935d (the test host and modules of this pull, the product binary of b2df7cc1), fresh network stg-328206: gate: staging: 46 of 46 PASS, wall 6791 s (~/.tmp/final-cycle3/).
  • Not provable before the roll (prod bidders run stable until promote moves them; promote waits for every bidder's heartbeat of the new binary before its gate): 0007:run and 0007:webrtc on prod (the guest fetches secrets over a peer transport, which needs the new bidder), and the bidder side of 0013:run (the nftables rule). Each passes on staging.
  • Checks on the head: go build, deploy/check.sh --fast (policy spec tests included).

Known, not in this pull (plan 0040 Findings, for after roll two): a staging run with a listed suite passes with zero entries run (CI's own path is not affected); a stream event whose record fetch fails once is dropped (internal/events/delivery); the page never withdraws an unanswered offer; a transient DID lookup in service auth is answered 401 (branch fix-0009); a re-sent accept refused at adoption gets 202.

🤖 Generated with Claude Code

Some checks were not successful

1 failed, 2 passed

Merged as 93fd8c1