Skip to content

RCA: deploy add <name> <candy> still hands the deploy NAME to the overlay resolver — #47's fix covered box refs only #57

Open

Description

@aitrawog

What happens

plugin-fleet#47 (merged) fixed prepare-venue carrying the plan's InstallPlan.Box for a ref-based deploy, so a
REF is no longer handed to the box resolver. The CANDY-shaped half still is:

$ charly -C .dsh/lab/comfyui-v2 deploy add comfy-e2e comfyui-shipping --disposable
charly: error: command "deploy": deploy-dispatch add: deploy plugin: deploy-dispatch add: prepare venue:
  InvokeProvider deploy:pod op=prepare-venue: rpc error: code = Unknown desc = plugin-deploy-pod:
  prepare-venue: overlay build: resolving "comfy-e2e" via charly.yml: not found

comfy-e2e is the DEPLOY NAME the operator chose; comfyui-shipping is the candy ref. The overlay build received
the name.

Why it matters

comfyui-shipping is a candy with its own base: — i.e. an image-producing candy, the shape a proof project uses
to deploy a built image. deploy add <name> <candy> is the documented way to deploy one, and it cannot be used at
all here: the same class of failure #47 fixed for box refs.

The gap in #47's fix, stated plainly

#47 made prepare-venue prefer the plan's InstallPlan.Box. A BOX-shaped plan carries the box view name, so the
fallback never fires. A CANDY-shaped plan carries the candy, and its Box field is empty for a standalone candy —
so the fallback still lands on node/the deploy name, which is exactly the pre-#47 behaviour for this shape.

A fix that covers the shape its reporter used is not the same as a fix for the rule. #47's own tests cover the
box case; there is no candy-shaped case, and this is it.

Fix sketch

prepare-venue (or its caller) must distinguish "no plan box because this is a candy ref" from "no plan box because
nothing resolved", and in the candy case resolve the OVERLAY against the candy's own name (comfyui-shipping) — or
skip the box-scoped overlay build entirely, since a candy ref has no box view to overlay.

Evidence

2026-11-15, .dsh/lab/comfyui-v2 (a scratch project; the candy is comfyui-shipping, an image-producing candy on
fedora.fedora), charly deploy add comfy-e2e comfyui-shipping --disposable — full error above. The same project
builds that candy cleanly with box build comfyui-shipping, so the ref itself resolves.

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

Activity

  1. added
    category:delivery
    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:deliverytype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions