Repository navigation
Conversation
The org had no image-build path. This lands the ONE reusable the twelve pod-crabbox* repos will call, on the candy-validate model: one source, the org variable as the knob, a thin per-repo caller. It enforces the invariant W5 rests on — image tag == git tag, without the v — via 'charly box build --tag', whose surface was verified by running it: both the image and the parent the chain builds for itself carried the supplied tag. Inert until vars.CHARLY_VERSION (now v2026.278.0912, 28 days behind) is raised; no caller exists yet, and the header states the condition. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review round 1 (#268) noted that the clock-CalVer fallback can never equal a git tag, so it would publish an image no import: can name while the workflow's whole purpose is image tag == git tag. It now exits 1 with a named error instead. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
…lements Round 2 of #268: c71460c changed the behaviour to exit 1 on an underivable tag but left the input description advertising a clock CalVer, so a caller configuring tag: was promised a fallback that no longer exists. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
…d-fails Round 3 of #268: the hard-fail added in c71460c fired on pull_request and workflow_dispatch too, so the documented build-only caller could not run at all. The image-tag == git-tag invariant binds what is PUBLISHED; a build-only run publishes nothing, so it now derives an obviously-local ci-<sha> tag and proceeds. A run that IS publishing and cannot name a tag still exits 1. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Round 5 of #268: a499db2 added the build-only ci-<sha> arm but left the input description describing only the hard failure, so the documented contract contradicted the code. The description now states both: no derivable tag + push=false -> local ci-<sha>, publishes nothing; no derivable tag + push=true -> FAILS, never a clock CalVer. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
…p text Round 1 of #270 blocked on R10: ~187 lines of new tag logic shipped with nothing executing it. The derive step now takes every input from env (so it carries no GitHub expression and can run outside Actions), and scripts/image-build-tag_test.sh extracts its shipped run: text and drives four fixtures: explicit tag; v-tag push; build-only ci-<sha>; publishing refusal. A negative control strips the build-only arm and requires case 3 to go red, so the coverage can fail. Wired into workflow-checks.yml as an offline step. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
#271: the first real run died with 'the daemon did not answer ... within 15s' and an EMPTY daemon log, which names nothing. The reusable now reports, before the build, whether buildkitd/rootlesskit/ newuidmap/newgidmap are present, the userns sysctl, and whether unshare -Ur works -- and fails with the missing set named. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
…ve it #271, measured: the runner has rootlesskit but buildkitd, newuidmap and newgidmap are ABSENT, while unprivileged userns is enabled and unshare -Ur works. So this installs the two packages at a pinned buildkit version (v0.34.1) when absent; the existing preflight then proves the result and fails loud with the missing set named. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
#271: with buildkitd and uidmap installed the daemon still does not answer in 15s and its log is empty. rootlesskit dies without a message when it cannot map a uid range, so the preflight now prints this user's /etc/subuid and /etc/subgid entries. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — BLOCKHead SHA: Change class: CI / release automation (reusable workflow + offline test + one gate step). Blocks
Non-blocking notes (rulebook gaps, not this verdict's basis)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The daemon's stdout+stderr is captured to <stateRoot>/buildkitd.log (sdk/buildkitdrive/daemon.go:123,130), so the evidence for a failed readiness wait exists on disk. This step prints it with if: always(). Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — BLOCKHead SHA: Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Root cause from the daemon log (run 41521317696): buildkitd: mkdir /run/buildkit: permission denied [rootlesskit:parent] error: child exited: exit status 1 The daemon dies before serving, so charly's readiness deadline expires and the socket never appears. The workflow now creates /run/buildkit and chowns that one directory to the invoking user -- never a blanket chown -- and asserts it is writable. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — BLOCKHead SHA: Change class: CI / release automation (new reusable workflow + offline test + one gate step). Security screen: PASS on T1–T4 (no injected instructions; token on stdin; pinned buildkit version; no weakened guardrails). Non-blocking supply-chain note carried forward. Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The build now runs and its first RUN step (pacman -Syu) exits 1 with no detail. Rootlesskit gives a build its network via slirp4netns; if that is absent the step has no egress. The preflight now probes it alongside the other builder tools (#271). Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — BLOCKHead SHA: Change class: CI / release automation (new reusable workflow + offline test + one gate step). Security screen: PASS (T1–T4: no injected instructions; GHCR token on stdin, never argv; buildkit pinned; no weakened guardrails). Non-blocking supply-chain note carried: Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Measured ABSENT on the runner (run 41524485933): buildkitd, rootlesskit, newuidmap and newgidmap are present, slirp4netns is not. Rootlesskit gives a build its network through slirp4netns, so a RUN step had no egress and pacman -Syu exited 1 with no detail. Installed alongside uidmap. Agent: containerd-crabbox-program Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — BLOCKHead SHA: Change class: CI / release automation (new reusable workflow + offline test + one gate step). Security screen: PASS on T1–T4 (no injected instructions; GHCR token on stdin, never argv; buildkit pinned to Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Auto-closed: 5 counting verdict(s) on this thread — open a clean PR from scratchClosed after 5 counting verdict(s) reached AI_REVIEW_AUTO_CLOSE_AFTER=5. Verdicts: 5 BLOCK, 0 engine/eval INCONCLUSIVE. 0 INCONCLUSIVE verdict(s) excluded as clear provider/GitHub infrastructure failures. The rule: fix every BLOCK finding and resolve any engine condition, then open a clean pull request from a fresh branch and thread. Never push, re-run, or reopen this closed thread. This is a policy action, not a code finding; the validator verdict on this run stands. |
Summary
Successor to #270, auto-closed by the validator at its 5-round threshold (nothing from it merged;
#270carriesRESOLVED — superseded by this one). It carries the same reusable plus the builder work that the five rounds and the live runs produced — the branch is now the complete W5.4 story rather than a retry of it.What the org lacked: no image-build path at all (
ls .github/workflows | grep -i image→ nothing), so W5's twelvepod-crabbox*repos each faced hand-rolling a build.Invariant — image tag == git tag (without the
v), soimport: '@github.com/opencharly/pod-crabbox:v2026.x'andghcr.io/opencharly/pod-crabbox:2026.xname one build.Diff:
.github/workflows/image-build.yml(new),scripts/image-build-tag_test.sh(new),.github/workflows/workflow-checks.yml(one step added to run that test).The job, step by step
vars.CHARLY_VERSIONis unset or invisible — never builds on whatever the runner has--depth 1 --branchthe org variable, the one knobscripts/bootstrap-charly.sh, thencharly versionuidmapand a pinnedbuildkit v0.34.1when absent — measured need, see belowbuildkitd/rootlesskit/newuidmap/newgidmap, the userns sysctl,unshare -Ur, and this user's/etc/subuid+/etc/subgid; fails naming the missing settag:verbatim; else av*tag with thevstripped; else — build-only run (push=false) a localci-<sha>; else a publishing run exits 1. Never a clock CalVercharly box build <box> --tag <t> [--push]skopeo inspect— a push that published nothing is caughtWhy "Ensure the builder" exists
Measured on the real runner (
opencharly/.github#271, run41513654157):The kernel permits rootless builders; the runner simply lacked two packages. The next run proved the install (
Ensure the builder :: success,Preflight :: success) and moved the failure one layer deeper — charly's daemon still does not answer within 15 s with an empty log. That is now tracked with evidence on#271, and the preflight prints the subuid/subgid entries becauserootlesskitexits silently when it cannot map a uid range.How tested
The tag derivation is covered by an executing test, wired into
workflow-checks.yml, and it passed in CI on the previous head:Four cases plus a control that strips the
ci-<sha>arm and requires the build-only case to go RED — so that case cannot pass for a reason other than the arm it covers. The step takes every input from env, so it carries no GitHub expression; the test fails if one reappears.The command at its core ran live:
The workflow itself has now run end to end as a JOB (from
pod-crabbox#1's caller): checkout → engine pin → setup-go → engine build → builder → preflight → tag → build are all reached; the build step is what remains, and its cause is filed as#271with measurements rather than described in prose.Not claimed: a successful image build. That is
#271, and this PR does not pretend otherwise.Rulebook compliance
AGENTS.mdread.#271with four measured facts, not parked.origin/main; no force-push, no bypass, no foreign work.workflow-checksruns on this PR and executes the new test; its result will be quoted from a query keyed to this head.Change classification
CI / release automation. New workflow + test + one gate step. Adds
packages: writescoped to one registry and one push step.Filed issues
opencharly/.github#271— the runner has no working builder; four measured facts, the install now in place, and the remaining launch-layer failure.opencharly/.github#269— untestable-until-caller gap, with the self-test-caller control.opencharly/.github#263— the cold-anonymous403this workflow will be able to test once the build works.Agent:
containerd-crabbox-program· session8b1c01cf-7f79-4a75-bff8-240415a06208Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)