The device target never arms cert persistence, so every re-found drive burns a Let's Encrypt order — rehearsal-d's quota is now spent #986
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#986
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?
Failure
Drive
20260829T114921Z(targetdevice) redded atstanding/activation: the gateway's Caddy could not obtain a certificate for the apex because Let's Encrypt's duplicate-certificate cap forrehearsal-d.idss.nzis exhausted.logs/gateway-caddy.txtcarries, on all five obtain retries,HTTP 429 urn:ietf:params:acme:error:rateLimited - too many certificates (5) already issued for this exact set of identifiers in the last 168h0m0s, retry after 2026-08-30 01:35:49 UTC. Every other deploy step isdone; onlypublic-entryfailed (founding-state.log,standup.deploy.steps).The companion commit makes this fault report itself honestly (rate_limited kind, retry-after instant, no futile recovery buttons). It does not stop the drive burning orders. Until ~2026-08-30 01:35 UTC an immediate re-drive against this slug reds identically — see "Unblocking now" below.
Evidence
scripts/smoke-private-path.sh:602—if [[ "$uses_droplet_machinery" == "1" && "$target" == "rented" ]]; then oc_rented_certs_arm "$run_dir"; fi. Thedevicetarget is excluded, so neither the seed nor the harvest half of #724 ever runs on it.scripts/smoke-private-path.sh:574-577— the device re-found path's own comment concedes the shape: "A re-found RENTS a fresh gateway from the broker mid-drive against the FIXED REHEARSAL_SLUG (runRentedPrefix, exactly as --target rented)". It already borrows the rented pre-rent sweep (oc_rented_release_stale_slug,oc_rented_offboard_stale_slug) — the cert worker is the one rented-path guard it did not borrow.test-results/cert-store/holds exactly one slug dir,rehearsal-c(last written 2026-08-24). There is norehearsal-dstore at all, despite fourrehearsal-ddevice drives today (20260829T085335Z,105554Z,113721Z,114921Z).logs/cert-rented.txt(oc_rented_certs_reap's verdict file,scripts/lib/rehearsal-droplet.sh:1130) and nologs/caddy-rented.txt— the worker was never armed. The onlycert-rented.txtfiles undertest-results/belong todrive-rented/runs from 2026-08-25.docs/GOTCHAS.md#32 records the hazard and its #532/#559/#724 fixes; the #724 amendment says in terms that the rented path "is the target the standing queue drives". The queue has since moved todevice, and the persistence wiring did not follow.Suspected layer
The drive harness, not the product.
internal/certpersist,cmd/rehearsal-certstore,oc_rented_certs_arm/_worker/_reap(scripts/lib/rehearsal-droplet.sh:938-1145) are all present and seam-tested — they are simply not reached from thedevicebranch.What plugging it needs
oc_rented_certs_armfor thedevicetarget on its re-found path (theOC_STANDING_REFOUND=1branch atscripts/smoke-private-path.sh:570-594), not unconditionally — a device drive against an already-standing community rents nothing and should stay untouched.oc_rented_certs_workerreads the box IP from$run_dir/artifacts/droplet-ip.txtand prefers the SSH identity at$run_dir/state/rent-operator/id_ed25519(scripts/lib/rehearsal-droplet.sh:1002-1004). The device drive satisfies the first (artifacts/droplet-ip.txtexists,134.199.155.189) but not the second: this run'sfounding-state.logenrollment blob puts the rent-operator key undertest-results/standing-rented/state/rent-operator/id_ed25519— the standing community's state dir, not the per-drive run dir. Either pass the identity path in or fall back to the standing state dir, otherwise the worker silently fails to authenticate and degrades to a note while still burning orders.scripts/tests/rehearsal-rented-certs-test.sh(offline, fakessh) to cover the device arm, so this stays offline-provable.docs/GOTCHAS.md#32 once landed — its #724 amendment currently namesrentedas the standing queue's target.Unblocking now
The
rehearsal-didentifier set is walled until 2026-08-30 01:35:49 UTC. Per GOTCHAS #32 the sanctioned mitigation is rotatingREHEARSAL_SLUG(live value in.sandcastle/.envon the executor; fallback default inscripts/lib/swarm-identity.sh:42) to an unwalled slug — note each rotation still spends idss.nz's 50-new-orders/week registered-domain budget at ~2 orders per drive. Otherwise the drive must wait out the retry-after instant. Landing this issue is what stops the next slug being burned the same way.drive
20260829T114921Zred atstanding:the gateway deploy failed — The gateway deploy failed. [There is no old operating system to roll back to — this server was rented fresh for the community, so nothing of yours was overwritten.]evidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260829T114921Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=13828
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #986 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope