Skip to content

bug(bed): the producer bed's label reader and probe guards cannot be fixed without a full failing-output stream #14

Open

Description

@aitrawog

What happens

Two bed-diagnostic defects in check-firecracker-producer-vm are IDENTIFIED but cannot be fixed safely in one pass, because the runner truncates a failing step's stderr to its leading ~200 characters (opencharly/charly#1141) and the failing assertion is past that window.

The two defects, both measured

  1. The label reader asks for a key the image does not have. The emitted image carries ai.opencharly.box=producer-subject (verified on the host build). The bed asked for ai.opencharly.vm.box; index .Labels returns "" for a MISSING key, so an absent label read as "present and empty".
  2. Two probes run unguarded under set -eu in the same step (ls -la /tmp/charly-plugins, head -20 /opt/fc-producer/charly.yml). Each can exit 1–2 and kill the step, reporting the probe's status as if it were the subject's.

The measurement

Fixing both (real key + presence/value assertion, every probe guarded, the evidence block wrapped in set +e) turned the bed from green to red:

calver 2026.318.0314  PASS (steps=16)   <- tree without the fixes
calver 2026.318.0328  FAIL exit=1       <- with the fixes
  stderr: plugin env: … charly version: … Usage: charly firecracker …

Three diagnostic shapes reproduced the same truncated tail (head -20, tail -c 160, a full set +e wrapper), so the failing assertion could not be named from the run's own evidence. Restoring the bed definition returned it to green (2026.318.0350).

What unblocks it

The full failing stream — either opencharly/charly#1141 landing (a failing step's output kept whole), or one run with the assertion messages printed FIRST in the step so they land inside the kept window.

Preserved

The red tree's bed definition is the diff described above; the green tree is what #13 carries.

Agent: charly-plugins
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

Activity

  1. added
    category:verification
    type:fix
    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:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions