rent-fails-clean: real DigitalOcean Create 500 preempts the injected provision-stage fault #751
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#751
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
The
rent-fails-cleanleg (the honesty check that a rent failure surfaces a clean, retriable fault naming its stage) reds on the fault-line assertion:(
tests/e2e/journey.rented.spec.ts:205, screenshotartifacts/legs/rent-fails-clean.pngconfirms the rendered card.)What the test expects vs. what happened
s4aRentExpectFail's comment (journey.rented.spec.ts:183-188) explains the intended mechanism: the rehearsal drive uses a fault slug that makes the broker do a realCreate, thenDestroythe droplet itself and surface a synthetic502tagged with stageprovision(ADR 0047, "no half-rented server"). The test anchors on/^provision\s—\s/for exactly that reason (#673 — prove the stage token genuinely propagated, not just appears somewhere in the text).What actually reached the UI was stage
image: DigitalOcean's ownCreatecall was refused with a generic transient response —Internal Server Error: {"error":"unable to process request, please try again"}— before the fault-slug's injectedprovision-stage failure ever got a chance to fire. The broker correctly reported the real failure at theimagestage; the rehearsal's own fault-injection logic never ran.Corroboration / what's absent
artifacts/journey.json(rows: null, fault: null) — the founding state never progressed past S4, consistent with the rent card staying in place.logs/founding-state.logshows the draft frozen at"step": "access", matching the "draft untouched at S4" assertion the leg still got right.logs/guest-*.logare all empty/errors (no dbus session, no unit file) — no droplet was ever reached, becauseCreateitself failed. Expected for this failure mode, not a separate defect.rent-fails-cleanleg, not the pairing/carrier legs.Suspected layer
Infra, surfacing a product/broker resilience gap: DigitalOcean's
Createendpoint returned a generic transient 5xx (the same class of errora89f392— "sandcastle: #749 — DigitalOcean.Destroy rides out a transient DO 5xx on the teardown DELETE" — already patched for the teardownDELETEcall). TheCreatepath has no equivalent tolerance: one flaky DO response propagates straight through as stageimageand preempts the rehearsal's intendedprovision-stage fault injection, redding a leg that isn't actually testing what it thinks it's testing.What plugging needs
Mirror #749's retry-on-transient-5xx handling from the broker's
Destroycall onto itsCreatecall (theimagestage) in the rentals broker, so a one-off DigitalOcean hiccup doesn't short-circuit the fault-slug's own injected failure before it can fire. Once that lands, re-run the leg to confirm the fault-line reaches the intendedprovision — …stage; if a retriedCreatestill exhausts and genuinely fails, the harness should treat that as a distinct (real infra outage) leg outcome rather than reporting it against theprovision-stage assertion.drive
20260824T181604Zred atrent-fails-clean:expect(locator).toHaveText(expected) failed Locator: locator('[data-status="rent-error"] [data-field="fault-line"]') Expected pattern: /^\s*provision\s+—\s/i Received string: "image — broker: Digievidence:
test-results/…/20260824T181604Z/on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)swarm-claim host=elitebook-distributed-server-03 run=9784
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #751 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
ca972a4211is not reachable from origin/main (not landed)envelope
close-report for #751 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
idss-rental-expires-tag on a LIVE rental once the broker actually deploys (#741's broker half is merged but not installed) #745