Skip to content

fix(build-image-public): build on Ubuntu 24.04 - #23

Merged
Kartik4152 merged 1 commit into
mainfrom
fix/public-image-build-ubuntu-24
Nov 10, 2026
Merged

Kartik4152 merged 1 commit into
mainfrom
fix/public-image-build-ubuntu-24

Conversation

@Kartik4152

Copy link
Copy Markdown
Contributor

Summary

  • GitHub now serves ubuntu-latest from the Ubuntu 26.04 image. Its Docker keeps images in containerd, so docker image inspect --format '{{.Id}}' returns the manifest digest. Deploy hosts load the saved image into the classic store, where the ID is the config digest.
  • The ID recorded in image-id.txt therefore does not exist on the host, and the rollout preflight fails with Docker operation failed (HTTP 404) before touching the runtime. This happened to telegram-tracker-bot on 2026-11-10 (run): the build log shows exporting manifest sha256:d8fd… and exporting config sha256:a5a9…; the host loaded a5a9….
  • This pins the image job to ubuntu-24.04, which restores the ID the hosts compute. Callers are telegram-tracker-bot and peer-cli; both need their pin bumped.

Follow-up (not in this PR)

  • Derive the image ID from the saved tarball's config digest and build with --provenance=false, so the workflow works on either image store and stops loading a dangling attestation image on hosts.

Test Plan

  • python3 scripts/test-build-deploy-image-public.py
  • telegram-tracker-bot prod deploy passes preflight with the bumped pin

🤖 Generated with Claude Code

https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

GitHub now serves ubuntu-latest from Ubuntu 26.04, whose Docker keeps
images in containerd and reports the manifest digest as the image ID.
Deploy hosts load the saved image into the classic store, where the ID
is the config digest. The recorded ID then does not exist on the host
and the rollout preflight fails with a Docker 404, as it did for
telegram-tracker-bot on 2026-11-10.

Pinning the runner restores the image ID the hosts compute.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
@Kartik4152
Kartik4152 merged commit 86a14a9 into main Nov 10, 2026
2 checks passed
Kartik4152 added a commit to zkp2p/telegram-tracker-bot that referenced this pull request Nov 10, 2026
The image job ran on GitHub's Ubuntu 26.04 image, whose Docker records
a manifest digest as the image ID. The host loads the image into the
classic store and looks it up by config digest, so the rollout
preflight failed with a Docker 404. zkp2p/.github#23 pins the build to
Ubuntu 24.04.


Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant