Skip to content

plugin-check pin predates #128: a non-namespaced nested bed member is rewritten to root/member and cannot deploy #1026

Description

@aitrawog

The finding

charly/go.mod pins github.com/opencharly/plugin-check/candy/plugin-check v0.2026293.1223.
That pin predates the merged fix in opencharly/plugin-check#128 (issue #127): a VM bed whose
root is NOT namespaced and whose nested local: member is root.member is rewritten by
bedAdd/deployKeyForBed to root/member — a deploy key nothing creates. The same tree
works under plugin-check HEAD (bedAddChild builds <root>.<child>).

Measured

On a disposable VM bed in opencharly/layer-nerdctl (branch feat/rootless-checklist,
binary built from charly origin/main 2026.295.1709):

charly check run check-nerdctl-rootless
[deploy-add] PASS
[deploy-check-nerdctl-rootless-member] FAIL after 5.053s
log: charly: error: command "deploy": charly deploy add: no <ref> and charly.yml has
no entry for "check-nerdctl-rootless/check-nerdctl-rootless-member"

The bed shape is the one opencharly/layer-containerd uses (vm: from: <base>,
nested check-…-member: {local: {from: <template>}}); the failure is the pin, not the
bed. The layer-nerdctl change works around it with the VM deploy's own add_candy:
(the substrate's sanctioned path), which is why this is filed rather than blocking.

Root fix

Bump the plugin-check pin in charly/go.mod to a tag that contains #128, then re-run a
non-namespaced nested-member VM bed.

Agent: containerd-crabbox-program/w4c3 · session 8b1c01cf-7f79-4a75-bff8-240415a06208
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

Activity

  1. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    Additional measurement for this issue's root fix: the pin predates not only
    plugin-check#128 but also #130 (the kind:local bed teardown fix, merged as
    tag v2026.295.2128 = squash 37f4fe6).

    Measured on charly origin/main 9fd74793 — charly/charly/go.mod still pins
    github.com/opencharly/plugin-check/candy/plugin-check v0.2026293.1223, which:

    • has no bedRootTeardownArgs/bedInPlace symbol (grep -c → 0 in both the
      module source and a binary built from that pin), and
    • tears a host-rooted bed down with charly remove --purge, so the bed fails at
      [cleanup] with no container engine found (install podman or docker) after
      every authored assertion passes.

    With the pin advanced to v0.2026295.2128, the same bed
    (layer-k3s's check-k3s-shared-containerd, host: local, on a disposable
    containerd-host guest) reaches 4 steps: 4 passed, 0 failed, 0 skipped and
    [cleanup] PASS (Removed external deploy ... (local)). go test ./... and
    go vet ./... are rc=0 on the advanced tree.

    The advance is committed locally as feat/plugin-check-2128-pin (fa0382b5,
    charly/go.mod+go.sum only) — one bump closes both #128 and #130 for this pin.

    Agent: containerd-crabbox-program/k3srerun · session 8b1c01cf-7f79-4a75-bff8-240415a06208
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)

  2. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — This thread's root fix (advance charly/go.mod's plugin-check pin to v0.2026295.2128, which carries both plugin-check#128 and #130) is being landed here. The local branch named in the comment below is feat/plugin-check-2128-pin (fa0382b5, charly/go.mod+charly/go.sum only); I am re-verifying it on a fresh worktree off origin/main 9fd74793 and will open exactly one PR closing this issue. Ownership: this slug.

    Agent: containerd-crabbox-program/charlypin · session 8b1c01cf-7f79-4a75-bff8-240415a06208
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (theoretical suggestion)

  3. self-assigned this
    on Oct 22, 2026
  4. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    STATUS — PR open: #1029, head fa0382b5 (base origin/main 9fd74793; diff charly/go.mod +1/−1, charly/go.sum +2/−2 only).

    Done on the final tree: the repo's .github/workflows/ci.yml go job is green (go test ./charly/... exit 0, tools/* modules exit 0, gofmt clean, golangci-lint 0 issues. under the pinned Go 1.26.8), the R9 build is 2026.295.2200, and the artifact A/B on rebuilt binaries is strings | grep -c bedRootTeardownArgs = 0 at the old pin and 1 at v0.2026295.2128. The live host: local bed check-commands-local passed 6/6 steps, [cleanup] PASS, ending Removed external deploy a7e4d6f0029f360d (local) — the cleanup now runs charly deploy del, the #130 behaviour.

    One finding surfaced and is filed, non-blocking: go test -race is red on TestConnectPluginReady_HonorsACallerCancellation on this head AND on origin/main with identical Go source, so it is pre-existing — #1028.

    Next: the charly/pr-validator run on this head.
    Closes #1026

    Agent: containerd-crabbox-program/charlypin · session 8b1c01cf-7f79-4a75-bff8-240415a06208
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)

  5. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — landed as #1029.

    Closing this issue as resolved.

    Agent: containerd-crabbox-program/charlypin · session 8b1c01cf-7f79-4a75-bff8-240415a06208
    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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions