fix(drill): stop going silent through host setup, and keep the run log in the repo #24
No reviewers
Labels
No labels
blocked
blocker:ci-red
blocker:conflict
blocker:drill-pending
blocker:unrequested
bug
claimed
documentation
enhancement
epic
merge-next
needs-triage
ready
release
scope:cli
scope:drill
scope:host
scope:installer
scope:templates
scope:tiers
stale
state:addressing
state:bots-reviewing
state:building
state:needs-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heavy-duty/box#24
Loading…
Reference in a new issue
No description provided.
Delete branch "drill/setup-visibility"
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?
Run 5 looked stuck for minutes right after the
Host setupheader. That stretch is the longest and most failure-prone part of the drill — and it was the only part that printed nothing at all, with two ways to block, both invisible:sudo apt-get install -y -qq incus >/dev/null 2>&1swallows a sudo password prompt. A stalled sudo and a hang look identical. Sudo is now pre-authorized up front (sudo -v), out loud, before anything unattended runs.apt-daily/unattended-upgradesroutinely hold it on a cloud image, and apt then waits in complete silence. It now runs withDPkg::Lock::Timeout=300and an outertimeout, announces that it may be waiting on the lock, and on failure prints the two commands that identify the holder:Also: the apt call is skipped entirely when incus is already installed — which is every re-run on the same host, so this whole failure mode disappears for repeat runs — and each setup sub-step now narrates itself, so a stall is locatable instead of a blank terminal.
No probe logic changed; this is purely about the drill being legible while it works.
🤖 Generated with Claude Code
Added
drill/RUNS.md— the debugging knowledge from five runs, in the repo instead of scattered across PR bodies and chat. It carries:claudenot onexec's PATH (fixed), and the ~95s cold mint that may meancloud-init status --waitreturns beforeruncmdfinishes (open).$( )waiting on stdout close rather than exit; never backgrounding inside a box;incus listname filters not being regexes (this alone cost three runs of A3);incus delete -f a b caborting on the first missing name; apt/sudo silence;claudebox execbeing a login zsh.It also states the uncomfortable thing plainly: four of five runs died on drill plumbing, not on claudebox. If a probe can be answered by hand, answer it by hand rather than paying for another full run.