Skip to content

fix: bump spec pin to v0.2026241.931 (schema 2026.240.1943 support) - #3

Closed
atrawog wants to merge 1 commit into
mainfrom
feat/spec-pin-bump
Closed

atrawog wants to merge 1 commit into
mainfrom
feat/spec-pin-bump

Conversation

@atrawog

@atrawog atrawog commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

The plugin-deploy-pod candy pinned spec v0.2026232.521 (schema max 2026.232.0520). The charly.yml schema migration to 2026.240.1943 — required by the GitClient spec cutover (spec#65/#66) — makes the old pin reject every project config at config-setup time:

config schema 2026.240.1943 is newer than this charly supports (max 2026.232.0520)

This blocks the box-submodule schema migrations (distro-fedora/arch/cachyos/debian/ubuntu) whose pod deploys resolve this plugin.

Bump spec to v0.2026241.931 (schema head 2026.240.1943) and sdk to v0.2026241.933. The test's spec.CandyMapKey usage (removed from the new spec) is inlined.

How tested

$ cd candy/plugin-deploy-pod && go build ./... && echo BUILD OK
BUILD OK
$ go test ./...
ok  	github.com/opencharly/plugin-deploy-pod/candy/plugin-deploy-pod	0.276s
?   	github.com/opencharly/plugin-deploy-pod/candy/plugin-deploy-pod/cmd/serve	[no test files]

Rulebook compliance

Rule How
R1 — RCA every anomaly The box-submodule schema migrations failed pod deploys at config-setup — traced to the plugin's stale spec pin (v0.2026232.521, schema max 2026.232.0520).
R2 — no pre-existing split N/A — single pin-bump change.
R3 — no duplication N/A — no new behavior; pins only.
R4 — no workarounds The fix is the real pin bump, not a schema downgrade.
R5 — hard cutover N/A — no dual path; the old pin is replaced in the same commit.
R6 — git safety git status clean before commit; no force-push; PR-only landing.
R7 — prove the gate go build + go test pass on the final tree (above).
R8 — generation/label verification N/A — no generated artifacts.
R9 — binary integrity N/A — no binary artifacts.
R10 — disposable fresh-rebuild proof The bumped pin is the prerequisite for the box-submodule migrations' pod beds; the beds are gated separately.
RDD — prove high-risk assumptions The spec/sdk compatibility was proven by a real go build + go test against the new pins (above).
ADE — spec-is-the-test N/A — no plan: acceptance steps.
SDD — schema-driven design The schema head is read from the pinned spec module; the bump aligns the plugin with the current schema.

Change classification

  • Change class: config (dependency pin bump)
  • Verification gate: build + unit tests
  • Attribution tier: fully tested and validated — go build + go test pass on the final tree; the changed path (the pinned spec/sdk) is exercised by the build.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

The plugin-deploy-pod candy pinned spec v0.2026232.521 (schema max
2026.232.0520). The charly.yml schema migration to 2026.240.1943 (required
by the GitClient spec cutover) makes the old pin reject every project config
at config-setup time:

  config schema 2026.240.1943 is newer than this charly supports (max
  2026.232.0520)

Bump spec to v0.2026241.931 (schema head 2026.240.1943) and sdk to
v0.2026241.933. The test's spec.CandyMapKey usage (removed from the new
spec) is inlined. Build and tests pass.
@atrawog

atrawog commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Closing as a no-op — main already carries these exact pins.

This PR proposes sdk v0.2026236.18 → v0.2026241.933 and spec v0.2026232.521 → v0.2026241.931. Both landed in #2 (merged, tagged v2026.241.0959). Measured against main just now:

$ curl -s .../main/candy/plugin-deploy-pod/go.mod | grep -E 'opencharly/(spec|sdk) v0'
require github.com/opencharly/sdk v0.2026241.933
	github.com/opencharly/spec v0.2026241.931

Identical to this branch's target, so the diff would be empty against current main.

#2 additionally carries the part a bare pin bump does not: the spec.CandyMapKey → specfleet.CandyMapKey migration (the helper changed package in the new spec, so the test package does not compile at these pins without it), and a fix for the silent failure this skew exposed — deployKeyToBoxLocal was degrading the box name to the deploy key on any connect/load fault, surfacing image not found in local storage: <deploy-key>:<deploy-key>-<calver> for a ref that was never built.

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