wizard-rent reds on raw DigitalOcean 404 during S4a rent-create (recurrence of #678) #680
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.
Reference
Matou/idss#680
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?
Failing leg:
wizard-rent(rented-gateway journey,tests/e2e/journey.rented.spec.ts:237-> assertion at:173), red after 480525ms.rent-fails-clean(the fault-injection leg) stayed green.What happened. S4a's rent card never advanced to
[data-status="address"]; it had already settled on a terminal, unretried DigitalOcean refusal well before the 8-minute Playwright timeout expired -- the timeout is just how long the assertion polled uselessly after the UI was already stuck. Fromartifacts/journey.rented-rented-gate-014d4--on-a-broker-rented-droplet/error-context.md:and the page snapshot at failure time:
artifacts/journey.jsonconfirms founding never got far enough to record rows ({"rows": null, "fault": null}), and everylogs/guest-*.logis empty or a local-connection failure (e.g.guest-unit.log: "Failed to connect to user scope bus via local transport") -- consistent with no droplet ever having existed to harvest from, since the create call itself was refused.Corroborating evidence already in this run directory.
logs/healer-claude.out(the in-run rehearsal healer's own diagnosis, produced before this report) traces the same error-context line to a signature (3b0b824f61b8) STATUS.md already records from an earlier drive (20260822T181240Z). That drive produced two outcomes: #677, shipped, which added a bounded retry toensureSSHKey'sPOST /v2/account/keys(safe to retry because the key fingerprint is computed locally, so a true duplicate always 422s); and #678, left open/needs-info, for the sibling gap --DigitalOcean.Create'sPOST /v2/droplets(provider_do.go:139) is still unretried, because blindly retrying a droplet-create risks provisioning a second droplet if the first POST succeeded but its response was lost (an ADR 0047 no-half-rented violation from the other direction). #678 explicitly predicted this exact recurrence.What this run cannot pin. There's no broker-process stdout/log captured anywhere under
logs/orartifacts/in this run directory, so thed.domethod/path/status line (added by #677) that would say whether this refusal hit the un-retried/v2/dropletsPOST orensureSSHKeyexhausting its now-3-retry budget on an unusually long blip is not available. No "Live droplet" section was supplied for this diagnosis and the box is not known to still be up, so this can't be checked live either -- this report rests entirely on the harvested artifacts.Suspected layer. Infra-triggered (a transient DigitalOcean API refusal) surfaced through a product/broker gap: the droplet-create call path lacks the retry-with-safety-check that
ensureSSHKeyalready got in #677. The harness itself behaved correctly -- Playwright waited the full configured timeout on a UI that had already reached a legitimate terminal error state, which is expected behavior, not a harness bug. This is not the known own-VPS pairing-never-flips frontier (no skip reasons are present inlegs.json; both legs ran withskip: 0).What plugging it needs. This is not a fresh mechanical fix -- the healer log records that it drafted the obvious "wrap
/v2/dropletsin the same retry asensureSSHKey" patch, then reverted it on finding that this exact retry was already considered and deliberately rejected without an idempotency/existence-check guard. Closing this needs a design decision already scoped in #678: before retrying the create POST, list droplets by theidss-gateway/idss-rentaltag and match the request's own generated name (or use a DO create-endpoint idempotency key, if one exists) to detect a landed-but-unacknowledged create. Separately, the drive harness should start capturing the broker process's stdout/log into the run directory -- its absence here is why this recurrence can't be pinned to a specific call site.Recommend triaging as a duplicate/reinforcement of #678 rather than opening parallel work.
drive
20260822T185236Zred atwizard-rent:expect(locator).toBeVisible() failed Locator: locator('[data-status="address"]') Expected: visible Timeout: 480000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 480000msevidence:
test-results/…/20260822T185236Z/on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)Ruled by agent under ADR 0174 — veto anytime.
This ticket is its own filer's honest self-assessment: it reproduces
#678's exact fault-line (sig
3b0b824f61b8) and explicitly concludes "Thisreport rests entirely on the harvested artifacts" and "Recommend triaging
as a duplicate/reinforcement of #678 rather than opening parallel work." I
verified that against #678 directly:
needs-info) already tracks precisely this gap — thedroplet-create
POST /v2/dropletsis deliberately left un-retried(blind retry risks a second real droplet, ADR 0047 no-half-rented) until
a raw refusal's
d.domethod/path/status log (added by #677) pins it asthe actual culprit rather than
ensureSSHKeyexhausting its own retrybudget.
log reached the run directory (confirmed:
logs/in this run holds onlyempty/local-connection-failure guest logs, no broker output at all). So
#678 stays exactly as scoped; there's nothing new to rule on the retry
guard itself.
(
ready-for-session) for the drive harness to start harvesting thebroker's journal into the run directory (same SSH-harvest shape already
used for the droplet's own caddy log), and linked it as blocking #678 —
closing #681 is what makes the next occurrence of this pinnable.
Why this is a two-way door: closing #680 as a duplicate is revertible
(reopen) and provable by direct comparison against #678's body/labels,
which I did above. No code changes, no infrastructure touched. Posting
this ruling and closing.
Closing this ticket. Nothing further to action here beyond what #678 and
#681 already track.
Close-report.
Ruling: duplicate/reinforcement of #678, per this ticket's own filer's
recommendation (verified above) — closed, not superseded by any new fix.
What landed:
20260822T185236Z, same sig) and confirming it still doesn't supply thepinning evidence #678 is gated on.
into the run directory (it's a remote systemd service, never spawned
locally — confirmed via
scripts/lib/rehearsal-droplet.shandbroker/README.md), which is why neither #678's original occurrencenor this recurrence could be pinned to a specific DO call site. #681
carries the exact existing harness pattern to mirror
(
rehearsal-droplet.sh:341-345's SSH/journalctl harvest) and is linkedas blocking #678.
fix. The actual
/v2/dropletsretry-guard design (#678) and thebroker-log-capture gap (#681) remain open, correctly gated on further
information neither this session nor this ticket's own artifacts could
supply.
Proof: #678's body/state and #680's own artifacts (
legs.json,artifacts/journey.json,logs/) compared directly; #681 created with anative Forgejo dependency (
GET /issues/678/dependencieslists it) so.sandcastle/list-ready-tasks.shreflects the block correctly.STATUS.md: not updated — no code/project-state change landed in this
ticket (routing + a new tracked gap only); #678's existing STATUS.md entry
already covers the retry-guard design gap accurately.
No human step needed here — this was a two-way-door triage ruling
(ADR 0174 rule 1), not a one-way door.