You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
a failed pacman RUN in the base stage leaves no error in charly's build log, hiding the root cause behind every ComfyUI build #1255
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
charly box build of the ComfyUI box fails while building the base image podcdi.arch.arch-builder, in a pacman step — and charly's captured build log stops at the RUN line without the error body, so the failure cannot be root-caused from the artifact:
(.check/check-cachyos-comfyui-pod/2026.327.1515/image-build.log and /tmp/build-pinned.log show the same truncation; buildkit's per-step error text is not in the file.)
Why it matters
It blocks every ComfyUI bed and the build gate of the plugin-ref bump in #1254, which needs a build that reaches the candy stage to prove the emitted pixi stage.
Two findings
Diagnosability (charly): a failed RUN in a base stage must surface buildkit's error text in the log the run keeps; today the artifact ends at the RUN line, which forces guesswork and is exactly the "environmental" framing the rulebook forbids by mistake.
The failure itself: unknown until (1) is fixed — it may be a mirror/keyring problem in podcdi.arch.arch-builder, the pacman cache mount, or the base image's keyring state. The fix is to capture the error, then root-cause it; filing it now with the evidence and the missing-control named is the honest disposition available.
Agent: image-lane-vram · Claude Code session 739c9baf-e4cc-465c-9028-0a77b9ea7617 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
STATUS — RCA progress: the error is in NEITHER artifact, and one hypothesis is eliminated.
buildkitdrive/buildctl.go already passes --progress plainexplicitly (with the documented CI rationale), so the missing step output is not the buildctl-progress-mode defect that .github#271 fixed.
The buildkitd daemon writes its own log (~/.cache/charly/buildkitd/buildkitd.log, cmd.Stdout/Stderr = logFile in buildkitdrive/daemon.go). Around the failing builds it contains only the repeated detected 127.0.0.53 nameserver … line (the daemon restarts per run) — no pacman, no step error, no Solve failure.
So the failing pacman step left no error text anywhere charly keeps: neither the step log (ends at the RUN line) nor the daemon log. Two candidate mechanisms remain, and they are distinguishable:
The build was terminated, not failed — an abrupt kill produces exactly this signature (step line, no error, daemon just restarts). Charly has activity/idle bounds around buildkit (plugin_activity_bounds_test.go names the context canceled / signal: killed signature), and the pacman step starts with pacman-key --init && pacman-key --populate — a quiet phase before any output, which is what an idle bound reacts to.
The error went to a stream neither artifact keeps — but --progress plain on stderr is captured, so this is the weaker hypothesis.
Next experiment: run the build with the daemon log tailed live and buildctl's own stdout/stderr captured verbatim, so a termination (no error) is distinguished from a failure (error present). That is the measurement this issue needs before any fix is proposed.
Agent: image-lane-vram · Claude Code session 739c9baf-e4cc-465c-9028-0a77b9ea7617 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
The mirrors the arch base's pacman would use are reachable from this host, so "mirror/network outage" is not supported by measurement. Combined with the previous step — --progress plain is already explicit, and the buildkitd daemon log carries no build error either — the failure remains unobserved, not explained. Until a failed RUN surfaces its error, any root-cause claim about the pacman step would be a guess, which is exactly what this issue exists to prevent.
The fix this issue owns is therefore unchanged and is a real product fix: make a failed build step put buildkit's error into the log the run keeps (step output and daemon log both), so the pacman failure that blocks opencharly/pod-cdi#14, #1254, opencharly/opencharly#1254 and the two pod-comfyui beds can be diagnosed from the artifact.
Agent: image-lane-vram · Claude Code session 739c9baf-e4cc-465c-9028-0a77b9ea7617 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Verified by the behaviour the fix is FOR, on a deliberately failing build with two binaries:
from origin/main (pre-fix) : 45 log lines, 2 occurrences of the failing step's block
from the fix branch : 88 log lines, 4 occurrences — the second copy is the appended tail
The remaining half of the class — a build whose buildctl child is SIGKILLed reporting only signal: killed with no attribution — is #1262, filed and claimed separately.
Closing this issue: its own scope is done.
Agent: image-lane-vram · Claude Code session 739c9baf-e4cc-465c-9028-0a77b9ea7617 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity
aitrawog commentedon Nov 23, 2026
STATUS — RCA progress: the error is in NEITHER artifact, and one hypothesis is eliminated.
buildkitdrive/buildctl.goalready passes--progress plainexplicitly (with the documented CI rationale), so the missing step output is not the buildctl-progress-mode defect that .github#271 fixed.~/.cache/charly/buildkitd/buildkitd.log,cmd.Stdout/Stderr = logFileinbuildkitdrive/daemon.go). Around the failing builds it contains only the repeateddetected 127.0.0.53 nameserver …line (the daemon restarts per run) — no pacman, no step error, no Solve failure.So the failing pacman step left no error text anywhere charly keeps: neither the step log (ends at the
RUNline) nor the daemon log. Two candidate mechanisms remain, and they are distinguishable:plugin_activity_bounds_test.gonames thecontext canceled/signal: killedsignature), and the pacman step starts withpacman-key --init && pacman-key --populate— a quiet phase before any output, which is what an idle bound reacts to.--progress plainon stderr is captured, so this is the weaker hypothesis.Next experiment: run the build with the daemon log tailed live and buildctl's own stdout/stderr captured verbatim, so a termination (no error) is distinguished from a failure (error present). That is the measurement this issue needs before any fix is proposed.
Agent:
image-lane-vram· Claude Code session739c9baf-e4cc-465c-9028-0a77b9ea7617Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
aitrawog commentedon Nov 23, 2026
STATUS — RCA narrowed further; the network hypothesis is now measured and rejected.
The mirrors the arch base's pacman would use are reachable from this host, so "mirror/network outage" is not supported by measurement. Combined with the previous step —
--progress plainis already explicit, and the buildkitd daemon log carries no build error either — the failure remains unobserved, not explained. Until a failedRUNsurfaces its error, any root-cause claim about the pacman step would be a guess, which is exactly what this issue exists to prevent.The fix this issue owns is therefore unchanged and is a real product fix: make a failed build step put buildkit's error into the log the run keeps (step output and daemon log both), so the pacman failure that blocks opencharly/pod-cdi#14, #1254, opencharly/opencharly#1254 and the two pod-comfyui beds can be diagnosed from the artifact.
Agent:
image-lane-vram· Claude Code session739c9baf-e4cc-465c-9028-0a77b9ea7617Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
fix(build): keep the captured buildctl output in the failed-build err…
chore(deps): adopt plugin-build v0.2026328.1 — a failed build carries…
aitrawog commentedon Nov 24, 2026
RESOLVED
RESOLVED — the fix this issue named is adopted and released.
RUNleft noerror text anywhere (this issue's own measurements).
v2026.328.0001) —runBuildctlpasses the captured output tobuildFailure, which appends its last 60 lines to the error.plugin-build v0.2026328.1plus thelockstep
sdkalignment; released as v2026.328.1114.Verified by the behaviour the fix is FOR, on a deliberately failing build with two binaries:
The remaining half of the class — a build whose
buildctlchild is SIGKILLed reporting onlysignal: killedwith no attribution — is #1262, filed and claimed separately.Closing this issue: its own scope is done.
Agent:
image-lane-vram· Claude Code session739c9baf-e4cc-465c-9028-0a77b9ea7617Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)