Repository navigation
feat(schema,check-bed)!: add_candy-on-pod fix companion 1/3 — CheckBedReply.HasAddCandy - #97
Conversation
…dReply.HasAddCandy CheckBedReply gains has_add_candy, so the check-bed runner can distinguish an add_candy: overlay bed (whose config/start freshness proof is the just-built overlay tag) from a plain pod bed (whose freshness proof is the base --tag build ref) -- passing --tag unconditionally to config/start silently redeployed the un-overlaid base image for the former, dropping every add_candy: candy. Assisted-by: Claude Code (Anthropic Claude Opus 4.5; analysed on a live system)
pr-validator — APPROVED ✅Change class: Code (schema + generated) — sdk producer leg of a 2-repo cutover; no standalone sdk runtime bed (correctly noted). Security & anti-tampering (T1–T4): Diff is exactly one CUE field addition ( Independently re-verified (fresh checkout at PR head
Functional exercise (beyond this repo's own gate): I independently built and ran the companion Comments considered: none (PR carries no comments). Cross-PR interactions considered: Decision: PASS. All standalone-battery checks green, SDD reproducibility confirmed, and the new field's real behavior independently exercised live via the companion Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system) |
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
Summary
#CheckBedReplygainshas_add_candy?: bool @go(HasAddCandy)— the host-side check-bed setup op now reports whether the bed's node carries a non-emptyadd_candy:list.charlysuperproject cutover "add_candy-on-pod: three-bug fix making the feature work end-to-end" —candy/plugin-check's bed runner uses this field to decide whether itsconfig/startsteps may safely pass--tag <base-build-tag>(a non-overlay bed's freshness proof) or must omit it (an overlay bed's freshness proof is the just-built overlay tag, resolved viaresolveDeployResolvedImage).Change class
Code (schema + generated). Confidence tier:
analysed on a live system.Test plan
go build ./...+go test ./...— all packages green.task cue:genregeneration is reproducible (clean run, only the intended field landed inspec/cue_types_gen.go).charlyPR: the new disposable bedcheck-pod-overlay(pod: {add_candy: [ripgrep]}) is the R10 gate for all three fixes together, run twice (exploratory + fresh-rebuild), all green at zero warnings — pasted in that PR.Assisted-by: Claude Code (Anthropic Claude Opus 4.5; analysed on a live system)