Repository navigation
fix(deploy-pod): advance the spec/sdk pins and name a failed project connect - #2
Conversation
…connect The plugin pinned spec v0.2026232.521 / sdk v0.2026236.18 while charly has advanced to day-241 spec. Because deployKeyToBoxLocal degrades to "" on ANY connect/load failure, that skew presented as a bogus image not found in local storage: <deploy-key>:<deploy-key>-<calver> naming a ref nothing ever built -- the box name had silently degraded to the deploy key. Advance the pins, and name the cause where it is known instead of conflating a transport failure with "this project declares no entry". Claude-Session: https://claude.ai/code/session_01Gf42A3bau77JigFYLALrnq
Review — BLOCKHead SHA: Change class: code/config — dependency pin advance (spec/sdk) + diagnostic warnings on two error legs in Security screen: PASS — no scope mismatch (all three files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no supply-chain concern beyond the stated pin advance. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
The two diagnostic warnings only fire on a transport/decode fault, which a passing bed cannot reach. Hold the two executor-backed legs as vars -- the seam idiom the sibling config_setup paths already use -- so a test can drive their failure branches directly, and assert the cause is named while the degraded return value is preserved. A third test pins the no-entry path SILENT so ordinary projects without a fleet entry do not start warning. Also migrate candy_by_name_test.go onto spec/fleet.CandyMapKey: the helper moved package in the spec advanced by this branch, so the pin bump does not compile without it. Claude-Session: https://claude.ai/code/session_01Gf42A3bau77JigFYLALrnq
Review — BLOCKHead SHA: Change class: code/config — spec/sdk pin advance + diagnostic warnings on two error legs in Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Independent corroboration on a second bed, in a different repoThe body's evidence uses one fixture bed. The same defect has now reproduced on an unrelated bed ( With the released plugin ( That is this plugin's own spec pin ( This also sharpens why the diagnostic half of the change is worth having. The two legs behave differently on the same underlying fault:
I spent real effort chasing the second message before the first one turned up on another bed and named the cause outright. The warnings added here make the second leg say what the first already says. The tier stays Landing order: this PR must merge and tag before |
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (all 5 diff files accounted for in the body), no secrets/exfiltration, no weakened guardrails, no supply-chain concern (pin advance is within the opencharly org's own Checklist: All applicable rules PASS or NA.
Comment intake:
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Summary
plugin-deploy-podpinnedspec v0.2026232.521andsdk v0.2026236.18while charly has advanced to day-241 spec. BecausedeployKeyToBoxLocaldegrades to""on any connect/load failure, that pin skew did not present as a version error — it presented as a bogus missing image:That ref was never built. The image that was built is
devops-layer-app:check-devops-layer-2026.241.0938— the box name had silently degraded to the deploy key, because the project-fallback leg (hostBuild→LoadUnifiedViaExecutor→ProjectFleetConfig) failed on the wire-shape skew and returned"", whichresolveDeployBoxNameLocalcannot distinguish from "this project declares no entry".Three changes:
Advance the pins to
spec v0.2026241.931/sdk v0.2026241.933.Name the cause where it is known. A genuine transport/decode failure is not the same as "no entry declared"; conflating them is what turned a pin skew into a misleading
image not found. The two error legs now warn with the deploy key, the underlying error, and the fact that a pin skew is the usual cause. The no-entry paths stay silent, so no existing quiet fallback becomes noisy. The two executor-backed legs become package-level vars (the seam idiom the siblingconfig_setuppaths already use) so the failure branches are reachable from a test.Tests and one required migration. New
resolve_ref_connect_failure_test.godrives both failure branches and pins the no-entry path silent.candy_by_name_test.gois repointed fromspec.CandyMapKeytospecfleet.CandyMapKey— the helper moved to thespec/fleetpackage in the spec this branch advances to, so the package does not compile at the new pins without it.How tested
A
disposable: truepod bed (check-devops-layer) on a fresh rebuild, run two ways on the same machine and fixture — the only difference is whether this branch supplies the plugin.Control — plugin at its released pins (
v2026.239.1640), i.e. the skew:with, in
deploy-add.log, the correct image already resolved and persisted:— proving the image existed and only the read-back was wrong.
This branch (
CHARLY_REPO_OVERRIDE=github.com/opencharly/plugin-deploy-pod=<checkout>):The
[update]stage is charly's destroy-and-rebuild leg, so the pass covers a fresh rebuild, not a warm reuse.errors=0andwarnings=0across all 13 stages; theallowlistedentries are the dev/worktree-build notice (plugin-check v0.2026241.920), one per charly invocation.The diagnostic branches, driven directly. The warnings only fire on a transport/decode fault, which a passing bed cannot reach — so they are proved by tests that drive those branches, with a two-way control showing each fails without the code:
A third test,
TestDeployKeyToBoxLocal_NoEntryStaysSilent, pins the ordinary no-entry path SILENT, so projects without a fleet entry do not start emitting warnings. All three assert the degraded return value is unchanged — this PR changes what is reported, not what is returned.Full suite and vet at the new pins:
That suite pass required one migration:
spec.CandyMapKeymoved to thespec/fleetpackage in the spec this branch advances to, socandy_by_name_test.gois repointed atspecfleet.CandyMapKey. Without it the package does not compile at the new pins.Rulebook compliance
version:was ruled out by migrating it to2026.240.1943and re-running, which reproduced the failure unchanged. A spec regression was ruled out by bisect (charly's own pinned spec passes). The pin skew is what the two-way control isolates.fmt.Fprintf(os.Stderr, "Warning: …")idiom.main, no hook bypass.2026.241.0951,PASS (steps=13), 0 errors / 0 warnings).Change classification
charly check run check-devops-layer, adisposable: truepod bed, fresh rebuild,PASS (steps=13)at zero errors and zero warnings, with a two-way control isolating this branch as the variable.analysed on a live system— capped deliberately, and the cap is the honest one. The pin advance did execute live on a disposable target against a fresh rebuild with a two-way control (PASS (steps=13), 0 errors / 0 warnings, run2026.241.0951). The diagnostic branches did not: they fire only on a transport/decode fault, so a passing bed cannot reach them, and they are covered by unit tests with their own two-way control rather than by live bed execution. Unit coverage is not the bed gate, so the whole change takes the lower tier.Assisted-by: Claude Code Anthropic Opus 5 (analysed on a live system)