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

Closed
opened 2026-08-14 18:12:54 +00:00 by ben · 6 comments
Owner

Evidence

Drives 20260814T175515Z and 20260814T180446Z (consecutive) both redded at enroll-activate with the identical signature:

clan: config_eval on gateway: the node's config does not evaluate:
error: unable to download 'https://git.clan.lol/api/v1/repos/clan/clan-core/archive/d098fa2….tar.gz':
Timeout was reached (28) Resolving timed out after 5000 milliseconds

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):

  1. Where the founding stand-up runs 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 archive on 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.
  2. NON-matching eval failures red immediately exactly as today — never retry a genuine config error (the fail-loud rule).
  3. Seam test: the retry triggers on the signature, not on a plain eval error; the ordinal logging pinned.
  4. GOTCHAS entry: fresh-droplet cold resolver vs flake-input fetch; the signature; the workstation-probe discriminator (forge healthy ≠ droplet can resolve).

Blocks #492 (drives 175515Z + 180446Z).

## Evidence Drives `20260814T175515Z` and `20260814T180446Z` (consecutive) both redded at `enroll-activate` with the identical signature: ``` clan: config_eval on gateway: the node's config does not evaluate: error: unable to download 'https://git.clan.lol/api/v1/repos/clan/clan-core/archive/d098fa2….tar.gz': Timeout was reached (28) Resolving timed out after 5000 milliseconds ``` 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): 1. Where the founding stand-up runs `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 archive` on 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. 2. NON-matching eval failures red immediately exactly as today — never retry a genuine config error (the fail-loud rule). 3. Seam test: the retry triggers on the signature, not on a plain eval error; the ordinal logging pinned. 4. GOTCHAS entry: fresh-droplet cold resolver vs flake-input fetch; the signature; the workstation-probe discriminator (forge healthy ≠ droplet can resolve). Blocks #492 (drives `175515Z` + `180446Z`).
Author
Owner

close-report for #542 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit b1b1705 is not reachable from origin/main (not landed on main)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'docs/GOTCHAS.md' is not in the diff of the claimed commits
  • changed_files: 'internal/clan/adapter.go' is not in the diff of the claimed commits
  • changed_files: 'internal/clan/readiness_retry_test.go' is not in the diff of the claimed commits
envelope
{
  "issue": 542,
  "status": "success",
  "commits": [
    "b1b1705"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/GOTCHAS.md",
    "internal/clan/adapter.go",
    "internal/clan/readiness_retry_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/clan/ -run TestReadiness",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/clan/",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/clan/",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Retry catches the transient-fetch signature and re-runs the SAME config_eval step, 3 attempts total ~20-30s apart, each logged with its ordinal": "internal/clan/adapter.go evalReadiness: on isTransientFlakeFetch it holds evalTransientFetchDelay (25s) via a.sleep and logs `(attempt N/3)`, bounded by evalReadinessAttempts=3; proven by TestReadiness_WarmupRetriesTransientFlakeFetch (3 attempts, 2 holds at the warm delay, ordinal log asserted)",
    "NON-matching eval failures red immediately as today — a genuine config error is never retried on the warm-up path": "TestReadiness_PlainEvalErrorSkipsWarmupHold: 0 holds, no ordinal logged, config_eval surfaced; isTransientFlakeFetch matches only fetch-timeout phrases nix eval never prints",
    "Seam test: retry triggers on the signature not a plain eval error; ordinal logging pinned": "readiness_retry_test.go: TestReadiness_WarmupRetriesTransientFlakeFetch + TestReadiness_PlainEvalErrorSkipsWarmupHold + TestReadiness_CancelledDuringWarmupHoldStops",
    "GOTCHAS entry: cold-resolver vs flake-input fetch, the signature, the workstation-probe discriminator": "docs/GOTCHAS.md entry #36"
  },
  "summary": "evalReadiness holds ~25s for a fresh droplet's resolver to warm and retries — but only on the transient flake-input-fetch signature, with ordinal logging; genuine config errors red immediately.",
  "blockers": []
}
**close-report** for #542 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit b1b1705 is not reachable from origin/main (not landed on main) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'docs/GOTCHAS.md' is not in the diff of the claimed commits - changed_files: 'internal/clan/adapter.go' is not in the diff of the claimed commits - changed_files: 'internal/clan/readiness_retry_test.go' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 542, "status": "success", "commits": [ "b1b1705" ], "changed_files": [ "STATUS.md", "docs/GOTCHAS.md", "internal/clan/adapter.go", "internal/clan/readiness_retry_test.go" ], "tests": [ { "command": "go test ./internal/clan/ -run TestReadiness", "exit_code": 0 }, { "command": "go test ./internal/clan/", "exit_code": 0 }, { "command": "go vet ./internal/clan/", "exit_code": 0 } ], "criteria": { "Retry catches the transient-fetch signature and re-runs the SAME config_eval step, 3 attempts total ~20-30s apart, each logged with its ordinal": "internal/clan/adapter.go evalReadiness: on isTransientFlakeFetch it holds evalTransientFetchDelay (25s) via a.sleep and logs `(attempt N/3)`, bounded by evalReadinessAttempts=3; proven by TestReadiness_WarmupRetriesTransientFlakeFetch (3 attempts, 2 holds at the warm delay, ordinal log asserted)", "NON-matching eval failures red immediately as today — a genuine config error is never retried on the warm-up path": "TestReadiness_PlainEvalErrorSkipsWarmupHold: 0 holds, no ordinal logged, config_eval surfaced; isTransientFlakeFetch matches only fetch-timeout phrases nix eval never prints", "Seam test: retry triggers on the signature not a plain eval error; ordinal logging pinned": "readiness_retry_test.go: TestReadiness_WarmupRetriesTransientFlakeFetch + TestReadiness_PlainEvalErrorSkipsWarmupHold + TestReadiness_CancelledDuringWarmupHoldStops", "GOTCHAS entry: cold-resolver vs flake-input fetch, the signature, the workstation-probe discriminator": "docs/GOTCHAS.md entry #36" }, "summary": "evalReadiness holds ~25s for a fresh droplet's resolver to warm and retries — but only on the transient flake-input-fetch signature, with ordinal logging; genuine config errors red immediately.", "blockers": [] } ``` </details>
Author
Owner

close-report for #542 — status success

✅ close-report gates passed — every claim verified against main; closing.

envelope
{
  "issue": 542,
  "status": "success",
  "commits": [
    "b1b1705"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/GOTCHAS.md",
    "internal/clan/adapter.go",
    "internal/clan/readiness_retry_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/clan/ -run TestReadiness",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/clan/",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/clan/",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Retry catches the transient-fetch signature and re-runs the SAME config_eval step, 3 attempts total ~20-30s apart, each logged with its ordinal": "internal/clan/adapter.go evalReadiness: on isTransientFlakeFetch it holds evalTransientFetchDelay (25s) via a.sleep and logs `(attempt N/3)`, bounded by evalReadinessAttempts=3; proven by TestReadiness_WarmupRetriesTransientFlakeFetch (3 attempts, 2 holds at the warm delay, ordinal log asserted)",
    "NON-matching eval failures red immediately as today — a genuine config error is never retried on the warm-up path": "TestReadiness_PlainEvalErrorSkipsWarmupHold: 0 holds, no ordinal logged, config_eval surfaced; isTransientFlakeFetch matches only fetch-timeout phrases nix eval never prints",
    "Seam test: retry triggers on the signature not a plain eval error; ordinal logging pinned": "readiness_retry_test.go: TestReadiness_WarmupRetriesTransientFlakeFetch + TestReadiness_PlainEvalErrorSkipsWarmupHold + TestReadiness_CancelledDuringWarmupHoldStops",
    "GOTCHAS entry: cold-resolver vs flake-input fetch, the signature, the workstation-probe discriminator": "docs/GOTCHAS.md entry #36"
  },
  "summary": "evalReadiness holds ~25s for a fresh droplet's resolver to warm and retries — but only on the transient flake-input-fetch signature, with ordinal logging; genuine config errors red immediately.",
  "blockers": []
}
**close-report** for #542 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; closing. <details><summary>envelope</summary> ```json { "issue": 542, "status": "success", "commits": [ "b1b1705" ], "changed_files": [ "STATUS.md", "docs/GOTCHAS.md", "internal/clan/adapter.go", "internal/clan/readiness_retry_test.go" ], "tests": [ { "command": "go test ./internal/clan/ -run TestReadiness", "exit_code": 0 }, { "command": "go test ./internal/clan/", "exit_code": 0 }, { "command": "go vet ./internal/clan/", "exit_code": 0 } ], "criteria": { "Retry catches the transient-fetch signature and re-runs the SAME config_eval step, 3 attempts total ~20-30s apart, each logged with its ordinal": "internal/clan/adapter.go evalReadiness: on isTransientFlakeFetch it holds evalTransientFetchDelay (25s) via a.sleep and logs `(attempt N/3)`, bounded by evalReadinessAttempts=3; proven by TestReadiness_WarmupRetriesTransientFlakeFetch (3 attempts, 2 holds at the warm delay, ordinal log asserted)", "NON-matching eval failures red immediately as today — a genuine config error is never retried on the warm-up path": "TestReadiness_PlainEvalErrorSkipsWarmupHold: 0 holds, no ordinal logged, config_eval surfaced; isTransientFlakeFetch matches only fetch-timeout phrases nix eval never prints", "Seam test: retry triggers on the signature not a plain eval error; ordinal logging pinned": "readiness_retry_test.go: TestReadiness_WarmupRetriesTransientFlakeFetch + TestReadiness_PlainEvalErrorSkipsWarmupHold + TestReadiness_CancelledDuringWarmupHoldStops", "GOTCHAS entry: cold-resolver vs flake-input fetch, the signature, the workstation-probe discriminator": "docs/GOTCHAS.md entry #36" }, "summary": "evalReadiness holds ~25s for a fresh droplet's resolver to warm and retries — but only on the transient flake-input-fetch signature, with ordinal logging; genuine config errors red immediately.", "blockers": [] } ``` </details>
ben closed this issue 2026-08-14 18:44:29 +00:00
Author
Owner

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 ZERO transient 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.evalReadiness is the local headless nix eval preflight 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 says fetching flake inputs on remote with [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

  1. Remote resolver warm-up before the apply: in the enroll-activate/stand-up step, BEFORE invoking clan's remote apply, run over the existing ssh door ON the droplet a bounded warm-up loop — up to ~6 attempts, ~15 s apart, of 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.
  2. Belt-and-braces: if the apply still fails and its output matches the transient signature (Resolving timed out / Timeout was reached / Failed to open archive on a flake-input URL), re-run the apply ONCE after ~30 s, logged. Non-matching failures red immediately as today.
  3. Seam tests for both; amend the #542 GOTCHAS entry with the lesson: the local eval preflight is not the remote eval — [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).

**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 ZERO `transient 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.evalReadiness` is the **local headless `nix eval` preflight 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 says `fetching flake inputs on remote` with `[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 1. **Remote resolver warm-up before the apply**: in the enroll-activate/stand-up step, BEFORE invoking clan's remote apply, run over the existing ssh door ON the droplet a bounded warm-up loop — up to ~6 attempts, ~15 s apart, of `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. 2. **Belt-and-braces**: if the apply still fails and its output matches the transient signature (`Resolving timed out` / `Timeout was reached` / `Failed to open archive` on a flake-input URL), re-run the apply ONCE after ~30 s, logged. Non-matching failures red immediately as today. 3. Seam tests for both; amend the #542 GOTCHAS entry with the lesson: **the local eval preflight is not the remote eval — `[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`).
ben 2026-08-14 19:38:18 +00:00
Author
Owner

swarm-claim host=elitebook-distributed-server-03 run=6352
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=6352 (automated multi-host claim — lowest live claim id works this ticket)
Author
Owner

close-report for #542 — status success

✅ close-report gates passed — every claim verified against main; closing.

envelope
{
  "issue": 542,
  "status": "success",
  "commits": [
    "855870b09bd05a63477247279c4dc00ae0352dd7"
  ],
  "changed_files": [
    "STATUS.md",
    "app/helper/cmd/helper/wiring_prod.go",
    "docs/GOTCHAS.md",
    "internal/clan/adapter.go",
    "internal/clan/enroll_activate_warmup_test.go",
    "internal/clan/enrollment.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/clan/",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "go vet ./...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Remote resolver warm-up before the apply (curl git.clan.lol over the droplet's ssh door, ~6 attempts ~15s apart, ordinal-logged, red loud if never)": "internal/clan/enrollment.go warmDropletResolver + resolverWarmArgs, called from verify before the apply; TestEnroll_WarmsDropletResolverBeforeRemoteApply / TestEnroll_WarmupRetriesColdResolverThenWarms / TestEnroll_WarmupNeverSucceedsIsBestEffortNotFatal",
    "Belt-and-braces: re-run the apply ONCE on the transient signature after ~30s, non-matching failures red immediately": "internal/clan/enrollment.go verify update loop (isTransientFlakeFetch guard, one re-run at transientApplyRetryDelay, then resumable block naming the cold resolver); TestEnroll_ActivateReRunsRemoteApplyOnColdResolverThenMember / TestEnroll_ActivateColdResolverStaysColdBlocksResumable / TestEnroll_ActivatePlainConfigErrorRedsTerminalNoReRun",
    "Seam tests for both": "internal/clan/enroll_activate_warmup_test.go (7 tests, all passing)",
    "GOTCHAS entry amended with the local-preflight-is-not-remote-eval lesson": "docs/GOTCHAS.md #36 amended (the [gateway]-prefixed on-remote fetch timeout lives inside clan's apply on the droplet)"
  },
  "summary": "Moved #542's cold-resolver absorber from the app-host eval preflight (wrong call site) to the enroll-activate REMOTE apply: a droplet-side resolver warm-up before the apply plus a belt-and-braces single re-run of the apply on the transient flake-input-fetch signature.",
  "reason": "The reopened ticket's corrected direction: the app-host preflight hold (b1b1705) could never reach the droplet's cold resolver; the fix must sit on clan's remote eval path inside verify.",
  "blockers": []
}
**close-report** for #542 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; closing. <details><summary>envelope</summary> ```json { "issue": 542, "status": "success", "commits": [ "855870b09bd05a63477247279c4dc00ae0352dd7" ], "changed_files": [ "STATUS.md", "app/helper/cmd/helper/wiring_prod.go", "docs/GOTCHAS.md", "internal/clan/adapter.go", "internal/clan/enroll_activate_warmup_test.go", "internal/clan/enrollment.go" ], "tests": [ { "command": "go test ./internal/clan/", "exit_code": 0 }, { "command": "go test ./internal/founding/", "exit_code": 0 }, { "command": "go vet ./...", "exit_code": 0 } ], "criteria": { "Remote resolver warm-up before the apply (curl git.clan.lol over the droplet's ssh door, ~6 attempts ~15s apart, ordinal-logged, red loud if never)": "internal/clan/enrollment.go warmDropletResolver + resolverWarmArgs, called from verify before the apply; TestEnroll_WarmsDropletResolverBeforeRemoteApply / TestEnroll_WarmupRetriesColdResolverThenWarms / TestEnroll_WarmupNeverSucceedsIsBestEffortNotFatal", "Belt-and-braces: re-run the apply ONCE on the transient signature after ~30s, non-matching failures red immediately": "internal/clan/enrollment.go verify update loop (isTransientFlakeFetch guard, one re-run at transientApplyRetryDelay, then resumable block naming the cold resolver); TestEnroll_ActivateReRunsRemoteApplyOnColdResolverThenMember / TestEnroll_ActivateColdResolverStaysColdBlocksResumable / TestEnroll_ActivatePlainConfigErrorRedsTerminalNoReRun", "Seam tests for both": "internal/clan/enroll_activate_warmup_test.go (7 tests, all passing)", "GOTCHAS entry amended with the local-preflight-is-not-remote-eval lesson": "docs/GOTCHAS.md #36 amended (the [gateway]-prefixed on-remote fetch timeout lives inside clan's apply on the droplet)" }, "summary": "Moved #542's cold-resolver absorber from the app-host eval preflight (wrong call site) to the enroll-activate REMOTE apply: a droplet-side resolver warm-up before the apply plus a belt-and-braces single re-run of the apply on the transient flake-input-fetch signature.", "reason": "The reopened ticket's corrected direction: the app-host preflight hold (b1b1705) could never reach the droplet's cold resolver; the fix must sit on clan's remote eval path inside verify.", "blockers": [] } ``` </details>
ben closed this issue 2026-08-14 19:55:58 +00:00
Author
Owner

close-report for #542 — status success

✅ close-report gates passed — every claim verified against main; closing.

envelope
{
  "issue": 542,
  "status": "success",
  "commits": [],
  "changed_files": [],
  "tests": [
    {
      "command": "go build ./...",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/clan/",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Remote resolver warm-up BEFORE the apply (6 attempts ~15s, curl -sI git.clan.lol over the droplet ssh door, ordinal-logged, loud cold-resolver outcome if it never warms)": "855870b: internal/clan/enrollment.go verify() gates the apply on Adapter.warmRemoteResolver (bool WithRemoteResolverWarmup) when s.Target != ''; the never-warmed path logs the cold-resolver signature (enrollment.go ~L995). Seam-proven in internal/clan/enroll_activate_warmup_test.go.",
    "Belt-and-braces: re-run the apply ONCE ~30s after a transient flake-input-fetch signature; non-matching failures red immediately": "855870b: verify()'s #542 belt-and-braces block (enrollment.go ~L897) re-runs on isTransientFlakeFetch only; enroll_activate_warmup_test.go covers apply-re-run-then-member, persistent-transient-reds-terminal, and the plain-config discriminator (no re-run).",
    "Seam tests for both the warm-up and the belt-and-braces re-run": "855870b: internal/clan/enroll_activate_warmup_test.go (278 lines) — never-warmed lands a member, stays-cold resumable block naming the resolver, apply-re-run, plain-config discriminator. go test ./internal/clan/ passes.",
    "GOTCHAS entry amended: local eval preflight is NOT the remote eval; [gateway]/on-remote fetch timeout happens inside clan's apply on the droplet": "855870b: docs/GOTCHAS.md #36 amended."
  },
  "summary": "The reopened #542 fix (move the cold-resolver absorber onto the enroll-activate REMOTE path: droplet-side ssh warm-up before the apply + a one-shot belt-and-braces re-run) was landed in parallel by another host as 855870b, already on origin/main; my independent implementation was redundant and dropped.",
  "reason": "The corrected direction is fully implemented and merged as 855870b (verify() warm-up + belt-and-braces, seam tests, GOTCHAS #36, STATUS). A second implementation would only duplicate symbols (WithRemoteResolverWarmup, the warm-up constants) and conflict, so I aligned to origin/main rather than land a duplicate. Verified locally: go build ./... and go test ./internal/clan/ both pass on 855870b.",
  "blockers": [],
  "no_code_change": "The reopened fix was landed in parallel by another Sandcastle host as 855870b (reachable from origin/main) before this run's commit could land; it implements the identical corrected direction. My redundant commit was dropped to avoid duplicate symbols and a merge collision. Verified the merged fix builds and its clan seam tests pass."
}
**close-report** for #542 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; closing. <details><summary>envelope</summary> ```json { "issue": 542, "status": "success", "commits": [], "changed_files": [], "tests": [ { "command": "go build ./...", "exit_code": 0 }, { "command": "go test ./internal/clan/", "exit_code": 0 } ], "criteria": { "Remote resolver warm-up BEFORE the apply (6 attempts ~15s, curl -sI git.clan.lol over the droplet ssh door, ordinal-logged, loud cold-resolver outcome if it never warms)": "855870b: internal/clan/enrollment.go verify() gates the apply on Adapter.warmRemoteResolver (bool WithRemoteResolverWarmup) when s.Target != ''; the never-warmed path logs the cold-resolver signature (enrollment.go ~L995). Seam-proven in internal/clan/enroll_activate_warmup_test.go.", "Belt-and-braces: re-run the apply ONCE ~30s after a transient flake-input-fetch signature; non-matching failures red immediately": "855870b: verify()'s #542 belt-and-braces block (enrollment.go ~L897) re-runs on isTransientFlakeFetch only; enroll_activate_warmup_test.go covers apply-re-run-then-member, persistent-transient-reds-terminal, and the plain-config discriminator (no re-run).", "Seam tests for both the warm-up and the belt-and-braces re-run": "855870b: internal/clan/enroll_activate_warmup_test.go (278 lines) — never-warmed lands a member, stays-cold resumable block naming the resolver, apply-re-run, plain-config discriminator. go test ./internal/clan/ passes.", "GOTCHAS entry amended: local eval preflight is NOT the remote eval; [gateway]/on-remote fetch timeout happens inside clan's apply on the droplet": "855870b: docs/GOTCHAS.md #36 amended." }, "summary": "The reopened #542 fix (move the cold-resolver absorber onto the enroll-activate REMOTE path: droplet-side ssh warm-up before the apply + a one-shot belt-and-braces re-run) was landed in parallel by another host as 855870b, already on origin/main; my independent implementation was redundant and dropped.", "reason": "The corrected direction is fully implemented and merged as 855870b (verify() warm-up + belt-and-braces, seam tests, GOTCHAS #36, STATUS). A second implementation would only duplicate symbols (WithRemoteResolverWarmup, the warm-up constants) and conflict, so I aligned to origin/main rather than land a duplicate. Verified locally: go build ./... and go test ./internal/clan/ both pass on 855870b.", "blockers": [], "no_code_change": "The reopened fix was landed in parallel by another Sandcastle host as 855870b (reachable from origin/main) before this run's commit could land; it implements the identical corrected direction. My redundant commit was dropped to avoid duplicate symbols and a merge collision. Verified the merged fix builds and its clan seam tests pass." } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#542
No description provided.