ci: pin the first golden snapshot that is a whole build - #102
Open
pythonlearner1025 wants to merge 1 commit into
Open
ci: pin the first golden snapshot that is a whole build#102pythonlearner1025 wants to merge 1 commit into
pythonlearner1025 wants to merge 1 commit into
Conversation
425047509 was a partial build. Its bake died at `sshd -t` and never reached lever 2, the root-password fix, the identity strip or the marker, so every workspace on it carries the builder's /etc/machine-id and refuses a host SSH login. See #101. 425198627 is baked from the repaired script and verified after the fact: root password never expires and a key login works with no workaround, the marker names the box image, `docker image inspect` passes, sshd owns 2222 with ssh.socket masked, /etc/machine-id is freshly generated, and snapd, unattended-upgrades and apt-daily are all disabled. 2.40 GB, x86. The 41.3 s and 40.1 s in the comment above were measured on the partial build, which carried the box image but none of lever 2. They stay as written because they are a floor for this image, not a measurement of it. Both deployments share one Hetzner project, so one id serves both. Prod picks it up on its next v* tag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J6fUBY1B27EzvDwbhfBf52
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.
Replaces
425047509with425198627in both workflows.425047509was a partial build — its bake died atsshd -tand never reached lever 2, the root-password fix, the identity strip or the marker. Every workspace booted from it carries the builder's/etc/machine-idand refuses a host SSH login. The full diagnosis, and the three stacked bugs behind it, are in #101; this PR is only the pin.Why this one is trustworthy
425198627came out of the repaired bake, passed that bake's own probe (#98), and was then verified independently by booting it a second time:Password expires: never— key login works with nochageworkaroundghcr.io/blitzdotdev/blitz-box@sha256:b48f7a2a…docker image inspect0.0.0.0:2222owned bysshd;ssh.socketmasked,ssh.serviceenabled/etc/machine-iddd05e9bd…— freshly generated, not the builder'ssnapd,unattended-upgrades,apt-dailyalldisabledAbout the timings in the comment
The
41.3 s/40.1 sfigures were measured on the partial build, which carried the box image but none of lever 2. I left them as written and said so in the comment: they are a floor for this image, not a measurement of it. I did not re-measure, so I am not quoting a number I did not take.Blast radius
Both deployments share one Hetzner project, so one id serves both — the same reason #96 gave. Canary picks this up on the next
maindeploy. Prod picks it up only on its nextv*tag, which stays a human decision.425047509is left in place, so nothing in flight breaks.425198277— the broken snapshot from the first attempt today — is deleted.Merge #101 first; without it the next rebake reproduces the same partial build.
🤖 Generated with Claude Code
https://claude.ai/code/session_01J6fUBY1B27EzvDwbhfBf52