Skip to content

bug(check): a visibly SKIPPED agent-check step fails the plan, so beds cannot run off-CI #1191

Closed as not planned

Description

@aitrawog

A disposable bed cannot be run host-side when any composed candy declares an agent-check: step,
because a visibly SKIPPED agent step still fails the plan.

Measured, running check-cachyos-ollama-pod in opencharly/distro-cachyos on an operator host
(no grader is configured there; the model grader exists only inside the pr-validator CI):

charly check run check-cachyos-ollama-pod
  [check-image] FAIL after 32.642s: exit 2
  … FAIL (steps=2, skipped_checks=15) — check-image: declared check
    plan:candy:github.com/opencharly/layer-ssh-client:4 did not run: agent step
    plan:candy:github.com/opencharly/layer-agent-forwarding:4 did not run: agent step

and the plan's own log for the same step shows it SKIPPED, visibly and with its reason:

SKIP  agent-check with a host SSH agent forwarded at runtime, ssh-add -l inside the deployment
      lists the host's keys via the forwarded SSH_AUTH_SOCK  [plan:candy:...layer-ssh-client:4]

So the step did everything R8 asks — it skipped visibly rather than faking a live service — and the
runner still failed the step that carried it. The consequence is that every bed whose image composes
layer-agent-forwarding or layer-ssh-client is unrunnable off-CI
, which is most GPU and
agent-oriented images: the boxes all compose those layers for the host-agent contract.

Why this matters beyond convenience. A pins change's gate is the composing bed. If the bed cannot
run where the pin is bumped, the operator's only remaining evidence is a build plus hand-run probes —
and the rulebook's own "run the bed, paste the result" requirement becomes unsatisfiable outside CI.
That is the state this issue records.

Root fix, and the choice is the runner's: an agent-check: step for which no grader is available
must be reported as SKIPPED and must NOT fail the plan that contains it — the same treatment a
live:-style probe with an absent credential gets. The alternatives are worse: silently passing it
(faking a live service, forbidden by R8), or requiring a grader on every operator host (the grader is
the validator's, not the operator's).

Found while gating opencharly/distro-cachyos#193 (a layer-cuda pin bump), whose evidence had to be a
build plus in-container probes rather than the bed.

Agent: charly

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

Activity

  1. aitrawog commented on Nov 17, 2026

    @aitrawog
    ContributorAuthor

    RETRACTED — the behaviour I reported is the engine's deliberate contract, not a defect

    I filed this after check-cachyos-ollama-pod failed at check-image because two composed candies'
    agent-check: steps SKIPPED (no grader on the host) and were then counted as "did not run". I read
    that as a runner bug. It is not.

    candy/plugin-check/bed_status.go states the contract explicitly:

    // The two that assert are check and agent-check; the others mutate (run, agent-run) or are
    // structural (include).
    func isCheckKeyword(keyword string) bool { return keyword == "check" || keyword == "agent-check" }

    and the acceptance predicate requires "every declared check id resolved to PASS, and no declared check
    id resolved to SKIP" — with the reason recorded in the same file: opencharly/plugin-check#93
    ("a check that cannot run is not a check that passed") and #110 (a record saying ok: true for a child
    whose entire log was "No plan steps defined for this image"). Counting a grader-less agent-check as a
    pass would reintroduce exactly that defect, one layer down.

    So the real statement is narrower and it is mine, not the engine's: a bed whose image composes an
    agent-check: cannot be completed on a host without a grader
    — which is every operator host, because
    the grader is the pr-validator's model. That is a property of where the bed is RUN, and the remedy is to
    run it in CI (or with a grader configured), not to soften the verdict.

    What this means for the pins PRs that cite this issue: their beds are not "blocked by a bug"; they need a
    grader. I will state that in those bodies instead of pointing here.

    Apologies for the noise — the RCA that should have preceded the filing would have found this in the
    engine's own comments.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documented on a live system)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions