rented standing drive can be WEDGED by a stale subdomain reservation no later drive can offboard — claim 409s until a human reads the broker ledger #754
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.
Dependencies
No dependencies set.
Reference
Matou/idss#754
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?
Two consecutive #720 drives (
20260824T190713Z,192250Z) redded atwizard-rentwith the wizard showing "claim — That community name is already taken": the broker held a liverehearsal-creservation (secretx0SHIAIA…) that no subsequent drive's teardown could offboard — each teardown greps the claim secret from its OWN run's state, and the run that had minted that reservation was an earlier red whose offboard had already failed once ("offboard refused/failed — records (if any) outlive this drive"). From then on every drive 409s at claim, its state never holds the blocking secret, and the standing drive is wedged until a human reads the ledger. Cleared by hand tonight (release 204 + offboard 204 with the ledger's own secret).Also observed:
rehearsal-rentfail*reservations accumulate (5 now, two unsuffixed) — same offboard-miss class, non-blocking only because rentfail slugs are timestamp-suffixed.What would close this
Break the wedge class, e.g.: teardown falls back to a broker admin/ops route (or the drive-stamped slug pattern extends to the MAIN rehearsal slug so a stale reservation can never collide), or the broker expires unredeemed/unrented reservations on a TTL like everything else. The evidence for the failed-offboard chain is in the elitebook executor log around 16:4x ("offboarded rehearsal-c" succeeded there; the later wedge-maker is in the 18:1x–18:3x window).
swarm-claim host=elitebook-distributed-server-03 run=9830
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
The ticket's "What would close this" offered three approaches: (1) a broker admin/ops teardown route, (2) extend the drive-stamped slug pattern to the MAIN rehearsal slug, or (3) the broker expires unredeemed/unrented reservations on a TTL like everything else.
Chosen: option 3. A reservation now carries a claim time and a
redeemedflag. It is REDEEMED the moment its name isPointed at a live gateway — a real community (#278) whose name never expires. An UNREDEEMED reservation (claimed, never pointed) lapses afterDefaultReservationTTL(24h, env-tunableIDSS_RESERVATION_TTL): past that,Registry.Claimre-issues the slug with a fresh secret, so an abandoned claim whose secret was lost self-heals in one lease window — no human ever reads the ledger. On-disk ledger → v3; a pre-TTL v2/v1 ledger grandfathers every name as redeemed (the only #278-safe reading, since a v2 record cannot say whether a name was ever pointed).Why option 3 over the alternatives: (2) conflicts with the LE cert-budget design — the main rehearsal slug is deliberately FIXED and cert-harvested/reseeded (GOTCHAS #32); timestamp-suffixing it would burn Let's Encrypt's 5-certs/168h budget every drive. (1) widens the security posture (an unauthenticated force-offboard route). (3) is the "like everything else" fix the ticket itself names, stays wholly inside the broker's domain, and breaks the wedge class (self-heals, never needs a human).
Why a two-way door: revertible by a later commit, proven by an existing test (
broker/internal/broker/reservation_ttl_test.go, red-before-green), and not on the one-way-door list (no credentials, no security-posture widening — a lapsed reservation only frees an abandoned name, never a live/redeemed one; no data destruction). The TTL value is env-tunable, so tuning is not a code change.GOTCHAS #80. Fix landing on main this iteration.
close-report for #754 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
rehearsal-c.idss.nz+ its wildcard resolve to a droplet DigitalOcean has taken back #758idss-rental-expires-tag on a LIVE rental once the broker actually deploys (#741's broker half is merged but not installed) #745idss-rental-expires-tag on a LIVE rental once the broker actually deploys (#741's broker half is merged but not installed) #745