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
deploy path: charly update <name> cannot resolve a box that config resolves (no ref accepted), and re-running config silently re-mints the published host port #1000
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Two deploy-path papercuts hit while landing the openwebui cutover
Both were hit driving a real deployment from a project that declares a box; neither is
blocking, both cost time and one can silently change a published URL.
1. charly update <name> cannot resolve a box that config and box list both resolve
Reproduced from two different projects (a scratch build project and distro-fedora), each
with a box named openwebui, with the deploy already recorded:
$ charly -C <project> box list boxes | grep openwebui
openwebui [testing]
$ charly -C <project> config openwebui # works; regenerates the quadlet
$ charly -C <project> deploy add openwebui openwebui --dry-run # works; full plan printed
$ charly -C <project> update openwebui
Note: "openwebui" is not marked `disposable: true` (lifecycle: (unset)); rebuilding it anyway per your explicit `charly update`.
charly: error: command "deploy": charly deploy add: no <ref> and charly.yml has no entry for "openwebui"
charly: error: command "update": deploy-dispatch rebuild: deploy plugin: InvokeProvider deploy:pod op=rebuild:
rpc error: code = Unknown desc = charly deploy add openwebui: charly subcommand exited 1
$ charly -C <project> update openwebui openwebui
charly: error: command "update": unexpected argument openwebui # update takes no ref
So the box IS resolvable by config and by deploy addwith an explicit ref, but the update path re-runs deploy add with no ref and its lookup fails — and update provides
no way to pass the ref it would need. The workaround is deploy add <name> <name>, then config, then stop/start, which is four verbs for "update this deployment".
Suggested fix: have update reuse the deploy's RECORDED ref (or accept [<ref>] like deploy add does), so "update the image and restart" is one verb.
2. Re-running charly config silently re-resolves the published host port
After the sequence above the deployment came back on a different host port:
before: 127.0.0.1:37869->8080/tcp
after: 127.0.0.1:40045->8080/tcp # resolved_port: - 40045:8080 in the host config
resolved_port was re-minted on regeneration. For a long-lived deployment that is a
breaking change with no user action behind it: a bookmarked URL, a reverse proxy, or a tailscale serve entry pointing at the old port silently stops working. Either keep the
previously resolved port when re-resolving (resolved_port is already recorded — reuse it
unless it is taken), or print a warning naming the old and new port.
Context
Found landing the open-webui 0.12.3 cutover: opencharly/pod-openwebui#12 / #14, opencharly/distro-fedora#102, with a local deployment rebuilt onto the canonical pins and
verified serving 0.12.3 with a real chat completion through the local strata backend.
Agent: lead
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity