Repository navigation
test(check): add check-kindcluster-workload R10 bed (Phase 6 workload leg) - #703
Merged
Merged
Conversation
… leg) The Phase 6 workload witness: a disposable kind cluster on podman with the locally-built `check-k8s-deploy-app` image loaded INTO the kind node via the engine-aware path (`kind load image-archive` — `kind load docker-image` is broken on podman, plan §2 #11) and applied through the SHARED kubernetes generator (the kindcluster cluster-policy surface is projected onto a `#Kubernetes` body, R3). Proves the `deploy:kindcluster` provider's workload preresolve (`resolveWorkloadImage` + `materializeKustomize`), the engine-aware load, and `kubectl apply -k` end to end. The `kube:` probes assert the workload Deployment object landed. Reuses the shared `check-kindcluster-cluster` template (R3 — no duplicated kindcluster block). *Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)*
…n) + assert the pod scheduled The `kube: raw` probe needs the API group+version for a non-core resource: `kube_resource: deployments` alone failed with `list deployments: the server could not find the requested resource`. Add `kube_group: apps` + `kube_version: v1` + `namespace`/`name` (mirror check-k8s-deploy's own Deployment probe, R3), and add a `kube: pods` probe asserting the applied Deployment's pod is scheduled — the engine-aware `kind load image-archive` reached the node. *Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)*
…ency The kindcluster deploy substrate's workload leg runs `kubectl apply -k`, so kubectl is needed for a kindcluster deploy that carries an image (cluster-only deploys do not). Updates the archlinux optdepends note. *Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)*
Bumps the pins the Phase 6 workload bed needs: - compiled-in plugin-check `v0.2026269.859 → v0.2026270.151` (plugin-check#64: build the image for an external-in-place deploy too — the kindcluster workload leg's image was never built). - the kindcluster beds' `plugin-kube` `@github` refs → `v2026.270.0155` (plugin-kube#10: `podman save -o -` writes a FILE named `-` rather than stdout, so `kind load image-archive` saw an empty archive). *Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)*
Contributor
Review — PASSHead SHA: Security screen: PASS — no scope mismatch, secrets, weakened guardrails, or supply-chain surprises; the pin bumps move Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
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
Add
check-kindcluster-workload— the Phase 6 R10 witness for thedeploy:kindclusterworkload leg + engine-aware image loading. A disposable kindcluster on podman with the locally-built
check-k8s-deploy-appimage loaded INTO thekind node (the podman path
kind load image-archive—kind load docker-imageis brokenthere, plan §2 #11) and applied through the SHARED kubernetes generator (the kindcluster
cluster-policy surface is projected onto a
#Kubernetesbody, R3), then probed with thekube:verb. Reuses the sharedcheck-kindcluster-clustertemplate (R3 — no duplicatedkindcluster block).
Two product defects surfaced while building this bed were root-caused and fixed in their
own producer repos, and this PR adopts their tags:
v2026.270.0151) —charly check runskipped theimage-build step for an external-in-place deploy, so a kindcluster workload image
was never built (
pinned image … not present in local podman storage). Fixed the guard(
bedBuildsImage).v2026.270.0155) —podman save -o -writes a FILE named-rather than stdout (measured on podman 6.1.2: a 330 MB
./-, stdout EMPTY), sokind load image-archivesaw an empty archive and the node'sctr images importfailed
ctr: unrecognized image format. Fixed to save to a real temp file.Also updates the archlinux
optdependsnote forkubectl(the workload leg runskubectl apply -k).How tested
The bed ran live on the disposable target, end to end, from the committed tree at
head
7b1a915c(binary built byscripts/bootstrap-charly.sh,2026.270.0210, nogo.workoverride, noCHARLY_REPO_OVERRIDE). All 8 steps:The four plan checks all executed:
summary.ymlrecordsok: trueandwarnings: 0(the single finding is the checkrunner's own declared, suppressed
dev-worktree-binary-noticeallowlist entry).charly box validate— zero warnings, zero errors:Clean teardown, no leak — the bed deletes its own kind cluster:
The branch is merged up to current
main(fadbedeb, merge7b1a915c) and the bed wasre-run on the merged tree — same PASS.
Rulebook compliance
/charly-check:check,/charly-internals:strict-policy,/charly-internals:root-cause-analyzer,/charly-internals:git-workflow.pinned image … not present in local podman storage;ctr: unrecognized image format) were root-caused to their producer reposbefore any bed edit.
plugin-kube#10) and their tags adopted here; nothing deferred.
check-kindcluster-clustertemplate and the shared Kustomize generator.
invocation), not bed-side workarounds.
-o -shape are deleted in their PRs.main; thebranch caught up with
mainby merge, never rebase.pod is scheduled); the producer fixes carry their own failing-without-fix tests.
scripts/bootstrap-charly.shbuild of thecommitted tree ran the gate.
disposable: truetargetswith a fresh
charly update, complete teardown, zero residue, andwarnings: 0.plan:carries deterministiccheck:steps.Change classification
@githubrefadvance (config).
PASS, steps=8,warnings: 0) +charly box validate(0 warnings, 0 errors) on the merged tree.fully tested and validated— the workload leg ran live end toend on the disposable kindcluster and tore down cleanly.
Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)