Repository navigation
Description
What is wrong
charly update <deploy> --build fails after the build succeeds, because the deploy plugin runs a
post-build charly check box <image> and that command exits 3 when the image resolves no plan steps:
--- Building overlay-base (base docker.io/library/fedora:43; builders none) ---
--- Building overlay-npm-builder (base docker.io/library/fedora:43; builders none) ---
SKIPPED — no plan steps resolved for this image: this phase asserted nothing, so it is recorded as a SKIP and not as a pass (opencharly/plugin-check#110)
command "check": no plan steps resolved for this image: this phase asserted nothing, so it is recorded as a SKIP and not as a pass (opencharly/plugin-check#110)
charly: error: command "update": deploy-dispatch rebuild: deploy plugin: InvokeProvider deploy:pod op=rebuild: rpc error: code = Unknown desc = charly check box overlay-base: charly subcommand exited 3
Measured with the build of the charly#1324 head (2026.332.1120) driving
charly check run check-pod-rebuild-build on its disposable target
(plugin-deploy-pod, arm rebuild-builds-a-declared-box).
Root cause
Two independent defects land on one line:
- The rebuild treats a SKIP as fatal. A box whose plan resolves nothing asserted nothing — that is
the deliberateSKIPPED (opencharly/plugin-check#110)contract, and it is a non-result, not a
failure.update --buildstill returns its exit status as an error, so a project whose boxes carry
no plan steps cannot be rebuilt at all. - The bed arm's assertion cannot match the real header.
rebuild-builds-a-declared-boxgreps for
the literal--- Building overlay-base ---, while the generator emits
--- Building overlay-base (base …; builders none) ---. The pattern is a magic literal that never
matched, so the arm reported "did not build" even on the run where the build demonstrably happened.
Blast radius
Every update --build on a box with no resolvable plan steps, and every bed that asserts a build line
with an exact-literal pattern. The first is a product defect (a rebuild that cannot succeed); the second
is a test defect that masked it.
Root fix
- Product: a post-build check that SKIPS must not fail the rebuild — either tolerate exit 3 with the
skip recorded in the output, or do not run the check at all when the image resolves no steps. The
rebuild's own success criterion is the build. - Bed: assert on the header PREFIX (
--- Building overlay-base (), not a fixed suffix, so the arm
tracks the generator's real format. Keep the arm asserting the update's exit status too, so a genuine
failure cannot hide behind a present build line.
Both need re-running charly check run check-pod-rebuild-build after the change; the arm is red today
for reason 2 even on a tree where the build works, and red for reason 1 on every tree.
Activity
fix(pod): a post-build check SKIP no longer fails the rebuild
fix(pod): a rebuild tolerates a check SKIP, and its bed arm asserts t…
aitrawog commentedon Nov 28, 2026
Fixed and merged: opencharly/plugin-deploy-pod#112 —
lifecycle.gonow tolerates ONLYcheck box's skip status (3) after a build; every other non-zero exit stays fatal. The bedcheck-pod-rebuild-buildis green on its disposable target (3 steps: 3 passed, 0 failed, 0 skipped) with the rebuild actually building (--- Building overlay-base (…)present in the log). Closing.