rehearsal-4: executor target — --target rented; broker-rented droplet lifecycle with doctl fallback reap #651
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#651
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Arc: #183 rehearsal phase 4 — rented gateway (S4a). Spec:
docs/superpowers/specs/2026-08-21-183-phase-4-rented-gateway-rehearsal-design.md. Plan:docs/superpowers/plans/2026-08-21-183-phase-4-rented-gateway-rehearsal.md(read its Global Constraints first — they apply to this task). This ticket's body is the plan's task verbatim. Phase-3 precedent: #515–#523.Task 7: Executor target
--target rented+ rented droplet lifecycleFiles:
scripts/smoke-private-path.sh(acceptrentedin the target case anduses_droplet_machinery; forrentedskipoc_droplet_create— the wizard rents; after the drive readtest-results/drive-rented/<stamp>/artifacts/droplet-ip.txtintoOC_E2E_DROPLET_IPfor evidence/teardown)scripts/lib/rehearsal-droplet.sh—oc_rented_preflight(doctl +IDSS_BROKER_URL+curl -sf $IDSS_BROKER_URL/v1/gateways/offerreturns 200 with"price":"");oc_rented_teardown(offboard as today; thendoctl compute droplet list --tag-name idss-gateway --format ID,Name,PublicIPv4 --no-header | awk -v ip=... '$3==ip{print $1}'→doctl compute droplet delete -ffallback when the spec's ownreleaseleg did not run)scripts/rehearsal-cycle.sh(comment +drive-$targetdir already generic;.env.exampledocumentsREHEARSAL_DRIVE_TARGET=rented)scripts/tests/rehearsal-rented-target-test.sh(offline:smoke-private-path.sh --target rented --dry-runstyle arg parsing acceptsrentedand refuses--drive; fakedoctlteardown path deletes by IP)docs/GOTCHAS.md(broker-created droplets are NOT clan-lab-tagged —clan-lab reapnever sees them; theidss-gatewaytag + broker reaper are the failsafe),STATUS.mdInterfaces:
Consumes: Task 6's
droplet-ip.txtartifact + leg ids; Task 3's offer route.Produces:
REHEARSAL_DRIVE_TARGET=renteddrivesjourney.rented.spec.tsundertest-results/drive-rented/.Step 1: Write the offline test (failing) → run → FAIL.
Step 2: Implement the three script edits.
Step 3: Run the test → PASS;
bash -nboth scripts; run the existingscripts/tests/*.shsuite → PASS (no regression fordroplet/selfhosted).Step 4: Commit —
git commit -m "rehearsal-4: executor target — --target rented; broker-rented droplet lifecycle with doctl fallback reap (#651)".swarm-claim host=elitebook-distributed-server-03 run=8660
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #651 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope