Repository navigation
fix(deps): charly ships omarchy-vm but pins a plugin-vm that cannot build it - #497
Merged
Merged
Conversation
…uild it
`charly vm build omarchy-vm` fails on main:
charly: error: command "vm": vm "omarchy-vm": unsupported source.kind "iso"
(want one of cloud_image, bootc, bootstrap)
and `charly check run check-omarchy-iso-vm` therefore dies at its first step,
[vm-build], after 637ms. The bed cannot assert anything.
## Root cause
`source.kind: iso` is implemented in plugin-vm and landed in opencharly/plugin-vm#8,
first tagged `v0.2026242.1242`:
v0.2026242.812 var knownVmSourceKinds = []string{"cloud_image", "bootc", "bootstrap"}
v0.2026242.1242 var knownVmSourceKinds = []string{"cloud_image", "bootc", "bootstrap", "iso"}
charly/go.mod required `v0.2026242.812` — the version immediately BEFORE it.
charly#495 and #496 advanced the `box/omarchy` gitlink to a distro-omarchy that
ships `omarchy-vm` (`source.kind: iso`) and `check-omarchy-iso-vm`, but neither
bumped the plugin-vm require. So charly gained the ENTITIES that need the
capability without gaining the capability. Nothing caught it: the entity is data,
`charly box validate` checks it against the schema (which has the iso arm, from
spec#71), and the rejection only happens at `vm build` time inside the plugin —
a path no unit test and no CI job exercises.
This is the "partial repin" class: a gitlink advanced while its consumer's own
dependency pin stayed put, and the two only disagree at runtime.
## The fix
Bump to the newest published plugin-vm, `v0.2026242.1912`, which also carries the
per-domain serial log (#15) that makes a headless guest's console readable.
`go get` also resolved sdk from a pseudo-version onto a released tag —
`v0.2026242.914-0.20260830150119-f476722d55eb` → `v0.2026242.1217` — which is a
strict improvement: an untagged commit pin becomes a released one.
## How tested
Before, on a `task build:binary` of main:
$ charly vm build omarchy-vm
charly: error: ... unsupported source.kind "iso" ... [exit 1]
After, same command, same tree, rebuilt:
$ charly vm build omarchy-vm
Building VM "omarchy-vm" (source.kind=iso)
...
Disk .../omarchy-vm/disk.qcow2 is content-fresh
(installer sha256=69cbb4e10d98ad831c3c9f245b5757a9d1fedfd0c9592780e977d6f950dea8c3)
Wrote .../omarchy-vm/disk.qcow2 (blank — the installer partitions it)
Wrote .../omarchy-vm/seed.iso (answers: authorized_keys, user_configuration.json,
user_credentials.json, user_email_address.txt, user_full_name.txt)
[exit 0]
Full unit suite from the module dir, uncached, complete output:
$ go test -count=1 ./...
ok github.com/opencharly/charly/charly 91.423s
ok github.com/opencharly/charly/charly/internal/pluginsgen 27.047s
[exit 0]
$ task build:binary
[exit 0] (go.work.sum unchanged — the tracked-checksum guard did not trip)
Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3
Contributor
Review — PASSHead SHA: Security screen: PASS — dependency pin bump to published opencharly tags; no scope mismatch, no secrets, no guardrail changes, no supply-chain anomaly. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
charly vm build omarchy-vmfails onmain:so
charly check run check-omarchy-iso-vmdies at its first step,[vm-build], after637ms. The bed asserts nothing, and the entity charly ships is unreachable.
Root cause
source.kind: isois implemented in plugin-vm and landed inopencharly/plugin-vm#8,first tagged
v0.2026242.1242:knownVmSourceKindsv0.2026242.812{"cloud_image", "bootc", "bootstrap"}v0.2026242.1242{"cloud_image", "bootc", "bootstrap", "iso"}charly/go.modrequiredv0.2026242.812— the version immediately before it.charly#495 and #496 advanced the
box/omarchygitlink to adistro-omarchythat shipsomarchy-vm(source.kind: iso) andcheck-omarchy-iso-vm, but neither bumped theplugin-vm require. charly gained the entities that need the capability without gaining
the capability.
Nothing caught it, and that is the part worth noting: the entity is data;
charly box validatechecks it against the schema, which does have theisoarm (fromspec#71); and the rejection happens only at
vm buildtime inside the plugin — a path nounit test and no CI job exercises. This is the "partial repin" class: a gitlink advanced
while its consumer's own dependency pin stayed put, and the two disagree only at runtime.
The fix
Bump to the newest published plugin-vm,
v0.2026242.1912, which also carries theper-domain serial log (plugin-vm#15) that makes a headless guest's console readable.
go getadditionally resolvedsdkoff a pseudo-version onto a released tag —v0.2026242.914-0.20260830150119-f476722d55eb→v0.2026242.1217. That is a strictimprovement: an untagged-commit pin becomes a released one.
How tested
Before, on a
task build:binaryofmain:After, same command, same tree, rebuilt:
Full unit suite, uncached, complete output (not truncated):
Binary build, including the tracked-checksum guard:
The bed the fix unblocks now reaches its assertions instead of dying at step 1.
check-omarchy-iso-vmon the rebuilt binary:The one
check-livefailure is unrelated to this change — it is an authoring bug indistro-omarchy's own bed (a check probing~/.gitconfigwhen git resolves--globalto~/.config/git/configon this guest), fixed in that repo, not this one. Before this PRthat check could not run at all.
Rulebook compliance
and confirmed by reading
knownVmSourceKindsat both tags, not inferred from the errortext.
vendoring the iso arm — would have hidden a real dependency skew. The pin is the fix.
distro-omarchy.git statusinspected; branched from a freshorigin/main; noforce-push, no direct push to
main, no hook bypass.uncached unit suite, and the bed steps that now run, all pasted above.
task build:binaryof thistree.
disposable: true; its full R10 sequence isgated in
distro-omarchy, where the remaining bed-authoring fix lands.Change classification
charly/go.mod+go.sum), no source changego test -count=1 ./...complete pass,task build:binary, and the previously-failingcharly vm build omarchy-vmbefore/after on a live hostfully tested and validated— the changed runtime path was executed live before and after, the complete uncached unit suite passed, and the bed this unblocks advanced from dying at step 1 to 27/28 live assertionsAssisted-by: Claude Code claude-opus-4-6-20260401 (fully tested and validated)