rehearsal: second executor host — provision elitebook-03 so two standing drives run concurrently (phase-4 #652 beside the workstation's widened phase-3) #659

Closed
opened 2026-08-22 11:35:44 +00:00 by ben · 6 comments
Owner

Ben's ask 2026-08-22: running multiple rehearsals at once is valuable — the workstation is occupied by the widened phase-3 drive, and #652 (rented) is ready to arm with nowhere to run. Precedent: #380 provisioned matou-workstation as the executor. Two hosts are sound architecturally: each executor reads its OWN rehearsal-env.sh (REHEARSAL_DRIVE_ISSUE/_TARGET are per host), the #577/ADR 0184 host lock is per host, and reporter/healer key on issue number — no collision.

Inventory (read-only, 2026-08-22)

swarm@100.98.240.186 (elitebook-distributed-server-03, Ubuntu 26.04, x86_64, 8 cpu / 14 GB / 182 GB free; passwordless sudo; docker swarm host; checkout already at /home/swarm/swarm/Matou/idss). Present: node, pnpm, git, jq, curl, ssh, docker. Missing: nix, doctl, Xvfb/xvfb-run, playwright chromium, rehearsal-env.sh, executor cron, ~/.config/doctl, app state dir / own-VPS operator key, Mattermost+Claude tokens. The droplet-class targets (droplet, selfhosted, rented) need NO local guest/KVM — the machine under test is the droplet.

Ben's half (sudo / secrets — !)

  1. curl -fsSL https://install.determinate.systems/nix | sh -s -- install --no-confirm (the clan-lab golden recipe's installer); sudo apt-get install -y xvfb; doctl via snap (sudo snap install doctl) + doctl auth init (the FULL-account token, same as the workstation's — NOT the scoped idss-broker one).
  2. Copy /home/dev/swarm/rehearsal-env.sh from the workstation to /home/swarm/swarm/rehearsal-env.sh (mode 600), same 13 keys: PATH FORGEJO_TOKEN DIGITALOCEAN_ACCESS_TOKEN IDSS_BROKER_URL IDSS_PAYLOAD_DIR REHEARSAL_DRIVE_ISSUE ELECTRON_OVERRIDE_DIST_PATH CLAUDE_CODE_OAUTH_TOKEN CLAUDE_CODE_OAUTH_TOKEN_B REHEARSAL_DRIVE_TARGET MATTERMOST_URL MATTERMOST_BOT_TOKEN MATTERMOST_CHANNEL_ID — with REHEARSAL_DRIVE_ISSUE=652, REHEARSAL_DRIVE_TARGET=rented, and paths rewritten /home/dev → /home/swarm (IDSS_PAYLOAD_DIR, ELECTRON_OVERRIDE_DIST_PATH).
  3. Cron for swarm: */2 * * * * . /home/swarm/swarm/rehearsal-env.sh && /home/swarm/swarm/Matou/idss/scripts/rehearsal-executor.sh >> /home/swarm/swarm/rehearsal-executor.log 2>&1 (the workstation's line, paths swapped). NOT the session-runner line — one session-runner is enough.
  4. One warm run by hand before trusting the cron: cd /home/swarm/swarm/Matou/idss && . ../../rehearsal-env.sh && nix develop .#e2e -c true && pnpm install && pnpm --filter app exec playwright install chromium — the cold /nix + pnpm store costs 20–40 min once (elitebook's matou-app onboarding mis-logged exactly this as a preflight red — dev-factory #9).

Swarm half (code)

  • scripts/rehearsal-executor.sh / rehearsal-cycle.sh / scripts/lib/*: audit for /home/dev or matou-workstation literals and dev user assumptions; derive from $HOME/$root. Add REHEARSAL_HOST to the drive-status record + reporter comment so a red names WHICH executor host ran it (the evidence path test-results/drive-<target>/<stamp>/ is host-local).
  • .forgejo/workflows/token-sync.yml runs-on matou-workstation only: extend the Claude token pair sync to the second host (or document that elitebook reads the org secret itself) — without it the reporter limit-parks and the blocked-invariant flips the standing drive ready-for-human after one red (the phase-3 4-day stall).
  • docs/PROCESS.md runbook: "adding an executor host" section; .sandcastle/README.md host-lock note (per host).
  • GOTCHAS: two executors must never point at the SAME REHEARSAL_DRIVE_ISSUE (double-firing one standing drive = two droplets, two claims on one slug).

Acceptance

A --target rented cycle fires from elitebook-03's cron, writes test-results/drive-rented/<stamp>/ there, files/matches its red on #652 via the reporter (with the host named), while the workstation's phase-3 drive keeps running untouched.

Related: #652 (ready to arm), #380 (first executor), #577/ADR 0184 (host lock), dev-factory #9 (cold store).

**Ben's ask 2026-08-22:** running multiple rehearsals at once is valuable — the workstation is occupied by the widened phase-3 drive, and #652 (rented) is ready to arm with nowhere to run. Precedent: #380 provisioned matou-workstation as the executor. Two hosts are sound architecturally: each executor reads its OWN `rehearsal-env.sh` (`REHEARSAL_DRIVE_ISSUE`/`_TARGET` are per host), the #577/ADR 0184 host lock is per host, and reporter/healer key on issue number — no collision. ## Inventory (read-only, 2026-08-22) `swarm@100.98.240.186` (elitebook-distributed-server-03, Ubuntu 26.04, x86_64, 8 cpu / 14 GB / 182 GB free; passwordless sudo; docker swarm host; checkout already at `/home/swarm/swarm/Matou/idss`). **Present:** node, pnpm, git, jq, curl, ssh, docker. **Missing:** `nix`, `doctl`, `Xvfb`/`xvfb-run`, playwright chromium, `rehearsal-env.sh`, executor cron, `~/.config/doctl`, app state dir / own-VPS operator key, Mattermost+Claude tokens. The droplet-class targets (`droplet`, `selfhosted`, `rented`) need NO local guest/KVM — the machine under test is the droplet. ## Ben's half (sudo / secrets — `!`) 1. `curl -fsSL https://install.determinate.systems/nix | sh -s -- install --no-confirm` (the clan-lab golden recipe's installer); `sudo apt-get install -y xvfb`; `doctl` via snap (`sudo snap install doctl`) + `doctl auth init` (the FULL-account token, same as the workstation's — NOT the scoped `idss-broker` one). 2. Copy `/home/dev/swarm/rehearsal-env.sh` from the workstation to `/home/swarm/swarm/rehearsal-env.sh` (mode 600), same 13 keys: `PATH FORGEJO_TOKEN DIGITALOCEAN_ACCESS_TOKEN IDSS_BROKER_URL IDSS_PAYLOAD_DIR REHEARSAL_DRIVE_ISSUE ELECTRON_OVERRIDE_DIST_PATH CLAUDE_CODE_OAUTH_TOKEN CLAUDE_CODE_OAUTH_TOKEN_B REHEARSAL_DRIVE_TARGET MATTERMOST_URL MATTERMOST_BOT_TOKEN MATTERMOST_CHANNEL_ID` — with `REHEARSAL_DRIVE_ISSUE=652`, `REHEARSAL_DRIVE_TARGET=rented`, and paths rewritten `/home/dev` → `/home/swarm` (`IDSS_PAYLOAD_DIR`, `ELECTRON_OVERRIDE_DIST_PATH`). 3. Cron for `swarm`: `*/2 * * * * . /home/swarm/swarm/rehearsal-env.sh && /home/swarm/swarm/Matou/idss/scripts/rehearsal-executor.sh >> /home/swarm/swarm/rehearsal-executor.log 2>&1` (the workstation's line, paths swapped). NOT the session-runner line — one session-runner is enough. 4. One warm run by hand before trusting the cron: `cd /home/swarm/swarm/Matou/idss && . ../../rehearsal-env.sh && nix develop .#e2e -c true && pnpm install && pnpm --filter app exec playwright install chromium` — the cold `/nix` + pnpm store costs 20–40 min once (elitebook's matou-app onboarding mis-logged exactly this as a preflight red — dev-factory #9). ## Swarm half (code) - `scripts/rehearsal-executor.sh` / `rehearsal-cycle.sh` / `scripts/lib/*`: audit for `/home/dev` or `matou-workstation` literals and `dev` user assumptions; derive from `$HOME`/`$root`. Add `REHEARSAL_HOST` to the drive-status record + reporter comment so a red names WHICH executor host ran it (the evidence path `test-results/drive-<target>/<stamp>/` is host-local). - `.forgejo/workflows/token-sync.yml` runs-on `matou-workstation` only: extend the Claude token pair sync to the second host (or document that elitebook reads the org secret itself) — without it the reporter limit-parks and the blocked-invariant flips the standing drive `ready-for-human` after one red (the phase-3 4-day stall). - `docs/PROCESS.md` runbook: "adding an executor host" section; `.sandcastle/README.md` host-lock note (per host). - GOTCHAS: two executors must never point at the SAME `REHEARSAL_DRIVE_ISSUE` (double-firing one standing drive = two droplets, two claims on one slug). ## Acceptance A `--target rented` cycle fires from elitebook-03's cron, writes `test-results/drive-rented/<stamp>/` there, files/matches its red on #652 via the reporter (with the host named), while the workstation's phase-3 drive keeps running untouched. Related: #652 (ready to arm), #380 (first executor), #577/ADR 0184 (host lock), dev-factory #9 (cold store).
Author
Owner

Ben's half IN PROGRESS (2026-08-22 ~11:55Z, Ben authorised the session to run steps 1–4): root door ian@100.98.240.186 (passwordless sudo) — xvfb (apt) + doctl (snap, AND nix profile so it is on the executor's PATH) + Determinate nix installed; /home/swarm/swarm/rehearsal-env.sh landed (13 keys mirrored from the workstation, /home/dev→/home/swarm, REHEARSAL_DRIVE_ISSUE=652, REHEARSAL_DRIVE_TARGET=rented, mode 600); payload (16 M) + electron-dist (452 M) mirrored to /home/swarm/swarm/rehearsal-{payload,electron}; nix profile go (workstation parity). Warm run /home/swarm/swarm/warm-elitebook.sh (e2e devshell, pnpm, chromium, go build check) running in background → log warm-elitebook.log. Executor cron deliberately NOT installed until the warm run passes (a cold host ticking at #652 every 2 min would be noise). Gotcha hit: the env's PATH line has no /snap/bin, so a snap-only doctl is invisible to cron — nix-profile doctl fixes it.

**Ben's half IN PROGRESS (2026-08-22 ~11:55Z, Ben authorised the session to run steps 1–4):** root door `ian@100.98.240.186` (passwordless sudo) — `xvfb` (apt) + `doctl` (snap, AND nix profile so it is on the executor's PATH) + Determinate nix installed; `/home/swarm/swarm/rehearsal-env.sh` landed (13 keys mirrored from the workstation, `/home/dev`→`/home/swarm`, `REHEARSAL_DRIVE_ISSUE=652`, `REHEARSAL_DRIVE_TARGET=rented`, mode 600); payload (16 M) + electron-dist (452 M) mirrored to `/home/swarm/swarm/rehearsal-{payload,electron}`; nix profile `go` (workstation parity). Warm run `/home/swarm/swarm/warm-elitebook.sh` (e2e devshell, pnpm, chromium, go build check) running in background → log `warm-elitebook.log`. **Executor cron deliberately NOT installed until the warm run passes** (a cold host ticking at #652 every 2 min would be noise). Gotcha hit: the env's `PATH` line has no `/snap/bin`, so a snap-only doctl is invisible to cron — nix-profile doctl fixes it.
Author
Owner

elitebook-03 executor is LIVE (2026-08-22 11:58Z). Warm run passed in 7 min (e2e devshell, pnpm, chromium-1234, go build ok — hot cache). */2 executor cron installed for swarm sourcing /home/swarm/swarm/rehearsal-env.sh with REHEARSAL_DRIVE_ISSUE=652 + REHEARSAL_DRIVE_TARGET=rented — #652 is ARMED on elitebook-03; the workstation keeps the phase-3 widened drive (#657). Evidence for rented drives lives at elitebook-03:/home/swarm/swarm/Matou/idss/test-results/drive-rented/<stamp>/ — note the reporter/healer copy still says "on matou-workstation" (#659 swarm half: stamp the hostname).

**elitebook-03 executor is LIVE (2026-08-22 11:58Z).** Warm run passed in 7 min (e2e devshell, pnpm, chromium-1234, `go build` ok — hot cache). `*/2` executor cron installed for `swarm` sourcing `/home/swarm/swarm/rehearsal-env.sh` with `REHEARSAL_DRIVE_ISSUE=652` + `REHEARSAL_DRIVE_TARGET=rented` — **#652 is ARMED on elitebook-03**; the workstation keeps the phase-3 widened drive (#657). Evidence for rented drives lives at `elitebook-03:/home/swarm/swarm/Matou/idss/test-results/drive-rented/<stamp>/` — note the reporter/healer copy still says "on matou-workstation" (#659 swarm half: stamp the hostname).
Author
Owner

First ticks on elitebook-03 — two host-prep lessons for the runbook section (swarm half):

  1. Tick 1 died go: command not found at the payload refresh. Two concurrent nix profile install ops (warm script's go + a separate doctl) raced; the profile generation briefly lacked one and doctl silently never landed. Rule: install ALL profile tools in ONE nix profile add nixpkgs#go nixpkgs#doctl call, then ls ~/.nix-profile/bin before trusting the cron. (Determinate nix 3.x: ~/.nix-profile → ~/.local/state/nix/profiles/profile, created by the first profile op — the env's PATH line assumes it exists.)
  2. Tick 2 passed payload + devshell and died in PREFLIGHT: chrome-headless-shell: error while loading shared libraries: libatk-1.0.so.0. playwright install chromium fetches the browser but not its system libs; playwright install-deps --dry-run prints nothing without a tty. Installed the documented Ubuntu set via sudo (libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64 libatspi2.0-0t64 libcairo2 libcups2t64 libdbus-1-3 libdrm2 libgbm1 libglib2.0-0t64 libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 libgtk-3-0t64 libxss1 libxtst6 libnotify4 fonts-liberation libxcursor1 libxi6); ldd on chrome-headless-shell and electron now shows 0 missing. Add an ldd-based check to the warm script.

Neither tick filed anything on #652 (preflight deaths are host-local, no drive dir) — correct behaviour.

**First ticks on elitebook-03 — two host-prep lessons for the runbook section (swarm half):** 1. Tick 1 died `go: command not found` at the payload refresh. Two concurrent `nix profile install` ops (warm script's `go` + a separate `doctl`) raced; the profile generation briefly lacked one and `doctl` silently never landed. Rule: install ALL profile tools in ONE `nix profile add nixpkgs#go nixpkgs#doctl` call, then `ls ~/.nix-profile/bin` before trusting the cron. (Determinate nix 3.x: `~/.nix-profile` → `~/.local/state/nix/profiles/profile`, created by the first profile op — the env's `PATH` line assumes it exists.) 2. Tick 2 passed payload + devshell and died in PREFLIGHT: `chrome-headless-shell: error while loading shared libraries: libatk-1.0.so.0`. `playwright install chromium` fetches the browser but not its system libs; `playwright install-deps --dry-run` prints nothing without a tty. Installed the documented Ubuntu set via sudo (`libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64 libatspi2.0-0t64 libcairo2 libcups2t64 libdbus-1-3 libdrm2 libgbm1 libglib2.0-0t64 libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 libgtk-3-0t64 libxss1 libxtst6 libnotify4 fonts-liberation libxcursor1 libxi6`); `ldd` on chrome-headless-shell and electron now shows 0 missing. Add an `ldd`-based check to the warm script. Neither tick filed anything on #652 (preflight deaths are host-local, no drive dir) — correct behaviour.
Author
Owner

Code half landed (985e8f8) — your half is below, copy-paste ready

Ruled by agent under ADR 0174 — veto anytime. Two-way door throughout: additive record field, an extra workflow leg, docs.

Audit result first: the executor path was already host-agnostic ($root/$HOME-derived). The only /home/dev literal was the crontab comment in rehearsal-executor.sh. So there was much less to port than the ticket assumed — the real gaps were evidence attribution and the token sync.

Landed:

  • drive-status names its host (REHEARSAL_HOST, hostname fallback). With two executors the stamp alone is ambiguous — test-results/drive-<target>/<stamp>/ is host-LOCAL, so knowing the stamp but not the box means you cannot find the evidence.
  • token-sync runs one leg per executor host. Per-host paths are explicit rather than $HOME-derived, because the two runners run as different users (dev / swarm) and a wrong guess writes the token nowhere useful while reporting success. fail-fast: false, so before you provision elitebook its leg fails loudly on its own and the workstation still gets its tokens.
  • docs/PROCESS.md — "adding an executor host", human-only steps marked.
  • GOTCHAS #53 — the double-fire hazard, recorded before the second host exists.

⚠️ The one thing that will bite

Two executors pointed at the same REHEARSAL_DRIVE_ISSUE double-fire one standing drive: two paid droplets, two claims on one slug, and the second point overwrites the first's DNS. Nothing in the machinery notices — the ADR 0184 lock protects a host from itself, never one host from another. The natural way in is copying rehearsal-env.sh and forgetting the two lines that matter, which is exactly what step 2 asks you to do.

Your half (!)

# 1. toolchain
ssh swarm@100.98.240.186
curl -fsSL https://install.determinate.systems/nix | sh -s -- install --no-confirm
sudo apt-get install -y xvfb
sudo snap install doctl && doctl auth init      # FULL-account token, NOT idss-broker

# 2. env file — copy, then change EXACTLY these three things
scp dev@matou-workstation:/home/dev/swarm/rehearsal-env.sh /home/swarm/swarm/rehearsal-env.sh
chmod 600 /home/swarm/swarm/rehearsal-env.sh
sed -i -e 's/^export REHEARSAL_DRIVE_ISSUE=.*/export REHEARSAL_DRIVE_ISSUE=652/' \
       -e 's/^export REHEARSAL_DRIVE_TARGET=.*/export REHEARSAL_DRIVE_TARGET=rented/' \
       -e 's#/home/dev#/home/swarm#g' /home/swarm/swarm/rehearsal-env.sh
grep -E '^export REHEARSAL_DRIVE_(ISSUE|TARGET)=|/home/' /home/swarm/swarm/rehearsal-env.sh   # eyeball it

# 3. warm run BEFORE the cron (cold /nix + pnpm store = 20-40 min once;
#    a cold store reads exactly like a preflight red if the cron meets it first)
cd /home/swarm/swarm/Matou/idss && . ../../rehearsal-env.sh \
  && nix develop .#e2e -c true && pnpm install \
  && pnpm --filter app exec playwright install chromium

# 4. cron — executor ONLY (no session-runner line; one is enough, a second races the queue)
( crontab -l 2>/dev/null; echo '*/2 * * * * . /home/swarm/swarm/rehearsal-env.sh && /home/swarm/swarm/Matou/idss/scripts/rehearsal-executor.sh >> /home/swarm/swarm/rehearsal-executor.log 2>&1' ) | crontab -

# 5. dispatch token-sync (now two legs) from the Actions UI

# 6. PROVE it before trusting anything — different issue per host, or STOP
for h in dev@matou-workstation swarm@100.98.240.186; do
  printf '%s: ' "$h"
  ssh "$h" 'grep -hE "^export REHEARSAL_DRIVE_(ISSUE|TARGET)=" "$HOME"/swarm/rehearsal-env.sh | tr "\n" " "'; echo
done

Step 6 printing 652 on both hosts means stop and disarm one before the next */2 tick.

Still owed (not hand-patched on purpose)

The reporter naming the host in its comment lives in .sandcastle/rehearsal-report.sh — a FACTORY_MANIFEST entry vendored byte-identical from Matou/dev-factory (ADR 0180). Editing it here is the ownership inversion that ADR retired, and check-harness-drift.sh reds on it (I made exactly this mistake on #664 and was corrected). It needs an upstream change plus a FACTORY_REF bump, so I am filing it rather than landing drift. Everything else in the acceptance criteria is in place; without it a red still names the drive and target, just not the box.

## Code half landed (`985e8f8`) — your half is below, copy-paste ready > **Ruled by agent under ADR 0174 — veto anytime.** Two-way door throughout: additive record field, an extra workflow leg, docs. **Audit result first:** the executor path was *already* host-agnostic (`$root`/`$HOME`-derived). The only `/home/dev` literal was the crontab comment in `rehearsal-executor.sh`. So there was much less to port than the ticket assumed — the real gaps were evidence attribution and the token sync. Landed: - **drive-status names its host** (`REHEARSAL_HOST`, hostname fallback). With two executors the stamp alone is ambiguous — `test-results/drive-<target>/<stamp>/` is host-LOCAL, so knowing the stamp but not the box means you cannot find the evidence. - **`token-sync` runs one leg per executor host.** Per-host paths are explicit rather than `$HOME`-derived, because the two runners run as different users (`dev` / `swarm`) and a wrong guess writes the token nowhere useful *while reporting success*. `fail-fast: false`, so before you provision elitebook its leg fails loudly on its own and the workstation still gets its tokens. - **`docs/PROCESS.md`** — "adding an executor host", human-only steps marked. - **GOTCHAS #53** — the double-fire hazard, recorded *before* the second host exists. ### ⚠️ The one thing that will bite Two executors pointed at the same `REHEARSAL_DRIVE_ISSUE` **double-fire one standing drive**: two paid droplets, two claims on one slug, and the second `point` overwrites the first's DNS. Nothing in the machinery notices — the ADR 0184 lock protects a host from *itself*, never one host from another. The natural way in is copying `rehearsal-env.sh` and forgetting the two lines that matter, which is exactly what step 2 asks you to do. ### Your half (`!`) ```sh # 1. toolchain ssh swarm@100.98.240.186 curl -fsSL https://install.determinate.systems/nix | sh -s -- install --no-confirm sudo apt-get install -y xvfb sudo snap install doctl && doctl auth init # FULL-account token, NOT idss-broker # 2. env file — copy, then change EXACTLY these three things scp dev@matou-workstation:/home/dev/swarm/rehearsal-env.sh /home/swarm/swarm/rehearsal-env.sh chmod 600 /home/swarm/swarm/rehearsal-env.sh sed -i -e 's/^export REHEARSAL_DRIVE_ISSUE=.*/export REHEARSAL_DRIVE_ISSUE=652/' \ -e 's/^export REHEARSAL_DRIVE_TARGET=.*/export REHEARSAL_DRIVE_TARGET=rented/' \ -e 's#/home/dev#/home/swarm#g' /home/swarm/swarm/rehearsal-env.sh grep -E '^export REHEARSAL_DRIVE_(ISSUE|TARGET)=|/home/' /home/swarm/swarm/rehearsal-env.sh # eyeball it # 3. warm run BEFORE the cron (cold /nix + pnpm store = 20-40 min once; # a cold store reads exactly like a preflight red if the cron meets it first) cd /home/swarm/swarm/Matou/idss && . ../../rehearsal-env.sh \ && nix develop .#e2e -c true && pnpm install \ && pnpm --filter app exec playwright install chromium # 4. cron — executor ONLY (no session-runner line; one is enough, a second races the queue) ( crontab -l 2>/dev/null; echo '*/2 * * * * . /home/swarm/swarm/rehearsal-env.sh && /home/swarm/swarm/Matou/idss/scripts/rehearsal-executor.sh >> /home/swarm/swarm/rehearsal-executor.log 2>&1' ) | crontab - # 5. dispatch token-sync (now two legs) from the Actions UI # 6. PROVE it before trusting anything — different issue per host, or STOP for h in dev@matou-workstation swarm@100.98.240.186; do printf '%s: ' "$h" ssh "$h" 'grep -hE "^export REHEARSAL_DRIVE_(ISSUE|TARGET)=" "$HOME"/swarm/rehearsal-env.sh | tr "\n" " "'; echo done ``` Step 6 printing `652` on both hosts means stop and disarm one before the next `*/2` tick. ### Still owed (not hand-patched on purpose) The reporter naming the host in its comment lives in `.sandcastle/rehearsal-report.sh` — a `FACTORY_MANIFEST` entry vendored byte-identical from `Matou/dev-factory` (ADR 0180). Editing it here is the ownership inversion that ADR retired, and `check-harness-drift.sh` reds on it (I made exactly this mistake on #664 and was corrected). It needs an upstream change plus a `FACTORY_REF` bump, so I am filing it rather than landing drift. Everything else in the acceptance criteria is in place; without it a red still names the drive and target, just not the box.
Author
Owner

Second-executor gap found live (2026-08-22 16:30Z): swarm@elitebook-03 had no SSH keypair, so the #661 auto-rebuild's build.sh could not get into its build droplet — wait_ssh saw Permission denied (publickey) for 5 min, logged "build droplet never answered SSH", deleted the droplet, and the drive parked on the #656 stale gate. Two attempts burned (~20 min of droplet time, both cleaned up).

Fixed by hand: minted ~/.ssh/id_ed25519 for swarm@elitebook-03 and registered it at DO as elitebook-03 (37:61:c4:…:86:a9) — the same shape as the workstation's matou-workstation key. Next executor tick retries the rebuild.

For the runbook half of this ticket: add "executor host needs an SSH keypair registered at DO (doctl compute ssh-key create <host> --public-key …)" to the second-executor checklist, and consider making build.sh fail loud up front when none of the DO-registered keys is loadable locally (today the symptom is a 5-minute never answered SSH that reads like a droplet fault).

**Second-executor gap found live (2026-08-22 16:30Z):** `swarm@elitebook-03` had **no SSH keypair**, so the #661 auto-rebuild's `build.sh` could not get into its build droplet — `wait_ssh` saw `Permission denied (publickey)` for 5 min, logged *"build droplet never answered SSH"*, deleted the droplet, and the drive parked on the #656 stale gate. Two attempts burned (~20 min of droplet time, both cleaned up). **Fixed by hand:** minted `~/.ssh/id_ed25519` for `swarm@elitebook-03` and registered it at DO as `elitebook-03` (`37:61:c4:…:86:a9`) — the same shape as the workstation's `matou-workstation` key. Next executor tick retries the rebuild. **For the runbook half of this ticket:** add *"executor host needs an SSH keypair registered at DO (`doctl compute ssh-key create <host> --public-key …`)"* to the second-executor checklist, and consider making `build.sh` fail loud up front when none of the DO-registered keys is loadable locally (today the symptom is a 5-minute `never answered SSH` that reads like a droplet fault).
Author
Owner

Ben's ruling, 2026-08-25 (interactive session): closed as delivered.

The provisioning ask is done in substance — elitebook-03 has been a live second executor since 2026-08-22 and drove #652 and the #720 confirmation loop to green concurrently with the workstation's phase-3 drive, which is exactly the concurrency this ticket asked for. The remaining residue (the DO SSH-keypair checklist line + build.sh failing loud before renting a droplet it cannot enter, from the 2026-08-22 live gap) is split to #856 (ready-for-agent).

**Ben's ruling, 2026-08-25 (interactive session): closed as delivered.** The provisioning ask is done in substance — elitebook-03 has been a live second executor since 2026-08-22 and drove #652 and the #720 confirmation loop to green concurrently with the workstation's phase-3 drive, which is exactly the concurrency this ticket asked for. The remaining residue (the DO SSH-keypair checklist line + `build.sh` failing loud before renting a droplet it cannot enter, from the 2026-08-22 live gap) is split to **#856** (`ready-for-agent`).
ben closed this issue 2026-08-25 20:31:47 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#659
No description provided.