0
0
plan 0040: State block
docs/plans/0040-release-pipeline.md+19−10
| @@ -3,17 +3,26 @@ | ||
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; updated by the lead as cycles end): | ||
State (2026-11-18 15:35Z; updated by the lead): | ||
| ||
- Staging, hand cycles of branch phase-2 (the Findings' first words): cycle 1, 18d162fc: 29 of 43 ("The first full | ||
no-SKIP gate on staging"); cycle 2, 8d2a5453: 35 of 43 ("Hand cycle 2 (phase-2 8d2a5453"); cycle 3, ee47b96f: 34 of | ||
43 ("Hand cycle 3 (phase-2 ee47b96f, staging net stg-858064, three gate jobs"). | ||
- Cycle 3 FAIL (9): 0001:run, 0001:s2, 0002:run, 0005:b, 0009:run, 0011:token, 0014:exhausted, 0014:giveup, | ||
0015:pressure. Seven have a PASS by hand since ("The refused-accept fix (1a7a808d) proven by hand"); 0014:exhausted | ||
and 0014:giveup wait for a fresh stand-up. | ||
- Hand cycle 4 is running on phase-2 5ce234e4. | ||
- Nothing of phase-2 is on main (main 85c689be). CI `test` on main still runs the 17 entries. | ||
- Prod: 0 of 30. Rolls: 0 of 2. | ||
- 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. | ||
- CI on abf580f1: `release` running since 15:31Z; `test-1`..`test-4` and `promote` (asked) queued behind it. Nothing | ||
has passed in CI yet: 5ba52b0f died in checks (check-docs needed ~/.tmp), 47cdd3ad in checks (the build VM starved | ||
on hat-8), its rerun was cancelled at `binaries` to let abf580f1 start. | ||
- 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. | ||
| ||
## Flow | ||
.plans.yaml+2−15
| @@ -3,27 +3,14 @@ | ||
# when 0040 is done (owner, 2026-11-18). | ||
# Its agent keeps this entry current: per Done-when item the target (from the plan), where it stands now, the proof | ||
# (knotless workflow log or hat-8 gate dir), and what it waits on; the step being worked. | ||
# LEAD STATE 2026-11-18 ~15:45Z (written because the session's model limit was hit; read this first after a break): | ||
# - main = 47cdd3ad; its release was rerun 15:13Z (hat-8's bidder SUSPENDED by `kubectl patch marketbidder app | ||
# spec.suspend true` via ~/.config/swc-system-tests/kcp/hat-8.kubeconfig: UNDO before any promote); test queued. | ||
# - branch `integrate` (worktree wt-int, e6f23061+): main + rc-0014 + step-11 (read-only ops routes) + step-12 | ||
# (rollback job, promote alongside test) + gate-shards (test-1..4, one CI VM per share) + agent-online + rc-0020 + | ||
# plan 0041 + owner decisions 15-33. NOT yet: deploy/check.sh --fast on it, empty-HOME rehearsal, a hand run. | ||
# - not merged: fast-standup (staging image; needs a hand stand-up), swc-dev-bidders (rc-operators.json + prod.json), | ||
# step-15 (worktree wt-step15, agent stopped by the model limit, partial), atirc-online (atirc repo branch + kcp pin; | ||
# agent stopped by the model limit, partial: it was running its loopback test). | ||
# - held hand network stg-414197 (alice2) still up; 0020 rerun by agent rc-0020 was in its last step; release it after. | ||
# - before the first promote: PROD_OPS_READ_SECRET generated, placed as <instance>/ops-read-secret (0600) on the four | ||
# hats, three droplets and the gateway, sealed to main; requester repo step-12 module published (publish-chain.sh); | ||
# droplets use public DNS (/etc/systemd/resolved.conf.d/public.conf). | ||
# - droplets swc-dev-bidder-1..3 (c-32, sfo3, $1/h each, tag swc-dev): destroy when the plan is done. | ||
# Lead state: the State block at the top of docs/plans/0040-release-pipeline.md (kept current by the lead). | ||
plans: | ||
- plan: docs/plans/0040-release-pipeline.md | ||
agent: ci-bootstrap | ||
progress: | ||
staging: | ||
target: "CI test 43 of 43 PASS, 0 FAIL (no SKIP state), on step 21's second roll's commit" | ||
now: "0 in CI yet: phase-2 landed on main 5ba52b0f 14:32Z 11-18, release running, test (43 entries) queued; by hand: 39 of 43 (hand cycle 4, 5ce234e4; FAIL 0002:run 0008:run (fixed in main, unproven) 0014:impossible 0020:run (agents rc-0014, rc-0020)); before it: 34 of 43 (hand cycle 3, ee47b96f, all step 8 layers; cycle 2 was 35 on the older build, cycle 1 29) PASS on the full no-SKIP gate, by hand (phase-2 18d162fc, 2026-11-18, staging net stg-131819; ~/.tmp/ci-hand/staging-18d162fc.log, gate dir /home/stg/stg/gate); CI main still runs its 17-entry list (85c689be green). 14 FAIL: 0001:run, 0001:s2, 0002:run, 0004:run, 0009:run, 0011:run, 0011:token, 0013:b, 0013:c, 0015:run, 0015:pressure, 0017:run, 0017:killed, 0017:killedlate" | ||
now: "0 in CI yet: main abf580f1 (15:29Z 11-18), release running, test-1..4 queued; by hand: 39 of 43 (hand cycle 4, 5ce234e4; FAIL 0002:run 0008:run (fixed in main, unproven) 0014:impossible 0020:run (agents rc-0014, rc-0020)); before it: 34 of 43 (hand cycle 3, ee47b96f, all step 8 layers; cycle 2 was 35 on the older build, cycle 1 29) PASS on the full no-SKIP gate, by hand (phase-2 18d162fc, 2026-11-18, staging net stg-131819; ~/.tmp/ci-hand/staging-18d162fc.log, gate dir /home/stg/stg/gate); CI main still runs its 17-entry list (85c689be green). 14 FAIL: 0001:run, 0001:s2, 0002:run, 0004:run, 0009:run, 0011:run, 0011:token, 0013:b, 0013:c, 0015:run, 0015:pressure, 0017:run, 0017:killed, 0017:killedlate" | ||
log: "https://knotless.socialweb.computer/socialweb.computer/socialweb-computer-kcp/check/did:plc:lpfuqerea3deuoyrn7ojser4/65axqkyrfxktwzgcnmn7yddsnv.3n2culsabyx2j.7eq32bpgrmbxidcfbzlf4dtbop.85c689be3b0bf3caee077c659f34986bf1451789.test" | ||
waits_on: "steps 6-10" | ||
prod_ci: | ||