Skip to content

engine:containerd consumer leg: charly still carries engine:nerdctl, blocked on an sdk release for the mode-split EngineCapability #1023

Closed

Description

@aitrawog

Context

opencharly/spec v0.2026295.1243 (spec#266) made #EngineName = podman | docker | containerd and deleted nerdctl. This repo still carries the retired word as an engine word, and its consumer leg (tracked at opencharly/opencharly#589) is blocked before it can be written: the required spec bump does not compile against the newest released sdk.

All line numbers below are origin/main at 2f15487a (tree 381d3a7).

Sites measured in this repo

Engine-word occurrences that must change in this leg:

Site Occurrence
charly.yml:4475, :4482 engine: nerdctl on check-kindcluster-nerdctl-cluster / check-kindcluster-nerdctl — the spec-owned loader now rejects the word
charly.yml:4395-4396, :4489, :4492-4493, :4496, :4504, :4512, :4523, :4532 comments and description:/step prose that call nerdctl the engine, or name the cluster "the nerdctl cluster"
README.md:39, :54, :265 the engine vocabulary lists (podman · docker · nerdctl)
charly/engine_provider.go:16, :28-29 future plugin-nerdctl, engine:nerdctl plugin
charly/provider.go:71 engine:nerdctl out-of-process
charly/provider_registry.go:257 ResolveEngine … (podman/docker/nerdctl)
charly/plugins_refs_generated.go:58, :98, :193 command:nerdctl, engine:nerdctl, verb:nerdctl — the retired provider words; regenerated by charly/internal/pluginsgen
packaging/charly.yml:175, :183, :211 the nerdctl engine stack, rootless-nerdctl provider, docker/podman/nerdctl engines
charly/packaging_test.go:94-96, :108, :127 TestPackagingDeclaresTheNerdctlEngineStack, its error text, and the "nerdctl-engine prerequisite" comment

Legitimate nerdctl and deliberately left alone: the nerdctl package (packaging/charly.yml:178,328), the plugin repo path (charly/plugin_corpus.txt:79), and in the bed KIND_EXPERIMENTAL_PROVIDER=nerdctl / nerdctl ps (kind's own provider word and the CLI binary, per #EngineBinaries).

plugin-nerdctl main now declares engine:containerd, verb:containerd, command:containerd (candy/plugin-nerdctl/charly.yml:35-39), so regenerating the refs index is the correct replacement for the three generated keys.

Blocker 1 — sdk v0.2026294.1520 does not compile against spec v0.2026295.1243

charly/go.mod already pins the newest sdk release (v0.2026294.1520); the Go proxy @latest and sdk main (35eff3e) are the same commit. Bumping spec alone:

$ go get github.com/opencharly/[email protected]
go: upgraded github.com/opencharly/spec v0.2026294.929 => v0.2026295.1243
$ go build ./...
# github.com/opencharly/sdk/deploykit
github.com/opencharly/[email protected]/deploykit/start_args.go:94:36: capability.WorkloadUser undefined (type spec.EngineCapability has no field or method WorkloadUser)
github.com/opencharly/[email protected]/deploykit/start_args.go:98:45: capability.WorkloadUser undefined (type spec.EngineCapability has no field or method WorkloadUser)

spec#266 split EngineCapability.WorkloadUser into WorkloadUserRootless / WorkloadUserRootful and added container.WorkloadUserFor(c, rootful); sdk start_args.go still reads the deleted field. No sdk tag, sdk main commit, or open sdk PR carries the new shape.

Spike (throwaway, not committed): copying sdk v0.2026294.1520 aside and changing the two reads to capability.WorkloadUserRootless makes go build ./... in this repo succeed against spec v0.2026295.1243 with zero further compile errors — so sdk is the only compile-level producer gap; no pinned plugin module breaks.

  • Mechanism: the engine cutover changed the capability shape after the last sdk release.
  • Missed control: the producer-first order was applied to spec but the sdk release was assumed compatible, not re-measured against the final spec tag.
  • Blast radius: every consumer importing sdk/deploykit that bumps spec to v0.2026295.1243 fails to build (measured: this repo; others not measured here).
  • Root fix: sdk adopts the mode-split fields (deciding rootful vs rootless at the buildRunArgs call site), releases, then this repo bumps spec + sdk together.

Blocker 2 — the kindcluster bed's plugin predates the word

The bed adds @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350. Out-of-process plugins build standalone in their own module (charly/plugin_loader.go:322), and that tag requires spec v0.2026273.203, where containerd is not an engine word. kindcluster.go:153 does provider := container.EngineBinary(engine); in that spec an unknown word resolves to spec.DefaultContainerEngine = "podman" (container/engine_ops.go:129-135, spec/engine_consts.go:20). So engine: containerd would silently provision a podman kind cluster. plugin-kube needs a spec bump plus the edge mapping the new schema documents (spec/schema/kindcluster.cue:27-30: containerd → KIND_EXPERIMENTAL_PROVIDER=nerdctl), and the bed's @github pin needs advancing.

Blocker 3 — the migrate rewrite has no home in this repo

charly migrate is served by the compiled-in command:migrate provider from opencharly/plugin-migrate; this repo contains no migration table (grep -rn 'strip-version-stamp' charly/ → 0 hits; go.mod:49 pins the module). plugin-migrate main (fd9ab28, tag v2026.294.1337) has 0 nerdctl occurrences and no engine: nerdctl / engine.run: nerdctl entry; this repo's pin is older (v0.2026280.2238). The rewrite and its idempotence test belong in candy/plugin-migrate/migrations.cue there, then this repo bumps the pin.

Unblock (producer-first)

  1. sdk: adopt WorkloadUserRootless/WorkloadUserRootful → merge → tag.
  2. plugin-kube: bump spec, map containerd at the edge → merge → tag; advance the bed's @github pin.
  3. plugin-migrate: add the migration entry + idempotence test → merge → tag; bump this repo's pin.
  4. Then this repo: bump spec + sdk, sweep every site above, regenerate plugins_refs_generated.go, gate, and run check-kindcluster-containerd on a disposable target.

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

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — containerd-crabbox-program/c1d.

    Branch c1d/engine-word-containerd exists in the session worktree at origin/main 2f15487a (tree 381d3a7) and is held: the leg cannot be gated on a committed tree until sdk releases the mode-split EngineCapability fix (blocker 1 in the body). No PR is open, and nothing was pushed.

    Measured, not assumed: go build ./... succeeds against spec v0.2026295.1243 once sdk v0.2026294.1520's two capability.WorkloadUser reads are changed to capability.WorkloadUserRootless in a throwaway copy — so sdk is the only compile-level producer gap. The kindcluster bed also needs plugin-kube to bump spec (blocker 2), and the migrate rewrite belongs to plugin-migrate (blocker 3).

    Next: re-measure and start the cutover once sdk tags a compatible release.

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

  3. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    UNBLOCKS — the sdk release that this leg was waiting on has landed.

    • opencharly/sdk#448 merged as f873e7c, tagged v0.2026295.1359 (Go-module form).
    • deploykit now compiles against spec v0.2026295.1243. BuildStartArgs / BuildForegroundRunArgs / buildRunArgs take a rootful bool and select WorkloadUserRootless vs WorkloadUserRootful through the canonical container.WorkloadUserFor; the old single-field/rootless assumption is gone.
    • The charly leg can now bump spec + sdk together and call the builder with the target mode.

    Remaining blockers for the full charly leg are the other producer legs already recorded here (plugin-kube, plugin-migrate).

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

  4. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — containerd-crabbox-program/c1d, re-claimed for the final consumer leg.

    All blockers recorded on this issue have landed and are re-verified at their tags:
    spec v0.2026295.1243, sdk v0.2026295.1359, plugin-nerdctl v2026.295.1321,
    plugin-settings v2026.295.1338, plugin-kube v2026.295.1506, plugin-migrate v2026.295.1526.

    Scope: every site listed in the issue body in this repo, spec + sdk bumped together,
    plugins_refs_generated.go regenerated (not hand-edited), and a test whose negative arm fails on the
    pre-change tree. Branch will be cut in a session worktree off fresh origin/main (2f15487a);
    PR-only landing, no direct push.

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

  5. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    STATUS — containerd-crabbox-program/c1d — PR open, required gate INCONCLUSIVE (provider class).

    • PR opencharly/charly#1025, head 528ff534, tree e3574a4e; its body carries the full gate, the failing-then-passing arms and the live validation/migration evidence.
    • The charly/pr-validator run produced NO verdict: the review model (deepseek-v4.1-flash via https://ollama.com/v1) spent the shared max_tokens on reasoning and emitted no answer (finish_reason="", 26974 bytes of reasoning, no content, no tool calls). That is the provider/config class (opencharly/plugin-review#12), not a code finding, and the required check stays red by design.
    • Root fix: raise AI_REVIEW_MAX_TOKENS (currently 262144) or lower AI_REVIEW_REASONING_EFFORT in the org Actions variables, then re-run the required workflow. Operator-owned; no diff change follows.
    • The go CI check is still in progress.
    • The head is unchanged; I did not re-dispatch the same head (the gate states the class is deterministic with unchanged bounds).

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

  6. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    STATUS — containerd-crabbox-program/c1d — CI is green; one infrastructure gate remains.

    • go CI check: pass (9m1s — Test, tools modules, gofmt, golangci-lint all green) on head 528ff534.
    • validate / validate: INCONCLUSIVE (provider class — the review model spent max_tokens on reasoning and emitted no answer; not a code finding, no code change follows).
    • The PR is otherwise ready: body, gate, failing-then-passing arms and live validation/migration evidence are final. The bed-resolution cost is filed as opencharly/charly#1024.
    • Unblock: raise AI_REVIEW_MAX_TOKENS (currently 262144) or lower AI_REVIEW_REASONING_EFFORT in the org Actions variables, then REST re-run run 39811194722. Operator-owned.

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

  7. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — the charly consumer leg has landed.

    • PR: opencharly/charly#1025
    • Merge: d3e3ca64c697e54ccb2781bd1bd79bba0ece6c43 (squash)
    • Tag: v2026.295.1709
    • CHANGELOG: CHANGELOG/2026.295.1709.md (written by tag-on-merge from this PR's body)

    Settled here: every site in this issue's body; spec v0.2026295.1243 + sdk v0.2026295.1359 bumped together; plugin-migrate v0.2026295.1526 (compiled in, so charly migrate rewrites both surfaces); the regenerated plugins_refs_generated.go (engine/verb/command:containerd); the kindcluster bed on engine: containerd with plugin-kube v2026.295.1506; and the tools/* lockstep pins.

    The entity/cluster identifiers keep nerdctl deliberately: they name kind's PROVIDER word, not a charly engine word. The residual full-project check run resolution cost is filed as opencharly/charly#1024. The remaining engine-word residues in other repos are tracked at opencharly/opencharly#589 (comment posted by this leg).

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

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