Diagnosable battery legs: boot budget, restore-leg log tail, commit-gate doctor capture - #964
Merged
Merged
Conversation
…l, gate doctor capture Three fixes from the final battery run, all diagnosis-or-budget, no behavior change to what is being tested: - the boot phase's first SSH gets 420s: the run's very first cold boot (hugepages + repart + wizard unpack + key generation) missed 240s under full-battery host load while answering moments later. - the restore leg prints the guest's backup-log tail on failure — its first live run failed with no reachable reason once the VM recycled. - pithead-boot's commit gate writes doctor's verdicts to /run instead of discarding them: when the gate never passes, the last failing run names the exact blocking check (the migration-leg deadlock was undiagnosable without it). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
VijitSingh97
added a commit
that referenced
this pull request
Aug 14, 2026
…backing it up The leg assumed a fully-provisioned machine, but every reinstall — keep included — returns to the wizard, and 'pithead backup' rightly refuses there (no .env, no onion keys; the #964 log-tail named it). Drive the same wizard HTTP flow a human would, ack the credentials card only if one appears (a keep-machine keeps its login and may show none), wait for the stack, then take the backup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three fixes from the final battery run — all diagnosis-or-budget, none changing what is tested:
pithead-boot's commit gate writes doctor's verdicts to/run/pithead-boot-doctor.jsoninstead of discarding them: when the gate never passes, the last failing run names the exact blocking check. The migration-leg deadlock is currently undiagnosable precisely because this output was thrown away; this is the instrument for that investigation.Ponytail: a number, a print, a redirect.
🤖 Generated with Claude Code