You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: load_pod_substrate_test.go still marshals spec.Pod, which spec#304 unit 3 deletes #33
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
opencharly/plugin-substrate#32 moved the kind: pod body into this repo's CUE module
(candy/plugin-substrate/schema/pod.cue) and retargeted the plugin's own resolve.go off spec.Pod. One reader was left in a TEST file:
$ git -C plugin-substrate grep -n 'spec\.Pod' origin/main -- candy/origin/main:candy/plugin-substrate/load_pod_substrate_test.go:275: tmpl, err := json.Marshal(spec.Pod{Box: "sandbox-img", EnvDefaults: map[string]string{"PORT": "8080"}})origin/main:candy/plugin-substrate/resolve.go:42: // `var p spec.Pod` plus field-by-field copy existed only because the authored bodyorigin/main:candy/plugin-substrate/resolve.go:45: // already said the kernel "never" reads a spec.Pod.
The resolve.go mentions are prose recording the deletion. The test one is CODE, and it names
a type that opencharly/spec#304 unit 3 leg 2 (the opencharly/spec PR that follows plugin-substrate#32) deletes from the contract module.
Why it is filed rather than fixed here
It is test-only: this repo's BUILD, its served schema and its kind capability are clean, which
is why the consumer legs of the same cutover (sdk, plugin-check, charly) do not depend on
it. But it is not harmless: the moment this repo's own spec require advances past unit 3 leg
2, go test ./... stops compiling, and the failure will look like a spec defect rather than a
leftover here.
Fix
Decode into spec.ResolvedPod — the same target resolve.go's pod arm already uses, and the
reason leg 1 deleted the field-by-field copy:
The spec require in candy/plugin-substrate/go.mod should advance in the same commit (the
usual producer-before-consumer order), so the fix and the pin are one change rather than a
follow-up.
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity