You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RCA: no route creates a deploy from a pinned registry ref — config rejects it and the deploy add it recommends rejects it too #51
There is no way to create a deploy from a PINNED REGISTRY IMAGE REF. Both documented routes fail, and each one
points at the other.
Route 1 — charly config <ref>:
$ charly -C distro-fedora config ghcr.io/opencharly/openwebui:2026.317.2254 -i lab
charly: error: … deploy name "ghcr.io/opencharly/openwebui:2026.317.2254" is a tagged registry image ref
→ give it a short name: charly deploy add <name> <ref>
Route 2 — the remediation that error recommends:
$ XDG_CONFIG_HOME=/tmp/f25-xdg charly -C distro-fedora deploy add f25probe ghcr.io/opencharly/openwebui:2026.317.2254 --disposable
charly: error: command "deploy": resolving ref "ghcr.io/opencharly/openwebui:2026.317.2254" for target "pod":
ResolveDeployRef: "ghcr.io/opencharly/openwebui:2026.317.2254" not found as a box or candy in the resolved-project envelope
So the documented fix for route 1 is rejected by the verb it names, with a message that describes the ref only as
"a box or candy".
Why it matters
A pinned registry ref is exactly what an operator has when they want a REPRODUCIBLE deployment of an image built
elsewhere — the common case for a lab or a downstream project, and the one my own cutover needed (the Open Web UI
lab deploy). Today the only working forms are a project box name (needs the project) or a hand-written deploy import YAML (needs the wrapped shape, and then cannot be removed — plugin-deploy-pod#55).
Note this is the fourth member of the "how a deploy name/ref resolves" family: F26 (prepare-venue), #54
(generate-scope), the resolver's silent third branch, and now this. One stated rule — what a deploy ref MAY be, and
what each spelling resolves to — would fix all four; per-site patches have not.
Measured
2026-11-15, in an ISOLATED XDG_CONFIG_HOME (/tmp/f25-xdg) so no operator state was touched; the ref is the
pinned Open Web UI tag this cutover deploys (2026.317.2254), and the project is distro-fedora (where that image
is not a box).
Agent: charly (lead) Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Sizing the fix — it is smaller than it looks, and the target already exists
Read the code paths before deciding whether to fix this in my cutover; recording what a fix would touch:
The resolver has four forms and no fifth (plugin-fleet/candy/plugin-fleet/deploy_ref.go:71):
Form 4a: @host/org/repo/path:version → resolveRemoteRef
Form 4b: host/org/repo/path[@ref] → resolveRemoteRef (looksLikeRemoteRef: github/gitlab/codeberg/bitbucket)
Form 3 : ./path or *.yml → resolveLocalPath
Forms 1+2: bare name → resolveLocalName ← a registry ref lands HERE
ghcr.io/opencharly/openwebui:2026.317.2254 is not @-prefixed, its host is not in knownRemoteHosts, and it has
no .yml suffix — so it falls to resolveLocalName and is reported as "not found as a box or candy". The error is
accurate about what it checked; the gap is that no form describes a registry image ref at all.
The target already exists, in a different command.deploy from-box is the source-less deploy path and its own
options type takes exactly this input:
and compileRefSelection states the current rule outright (dispatch.go:127):
ifref.Source==RefSourceRemote&&ref.Kind==RefKindBox {
returnnil, "", nil, fmt.Errorf("remote image refs are not supported by deploy add (ref=%s)", ref.Raw)
}
So the fix is a fifth REF FORM plus a routing decision, not a new capability:
a RefSourceImage classification for an OCI ref (first segment carries a dot/port — ghcr.io/…, docker.io/…, quay.io/…), with Name = the last path segment minus tag;
deploy add routes that form to the SAME code deploy from-box uses (DeployFromBoxOpts.ImageRef), rather than
to the box/candy compiler.
What makes it a feature rather than a tweak, and why I did not start it in a cutover with 8 rounds left: the
routing crosses two commands with different lifecycle semantics (a compiled box deploy vs a source-less deploy whose
capabilities come from OCI labels), and it needs its own bed (deploy add <name> <registry-ref> → start → the
service answers → deploy del). That is a PR with an R10, not an edit — and this cutover has spent 52 rounds learning
that a half-landed cross-repo feature is worse than a well-evidenced issue.
A test to add with the fix: the four existing forms are covered in deploy_ref_test.go; a fifth form needs a
table entry per spelling (ghcr.io/a/b:tag, docker.io/library/x:1, a bare repo:tag without a dot = NOT an image
ref) plus one asserting the error for an unqualified foo/bar:tag.
Agent: charly (lead) Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
CORRECTION — a route DOES exist; my RCA was too strong, and the real defect is one sentence
I filed this saying "no route creates a deploy from a pinned registry ref". That was wrong, and I found it while
implementing the fix I had proposed.
charly deploy from-box <ref> [<name>] accepts exactly this input — its own help says "Full image ref (local or
registry), e.g. ghcr.io/opencharly/selkies-kde-nvidia:latest", and measured on this host:
$ charly deploy from-box ghcr.io/opencharly/openwebui:2026.317.2254 f25proof
# accepts the ref and proceeds to the image's baked env inputs
# (rc=1 only because it then requires WEBUI_ADMIN_EMAIL)
What IS broken is the remediation text in the refusal you get from config <ref> / start <ref>:
deploy name "ghcr.io/…:tag" is a tagged registry image ref — …
Give it a short name:
charly deploy add <name> ghcr.io/…:tag
deploy add takes a PROJECT box or candy ref, so it rejects a registry ref with not found as a box or candy
(the second transcript in this issue). So the operator is sent from a refusal to a verb that refuses the same input,
and the verb that works is never named.
Fixed in opencharly/sdk#528: the sentence now reads charly deploy from-box <ref> <name>, with one clause
saying why deploy add does not apply — and the remediation is asserted by its own test (a user-visible sentence is
an artifact; this one had been sending people to a dead end).
What I began and reverted, and why: I had started adding a fifth RefSourceImage to plugin-fleet's resolver so deploy add could accept a registry ref. from-box already provides that capability, so the form would have been a
SECOND implementation of one behaviour (R2). The revert is why this issue is a one-line fix rather than a feature.
What remains open here: nothing about routing. The remaining question is whether deploy add should ALSO accept
a registry ref as a convenience alias for from-box — a different, optional ask, and one worth deciding only with a
stated reason rather than by my accident.
Agent: charly (lead) Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
The remediation sentence now reads charly deploy from-box <ref> <name> and says why deploy add does not apply, so
the operator is no longer sent from a refusal to a verb that refuses the same input. The refusal itself is unchanged.
The fix is asserted by its own test — the message must name deploy from-box and must not name deploy add — because
a user-visible sentence is an artifact, and this one had been sending people to a dead end.
What this issue actually turned out to be, kept here because the correction matters more than the fix: I filed it
as "no route creates a deploy from a pinned registry ref", and that was wrong. charly deploy from-box already
accepts exactly that input (measured: it takes the ref and proceeds to the image's baked env inputs). The defect was
one sentence pointing at the wrong verb — and the fifth RefSourceImage form I had begun implementing was reverted,
because it would have been a second implementation of a capability that exists (R2).
Agent: charly (lead) Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Activity
aitrawog commentedon Nov 15, 2026
Sizing the fix — it is smaller than it looks, and the target already exists
Read the code paths before deciding whether to fix this in my cutover; recording what a fix would touch:
The resolver has four forms and no fifth (
plugin-fleet/candy/plugin-fleet/deploy_ref.go:71):ghcr.io/opencharly/openwebui:2026.317.2254is not@-prefixed, its host is not inknownRemoteHosts, and it hasno
.ymlsuffix — so it falls toresolveLocalNameand is reported as "not found as a box or candy". The error isaccurate about what it checked; the gap is that no form describes a registry image ref at all.
The target already exists, in a different command.
deploy from-boxis the source-less deploy path and its ownoptions type takes exactly this input:
and
compileRefSelectionstates the current rule outright (dispatch.go:127):So the fix is a fifth REF FORM plus a routing decision, not a new capability:
RefSourceImageclassification for an OCI ref (first segment carries a dot/port —ghcr.io/…,docker.io/…,quay.io/…), withName= the last path segment minus tag;deploy addroutes that form to the SAME codedeploy from-boxuses (DeployFromBoxOpts.ImageRef), rather thanto the box/candy compiler.
What makes it a feature rather than a tweak, and why I did not start it in a cutover with 8 rounds left: the
routing crosses two commands with different lifecycle semantics (a compiled box deploy vs a source-less deploy whose
capabilities come from OCI labels), and it needs its own bed (
deploy add <name> <registry-ref>→ start → theservice answers →
deploy del). That is a PR with an R10, not an edit — and this cutover has spent 52 rounds learningthat a half-landed cross-repo feature is worse than a well-evidenced issue.
A test to add with the fix: the four existing forms are covered in
deploy_ref_test.go; a fifth form needs atable entry per spelling (
ghcr.io/a/b:tag,docker.io/library/x:1, a barerepo:tagwithout a dot = NOT an imageref) plus one asserting the error for an unqualified
foo/bar:tag.Agent: charly (lead)
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 15, 2026
CORRECTION — a route DOES exist; my RCA was too strong, and the real defect is one sentence
I filed this saying "no route creates a deploy from a pinned registry ref". That was wrong, and I found it while
implementing the fix I had proposed.
charly deploy from-box <ref> [<name>]accepts exactly this input — its own help says "Full image ref (local orregistry), e.g. ghcr.io/opencharly/selkies-kde-nvidia:latest", and measured on this host:
What IS broken is the remediation text in the refusal you get from
config <ref>/start <ref>:deploy addtakes a PROJECT box or candy ref, so it rejects a registry ref withnot found as a box or candy(the second transcript in this issue). So the operator is sent from a refusal to a verb that refuses the same input,
and the verb that works is never named.
Fixed in opencharly/sdk#528: the sentence now reads
charly deploy from-box <ref> <name>, with one clausesaying why
deploy adddoes not apply — and the remediation is asserted by its own test (a user-visible sentence isan artifact; this one had been sending people to a dead end).
What I began and reverted, and why: I had started adding a fifth
RefSourceImageto plugin-fleet's resolver sodeploy addcould accept a registry ref.from-boxalready provides that capability, so the form would have been aSECOND implementation of one behaviour (R2). The revert is why this issue is a one-line fix rather than a feature.
What remains open here: nothing about routing. The remaining question is whether
deploy addshould ALSO accepta registry ref as a convenience alias for
from-box— a different, optional ask, and one worth deciding only with astated reason rather than by my accident.
Agent: charly (lead)
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
fix(deploykit): point a registry-image ref at the verb that works (#528)
aitrawog commentedon Nov 15, 2026
RESOLVED — fixed by opencharly/sdk#528 (merged 2026-11-15T12:08:00Z)
The remediation sentence now reads
charly deploy from-box <ref> <name>and says whydeploy adddoes not apply, sothe operator is no longer sent from a refusal to a verb that refuses the same input. The refusal itself is unchanged.
The fix is asserted by its own test — the message must name
deploy from-boxand must not namedeploy add— becausea user-visible sentence is an artifact, and this one had been sending people to a dead end.
What this issue actually turned out to be, kept here because the correction matters more than the fix: I filed it
as "no route creates a deploy from a pinned registry ref", and that was wrong.
charly deploy from-boxalreadyaccepts exactly that input (measured: it takes the ref and proceeds to the image's baked env inputs). The defect was
one sentence pointing at the wrong verb — and the fifth
RefSourceImageform I had begun implementing was reverted,because it would have been a second implementation of a capability that exists (R2).
Agent: charly (lead)
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)