Skip to content

inspect_list.go reads DeployVolume.Path, removed by spec's volume-sharing cutover — charly cannot build against spec v0.2026334.805 #103

Done

Description

@aitrawog

Category

category:runtime

Type

type:fix

Remedy / files the remedy will touch

plugin-box/candy/plugin-box/inspect_list.go:132 — drop the dv.Path column (the new #DeployVolume has no replacement field), tag plugin-box, and bump charly's plugin-box pin (v0.2026331.902)

Cited design decision or org-rulebook rule (or none)

opencharly/spec#456 (DeployVolume.Path removed); DESIGN.md volume-sharing

Classification

Blocking — it blocks the filer's own progress, so the filer claims it at filing and fixes it.

Evidence (verified: commands with output, file:line, measurements)

sdk v0.2026334.825 + spec v0.2026334.805 (the forward pair the plugin-pipeline cutover needs)
fails the charly build in the compiled-in plugin-box:

$ cd <charly worktree>/charly && go build ./...
# github.com/opencharly/plugin-box/candy/plugin-box
/home/atrawog/go/pkg/mod/github.com/opencharly/plugin-box/candy/[email protected]/inspect_list.go:132:57: dv.Path undefined (type spec.DeployVolume has no field or method Path)

spec#456 removed the field (the volume-sharing cutover):

spec.DeployVolume @v0.2026332.1206: Name, Type, Host, Path, DataSeeded, DataSource
spec.DeployVolume @v0.2026334.805:  Name, Type, Host, DataSeeded, DataSource
$ sed -n '/^type DeployVolume struct/,/^}/p' spec/spec/cue_types_gen.go   # @805: no Path
$ sed -n '572,578p' spec/schema/deploy.cue                               # @805 #DeployVolume: no path

The reader is inspectBindMounts:

[email protected]/inspect_list.go:131-132:
        for _, dv := range overlay.Volume {
            fmt.Printf("%s\t%s\t%s\t%s\n", dv.Name, dv.Host, dv.Path, dv.Type)

Spike of the fix (candidate a) on a local copy with a replace into the charly build:

$ cp -a .../[email protected] /tmp/plugin-box-fix   # then
$ # inspect_list.go:132 -> fmt.Printf("%s\t%s\t%s\n", dv.Name, dv.Host, dv.Type)
$ cd <charly worktree>/charly
$ go mod edit -replace github.com/opencharly/plugin-box/candy/plugin-box=/tmp/plugin-box-fix
$ go build ./...
<silent>    # rc=0 — charly core AND its full compiled-in plugin set build against spec v0.2026334.805

The patched charly then ran opencharly/plugin-pipeline#69's check-pipeline-local to
15 steps: 15 passed, 0 failed, 0 skipped, ok: true, 0 welded lines — i.e. the fix unblocks the
consumer chain end to end.

Mechanism

spec#456 removed DeployVolume.Path (the volume-sharing cutover). plugin-box's inspectBindMounts still prints dv.Path, so every consumer that compiles plugin-box against spec >=805 fails with dv.Path undefined. charly's compiled-in plugin set pins plugin-box v0.2026331.902 and is the first consumer to compile it against the new spec.

Missed control

The spec cutover landed without the plugin-box consumer leg; no per-repo build of plugin-box against spec 805 ran, so the umbrella charly build is where the mismatch surfaced.

Blast radius

charly core cannot compile against spec v0.2026334.805, so no charly release can adopt the forward spec and opencharly/plugin-pipeline#69's R10 bed cannot run on the forward pair (it ran on a locally patched plugin-box).

Root fix

Drop the dv.Path column in inspect_list.go:132 (the new #DeployVolume has Name/Type/Host/DataSeeded/DataSource and no path-like field), tag plugin-box, and bump charly's plugin-box pin from v0.2026331.902 to the new tag.

Spike (its result, or none with the reason)

(a) drop the Path column — WORKS: with a local replace of the one-line change, charly core and its full compiled-in plugin set built against spec v0.2026334.805 (rc 0), and the resulting charly ran plugin-pipeline#69's bed to 15/15; (b) print a new field — REFUTED, the new #DeployVolume has no path-like field; (c) keep a Path alias/shim — rejected, it reverses the spec cutover. Winner: (a).

Agent: pr-sweep · Claude Code session 8df24173-9dbe-4357-a454-8faee0703dea
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

Activity

  1. aitrawog commented on Nov 30, 2026

    @aitrawog
    ContributorAuthor

    CLAIM

    Filed as blocking: it blocks this session's own progress, so this session claims it at filing and fixes it.

    Agent: pr-sweep · Claude Code session 8df24173-9dbe-4357-a454-8faee0703dea
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

  2. added
    category:runtime
    type:fix
    on Nov 30, 2026
  3. self-assigned this
    on Nov 30, 2026
  4. aitrawog commented on Nov 30, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    Merged in #104 — squash commit 3625073dd112d14c0696141dbcedcb0380374198, tag v2026.334.0859. plugin-box now pins sdk v0.2026334.825 + spec v0.2026334.805, and inspectBindMounts prints the 3-column name<TAB>host<TAB>type row with no container-path column (D-VOL-2, spec#456). Proved LIVE in the disposable check-box-local bed (box-inspect-bind-mounts PASS, fresh dev build 2026.334.0823) and by a regression test that fails on the pre-cutover tree.

    The consumer leg — bumping charly's plugin-box pin from v0.2026331.902 to v2026.334.0859 — is the next producer-first step in the plugin-pipeline/charly chain.

    Agent: pr-sweep · Claude Code session 8df24173-9dbe-4357-a454-8faee0703dea
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

category:runtimetype:fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions