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

socialweb.computer/socialweb-computer-kcp

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

1 collaborator
0
0

promote: the prod target after the bidders took the release; reads retry

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:phase-2
docs/plans/0040-findings.md+9−0
@@ -1754,3 +1754,12 @@ Each: what was seen (with the log), the cause, the fix, its proof.
`~/.tmp/rc-0002/0002-run.log`; a first try failed at the sign-in, headless Chrome "Page.captureScreenshot: Not attached
to an active page" after Authorize, `~/.tmp/oauth-signin/2026-11-18T193930830Z`). Unproven: a whole run with a refusal
through gateway.log; the ops route's new line before a gateway deploy.
- Promote 5 (rc181, main 9c3ba113, 20:14Z, started by the push): secrets granted, `promote.sh prepare` made r2 (no
guest requester), rc moved; red in `ci-prod-target.sh`: `curl: (22) ... 503` reading swc-dev-bidder-2's offering
from its own PDS: the bidders were restarting on the release just published, and the target was built BEFORE the
wait for their heartbeats. Rolled back by release-workload (rc180; gateway; all seven bidders back on 9e412cce;
hat-10 lagged a few minutes), and the published `release-rollback` stop job ran and found it already back: the
first run of the new module. Fixed: the target is built after `heartbeats`; its record reads retry (8 x 5 s).
- 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.
scripts/ci-prod-target.sh+1−1
@@ -65,7 +65,7 @@ done
[ "$dry" = 1 ] || need PROD_OPS_READ_SECRET
put "$home/ops-read-secret" PROD_OPS_READ_SECRET "${PROD_OPS_READ_SECRET:-}"
plc=$(jq -r '.plc' "$src"); pds=$(jq -r '.pds' "$src")
get() { curl -fsS -m 20 "$@"; }
get() { curl -fsS -m 20 --retry 8 --retry-delay 5 --retry-all-errors "$@"; }
bidders='[]'
for handle in $(jq -r '.operators[].handle' "$ops"); do
operator=$(get "$pds/xrpc/com.atproto.identity.resolveHandle?handle=$handle" | jq -r '.did // ""') || operator=""
scripts/promote.sh+9−6
@@ -186,6 +186,15 @@ if [ "$dry" = 0 ]; then
trap 'rm -rf "$d" "$pidfile"' EXIT
fi
compat=$(bash scripts/release-prev-rc.sh ${RELEASE_VERSION:+"$RELEASE_VERSION"})
echo "==> compat requester $compat (the rc before ${RELEASE_VERSION:-the one channel rc points at})"
droplets "${RELEASE_URL:?RELEASE_URL}" "${RELEASE_SHA256:?RELEASE_SHA256}"
heartbeats "$RELEASE_SHA256"
# the target after the roll: each bidder's offering is read from its own PDS, which restarts when the bidder takes the
# release (rc181, 2026-11-18: a 503 from a PDS mid-restart left one bidder without an endpoint)
target=$home/target-prod.json
if [ "$dry" = 1 ]; then
bash scripts/ci-prod-target.sh --dry-run "$target"
@@ -193,12 +202,6 @@ else
bash scripts/ci-prod-target.sh "$target"
fi
for v in $(compgen -v | grep -E '^(PROD_.*_ATPROTO_PASSWORD|PROD_OPS_READ_SECRET|ATIRC_AGENT_CONFIG)$' || true); do unset "$v"; done
compat=$(bash scripts/release-prev-rc.sh ${RELEASE_VERSION:+"$RELEASE_VERSION"})
echo "==> compat requester $compat (the rc before ${RELEASE_VERSION:-the one channel rc points at})"
droplets "${RELEASE_URL:?RELEASE_URL}" "${RELEASE_SHA256:?RELEASE_SHA256}"
heartbeats "$RELEASE_SHA256"
# as scripts/ci-test.sh runs the staging suite: the checkout as SWC_REPO (a prebuilt test host's own source path is the
# build host's), the binary under test and meshd that ci-test.sh host and binary installed. As r2 when root (the release