Skip to content

chore: bump sdk to v0.2026269.1159 (the unconnected-kind from: exemption) - #24

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/kubevirt-sdk-fix-pin
Sep 26, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/kubevirt-sdk-fix-pin

Conversation

@aitrawog

@aitrawog aitrawog commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

chore: bump sdk to v0.2026269.1159 (the unconnected-kind from: exemption)

Consumes the merged opencharly/sdk#300.

Why

prepare-venue re-loads the project via loaderkit.LoadUnifiedViaExecutor, and
ValidateCheckBeds returns on the FIRST error. A project declaring a kindcluster:
bed (whose template is folded by plugin-kube — NOT compiled into this plugin) made
this re-load fail:

kind:check bed "check-kindcluster" references kindcluster entity
"check-kindcluster-cluster" which is not defined

so every deploy:vm prepare-venue failed, i.e. every VM deploy was un-runnable.

Summary of changes (every diff item — A1)

candy/plugin-deploy-vm/go.mod / go.sum:

  • github.com/opencharly/sdk v0.2026266.623 → v0.2026269.1159 — the tag carrying
    sdk#300's loaderkit.ValidateCheckBeds exemption (kindTemplatesAbsentHere): a
    from: whose target structural kind folded ZERO templates in this scope is exempt.
    This is the fix.
  • github.com/opencharly/spec v0.2026266.545 → v0.2026269.212 — a direct
    dependency (the plugin imports github.com/opencharly/spec/spec), bumped because sdk
    v0.2026269.1159's own go.mod declares spec v0.2026269.212 as its floor; a
    consumer below that floor fails the contract-pin lockstep. It is NOT a transitive
    afterthought — it sits in a require block without the // indirect marker its
    neighbours carry precisely because it is imported directly.
  • github.com/opencontainers/go-digest v1.0.0 and
    github.com/opencontainers/image-spec v1.1.1
    — two new // indirect requires the
    newer sdk's dependency graph pulls in (go mod tidy materializes them). They are
    indirect and unused directly by this plugin's code.

No Go code changes: the sibling loaderkit fix IS the fix; this PR carries the pin so
the shipped plugin gets it.

How tested

Build / vet / tidy at the shipped pin (GOWORK=off):

$ GOWORK=off go build ./... && echo BUILD OK
BUILD OK
$ GOWORK=off go vet ./...
(vet clean)
$ GOWORK=off go mod tidy
(clean — no further diff)

Live R10 — a fresh-rebuild bed run on a disposable: true target (A2/B12). The
affected runtime path is deploy:vm's prepare-venue re-load, which the
check-kubevirt-operator bed (charly/charly.yml) exercises end-to-end: it is a vm:
bed, so its deploy add goes through THIS plugin's prepare-venue on a disposable
libvirt Arch k3s-server guest, fresh-built per run:

$ charly check run check-kubevirt-operator      # disposable: true k3s-vm
charly check run check-kubevirt-operator: [deploy-add] PASS after 505s
  # prepare-venue completed — NO "references kindcluster entity … not defined" error
charly check run check-kubevirt-operator: PASS (steps=10)
$ grep -E '^ok:|^calver:' .check/check-kubevirt-operator/2026.269.1652/summary.yml
calver: 2026.269.1652
ok: true

Before sdk v0.2026269.1159, this same bed aborted at deploy-add with the
kindcluster validation error (the project-wide blocker); after it, deploy-add
completes and the whole bed passes. Raw terminal output, fresh rebuild, disposable
target, zero warnings.

Rulebook compliance

  • R0 — authored under the plugin rulebooks.
  • R1 — the regression's root is the shared validator (fixed in sdk#300); this PR
    carries the pin so the shipped plugin gets it.
  • R2 — the pin bump + body land together; every diff item is accounted for.
  • R3 — no duplicated logic here; the fix is the upstream one.
  • R4 — no workaround; the correct pin.
  • R5 — no stale pin left (sdk, spec, and the two new indirects all move).
  • R6 — branch-only, no force-push.
  • R7 — the live bed run shows the pre-fix failure class gone and the deploy path
    completing.
  • R8 — N/A — no generated artifact, schema, or emitted-label change (a module pin).
  • R9 — built from the worktree source (GOWORK=off go build); no shared binary
    installed, no new runtime OS dep.
  • R10 — the fixed path ran live on a fresh-rebuild disposable: true venue (above).

Change classification

  • Change class: dependency pin bump (config; the pinned sdk is compiled into the shipped
    deploy:vm plugin).
  • Verification gate: charly check run check-kubevirt-operator (disposable: true,
    fresh rebuild) + go build/vet/tidy at the shipped pin.
  • Attribution tier: fully tested and validated — the affected path ran live on a
    fresh-rebuild disposable venue, zero warnings.

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)

Consumes the merged loaderkit fix (opencharly/sdk#300): a check bed whose from
names a template folded by a structural kind whose provider did not run in THIS
process (plugin-kube is absent from this plugin) no longer false-fails not
defined. Because ValidateCheckBeds returns on the first error, that ONE bed
aborted validation for the whole project, so prepare-venue re-load made EVERY vm
deploy fail in a project that declares such a bed. Bumping the pin picks up the
exemption.
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 8d559351b2019b28206dc1f518f3e5f12c4c3e20 (branch: feat/kubevirt-sdk-fix-pin)

Change class: dependency pin bump (config, runtime-affecting — the pinned sdk is compiled into the shipped deploy:vm plugin; no Go code changed).

Security screen: PASS — no secrets, no egress/network additions, no guardrail/CI/validator-spec edits, no scope mismatch (body accounts for exactly the 2 files in the diff). No T1–T4 finding.

Blocks

  1. R10 / B12 (A2) — the runtime evidence is not a fresh-rebuild bed run on a disposable: true target. The only runtime proof offered is
    CHARLY_REPO_OVERRIDE=opencharly/plugin-deploy-vm=<worktree> charly deploy add my-vm-bed — a local worktree override, not a fresh charly update/rebuild on a disposable target — and its "output" is annotated (# BEFORE: / # AFTER:), not pasted raw terminal output. R10 requires pasted, ZERO-warning output from a fresh rebuild of the changed piece on a disposable target, and the plugin's own bed is deferred ("the KubeVirt bed R10 is the named kubevirt-check-beds batch"). Provide the plugin's bed run at pin v0.2026269.1159 on a disposable: true target (fresh rebuild, raw pasted output, zero warnings), or attach an explicit maintainer/bootstrap sign-off.

  2. A1 — Summary does not account for every diff item. candy/plugin-deploy-vm/go.mod also adds two indirect requirements — github.com/opencontainers/go-digest v1.0.0 and github.com/opencontainers/image-spec v1.1.1 — which the Summary of changes omits (it names only the sdk/spec pins). Add them to the accounting.

  3. Body-truthfulness — "spec pin follows transitively" contradicts the diff (rule 4). The diff shows github.com/opencharly/spec v0.2026269.212 sitting in the // indirect require block without the // indirect marker its neighbours (oklog/run, pelletier/go-toml) carry, which is inconsistent with both "follows transitively" and the claimed clean go mod tidy. Reconcile the wording with the actual go.mod, or paste the real tidy diff.

Verdict: BLOCK


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@aitrawog aitrawog closed this Sep 26, 2026
@aitrawog aitrawog reopened this Sep 26, 2026
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 8d559351b2019b28206dc1f518f3e5f12c4c3e20 (branch: feat/kubevirt-sdk-fix-pin)

Change class: dependency pin bump (config; the pinned sdk is compiled into the shipped deploy:vm plugin; no Go code changed).

Security screen: PASS — no secrets/egress/network additions, no guardrail/CI/validator-spec edits, no supply-chain surprise (only the declared opencharly pins + two new // indirect requires), no scope mismatch (body accounts for exactly the 2 files in the diff). No T1–T4 finding.

Checklist: All applicable rules PASS or NA. A1 accounts for every diff item (sdk, spec, both opencontainers indirects); A2/A3/B12 evidence is internally consistent (bed check-kubevirt-operator, disposable: true, fresh rebuild, calver: 2026.269.1652, ok: true — the day-269 calver matches the sdk tag v0.2026269.*); B16 placement CORRECT (pin lives in the candy layer, nothing moved into core); B13/B11 R8/B7/B8/B10 NA (no schema, generation, code, or removed-identifier change).

Comment 5846210342 (github-actions[bot]) — stale-superseded. It reviews an older body: CHARLY_REPO_OVERRIDE=... worktree-override evidence, "spec follows transitively", and an accounting that omitted the opencontainers indirects. The CURRENT body replaces that with a disposable: true bed run, names both new // indirect requires, and states spec is a direct dep (consistent with its missing // indirect marker in the diff). All three prior findings are resolved against the current state; none reproduces.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 26, 2026 17:33
@github-actions
github-actions Bot merged commit 6c20495 into main Sep 26, 2026
3 of 4 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant