enroll-activate: config_eval's flake-input fetch dies on the fresh droplet's cold resolver — bounded retry on the transient-DNS signature (two consecutive drives) #542
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#542
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?
Evidence
Drives
20260814T175515Zand20260814T180446Z(consecutive) both redded atenroll-activatewith the identical signature:Probed at red time from the workstation: the same archive URL answers HTTP 200 in 2.3 s and git.clan.lol resolves instantly — the forge is healthy; the failure is the FRESH DROPLET's resolver being cold/slow in the seconds the eval first fetches flake inputs. One nix fetch attempt with a 5 s DNS budget, no retry → the whole founding reds on a transient.
Direction
Bounded retry around the enroll/config_eval step (the ADR 0161 5-minute-re-run spirit, applied inside one drive):
clan's config_eval / the enroll-activate remote eval (internal/clan cli seam), catch a failure whose stderr matches the transient-fetch signature (Timeout was reached/Resolving timed out/Failed to open archiveon a flake-input URL) and retry the SAME step — 3 attempts total, ~20–30 s apart (long enough for systemd-resolved to warm), each attempt logged loudly with its ordinal so evidence shows the retries.Blocks #492 (drives
175515Z+180446Z).close-report for #542 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
b1b1705is not reachable from origin/main (not landed on main)envelope
close-report for #542 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope
Reopened — the landed retry wraps the WRONG call site; the red recurred unchanged on drive
20260814T184731Z(third identical).Evidence the fix never engaged: the drive ran
b1b1705(pushed 18:41:52, drive synced and fired 18:47:31), yet there are ZEROtransient flake-input fetch timeout (attempt n/3)warns in any run log or the executor log — and the leg error is the identical single-shot text.Why:
Adapter.evalReadinessis the local headlessnix evalpreflight on the app host, whose resolver is warm (the same archive URL fetches in 2.3 s from the workstation — probed at red time). The failing eval is clan's REMOTE eval on the droplet — the error saysfetching flake inputs on remotewith[gateway]per-host prefixes — inside the enroll-activate apply. The local preflight passes first-try; then the remote apply dies on the droplet's cold resolver. The landed hold is harmless — keep it — but the absorber must sit on the remote path:Corrected direction
curl -sI --max-time 10 https://git.clan.lol/(the exact fetch path the remote eval needs; warms systemd-resolved and proves reachability). Log each attempt with its ordinal. If it never succeeds, red LOUD with the cold-resolver signature named — clearly distinguishable from a config error.Resolving timed out/Timeout was reached/Failed to open archiveon a flake-input URL), re-run the apply ONCE after ~30 s, logged. Non-matching failures red immediately as today.[gateway]-prefixed "on remote" fetch timeouts happen inside clan's apply on the droplet, where no app-host retry can reach.Blocks #492 (drives
175515Z,180446Z,184731Z).swarm-claim host=elitebook-distributed-server-03 run=6352
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #542 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope
close-report for #542 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope
config_eval— the one-shot transport retry never fires and the operator is told to fix a flake that is fine #1272