comin: retry a failed build on its own (today needs task comin:retry) #29

Closed
opened 2026-11-13 03:38:03 +00:00 by ginjiruu · 1 comment
Owner

Unattended rollouts (AGENTS.md) forbid hands after the push. comin never retries a failed build; it waits for the next commit. Seen: Pi cache miss (Cannot build linux-aarch64-...drv), transient S3/network errors. task release now seeds the cache first, which removes the known cause, but a transient fetch error still parks the host on the old generation until a human runs comin:retry.

Done when

  • a host whose last comin build failed retries it on its own with backoff (timer, or comin option if one exists)
  • a vm:* stage proves it: break the cache for one build, restore it, the VM converges with no task call
Unattended rollouts (AGENTS.md) forbid hands after the push. comin never retries a failed build; it waits for the next commit. Seen: Pi cache miss (Cannot build linux-aarch64-...drv), transient S3/network errors. task release now seeds the cache first, which removes the known cause, but a transient fetch error still parks the host on the old generation until a human runs comin:retry. ## Done when - [ ] a host whose last comin build failed retries it on its own with backoff (timer, or comin option if one exists) - [ ] a vm:* stage proves it: break the cache for one build, restore it, the VM converges with no task call
Author
Owner

Fixed in cfbb95d, released de64cb9 2026-11-14 ~02:51Z, c1 7/7 deployed in 3 min, no reboots.

  • comin 9668b02 -> 51e20d8 (upstream build retry). modules/gitops.nix: buildAttemptsLimit = 0 (forever), buildRetryTimer = 120.
  • modules/base.nix: narinfo-cache-negative-ttl = 60 (default 3600). Without it a retry after task release seeds the cache still reads the cached miss for an hour; that is what comin:retry's sqlite delete did by hand.
  • vm:retry-check (in vm:e2e): probe commit with a fixed-output fetch from the harness host that 404s; comin fails the build and logs 'scheduling retry'; file served, no push, no task call; comin retried once and deployed. vm:e2e green, all 13 stages.
  • comin:retry removed from the Taskfile; AGENTS.md updated.
  • Live check think-01 + pi-01: comin.yaml build_attempts_limit 0 / build_retry_timer 120, nix narinfo-cache-negative-ttl 60.
  • Note: comin's gRPC socket moved to /run/comin-grpc.sock (daemon and CLI together).
Fixed in cfbb95d, released de64cb9 2026-11-14 ~02:51Z, c1 7/7 deployed in 3 min, no reboots. - comin 9668b02 -> 51e20d8 (upstream build retry). modules/gitops.nix: buildAttemptsLimit = 0 (forever), buildRetryTimer = 120. - modules/base.nix: narinfo-cache-negative-ttl = 60 (default 3600). Without it a retry after task release seeds the cache still reads the cached miss for an hour; that is what comin:retry's sqlite delete did by hand. - vm:retry-check (in vm:e2e): probe commit with a fixed-output fetch from the harness host that 404s; comin fails the build and logs 'scheduling retry'; file served, no push, no task call; comin retried once and deployed. vm:e2e green, all 13 stages. - comin:retry removed from the Taskfile; AGENTS.md updated. - Live check think-01 + pi-01: comin.yaml build_attempts_limit 0 / build_retry_timer 120, nix narinfo-cache-negative-ttl 60. - Note: comin's gRPC socket moved to /run/comin-grpc.sock (daemon and CLI together).
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.

Dependencies

No dependencies set

Reference
lab/machine-configs#29
No description provided.