Skip to content

The producer needs a bed in a disposable target (blocked on a self-referential bake_plugin pin) #5

Open

Description

@aitrawog

What

The artefact producer (charly firecracker image build <box>, PR #4) is proven end to end on a host, but
there is no bed that exercises it inside a disposable target. The repo's own bed
(check-firecracker-host) proves the plugin's served path and never runs image build, so it cannot fail
on the producer's code — which is exactly what the validator's BLOCK on PR #4 said (R10/A2).

Why the bed is not in that PR, measured rather than assumed

The bed's image must carry the producer's environment, which means bake_plugin — and bake_plugin
compiles the plugin from the repo at the pinned ref, so the entity scan sees that ref's candy set.
A project's own candies are then reported missing when the ref predates them:

Downloading github.com/opencharly/plugin-firecracker:v2026.287.1805...
box "check-firecracker-rootfs": candy "check-firecracker-guest" not found

…while the candy is demonstrably present in the worktree. So the bed's bake_plugin ref must point at a
version of this repo that contains the bed's own project candies, and the only such version is the tag
this merge mints. The bed is therefore authored after this lands, which is a real ordering, not a
deferral-by-preference.

Also measured while designing it, and worth recording so nobody re-derives it:

  • the charly CLI candy is layer-charly's root candy (@github.com/opencharly/layer-charly:v2026.274.0345),
    not …/candy/charly — that repo has no candy/ tree at all;
  • bake_plugin is a candy field: a node carrying it is treated as a candy, and a candy has no base:
    (the error is base: field not allowed);
  • a candy plan can write whole files into an image (run: + write: + mode:), which is how the bed
    will deliver the project it builds from;
  • a pod has no /dev/kvm, so the bed proves the producer and the produced artefact, while the
    produced root drive's boot belongs to a VM bed (WI-13).

Accepting

Either a pod bed that builds a box, runs image build, and asserts the emitted artefact's label and its
contents (/rootfs.img + /vmlinux), or a pre-built plugin path that removes the self-referential pin —
whichever keeps one canonical producer (R2).

Assisted-by: DSH deepseek-v4.1-flash (analysed on a live system)

Activity

  1. added
    category:verification
    type:feat
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:verificationtype:feat

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions