Skip to content

Reconcile wave: box repos' candy/charly pins still at pre-#146 tag — no-override builds fail on plugin protocol v1 vs v2 #158

Closed

Description

@atrawog

Post-#146 plugin-protocol skew: box repos' candy/charly toolchain pins still serve protocol-v1 plugins

Surfaced while remediating opencharly/distro-arch#5 round-2 (validator finding B2's composition evidence). The merged control-plane cutover (charly#146, tag v2026.200.1914) moved the plugin protocol to version 2. Every box in the distro repos that pins candy/charly (and the builder plugins) at the pre-#146 tag v2026.183.1359 now fails to BUILD under a current host binary without CHARLY_REPO_OVERRIDE:

$ env -u CHARLY_REPO_OVERRIDE ./bin/charly -C box/arch box build arch-test
charly: error: rendering Containerfiles: ... builder plugin load [aur]:
plugin "github.com/opencharly/charly/candy/plugin-builder-aur": connect:
plugin client: incompatible API version with plugin. Plugin version: 1, Client versions: [2]

Reproduction / pre-existence proof

  • arch-test (untouched by any in-flight PR) fails identically with plugin-builder-aur v1 vs client [2].
  • arch-coder fails identically with plugin-builder-npm v1 vs client [2].
  • Both pin candy/charly:v2026.183.1359 (the pre-feat(agent): add generic federated control plane #146 tag; its plugin binaries speak protocol v1). The host binary 2026.200.1917 speaks [2].
  • The failure is invisible to every bed: the runner auto-applies CHARLY_REPO_OVERRIDE, building plugins from the local (v2) source — same masking class as the pin-resolution issue the distro-arch#5 round-1 validator caught.

Root fix (owning cutover)

The post-#146 reconcile wave: charly box reconcile across the distro repos (arch, cachyos, debian, ubuntu, fedora), moving every opencharly/charly pin to the landed control-plane tag (currently v2026.200.1914), with the affected boxes' build + bed evidence per the change-class gate. This is deliberately NOT folded into distro-arch#5 (validator-scoped as a wider cutover with its own R10).

Assisted-by: Kimi Code Moonshot Kimi K3 (analysed on a live system)

Activity

  1. atrawog commented on Jul 20, 2026

    @atrawog
    ContributorAuthor

    Resolved — root cause refined, landed across 7 repos

    The reconcile wave is landed, but the RCA went one layer deeper than the issue's causal model: the pins were never the mechanism that supplied the protocol-v1 plugins. Out-of-process builder plugins resolve by canonical UNVERSIONED ref (@github.com/opencharly/charly/candy/plugin-builder-<word> → default branch main), and the repo cache reused a cached charly@main export forever (existence-only check in kit.DownloadRepo). A pre-#146 @main export therefore served protocol-v1 plugin sources indefinitely — re-pinning to v2026.201.0706 alone did NOT fix the build (proven empirically: arch-test still failed at plugin-load after the reconcile, until the stale export was refreshed).

    Root fix (landed):

    Reconcile wave (the content adoption this issue scoped):

    • distro-arch#7 (v2026.201.1045), distro-cachyos#6 (v2026.201.1048), distro-debian#4 (v2026.201.1046), distro-ubuntu#4 (v2026.201.1049), distro-fedora#4 (v2026.201.1102, incl. a full check-pod bed PASS).
    • chore(box): bump distro gitlinks to the post-#146 reconcile mains #164 — the five gitlink bumps to those merged mains (merged 8f105432, tag v2026.201.1131).

    Verified: the issue's repros now build — arch-test (ghcr.io/opencharly/arch-test:2026.201.0740), plus fedora-builder, debian-builder, ubuntu-builder, cachyos-pacstrap-builder, and a check-pod bed on fedora's final tree.

    Residual external blocker (operator infrastructure, unrelated to the pins): arch-coder and other boxes composing candy/charly still cannot COMPLETE an image build: the candy downloads releases/latest/download/opencharly-<arch>.pkg.tar.zst, and no GitHub release exists — every release-packages.yml run for the last 6 tags is stuck queued (the self-hosted runner is unavailable; no runner process on the build host). arch-coder now passes the entire builder-plugin phase (the skew's failure point) and stops only at that download. This needs the runner back, then a rebuild.

    Assisted-by: Kimi Code (Moonshot K3; analysed on a live system)

  2. atrawog commented on Jul 20, 2026

    @atrawog
    ContributorAuthor

    Closed by the landed program: sdk#77 (mutable-ref repo-cache freshness, v0.2026201.852), charly#163 (mutable-ref delegation, v2026.201.1002), the five distro reconcile PRs (distro-arch#7 v2026.201.1045, distro-cachyos#6 v2026.201.1048, distro-debian#4 v2026.201.1046, distro-ubuntu#4 v2026.201.1049, distro-fedora#4 v2026.201.1102), and the superproject gitlink bump charly#164 (v2026.201.1131) — full resolution detail in the comment above. The remaining arch-coder release-download 404 is the separate unavailable-self-hosted-runner infrastructure problem (release-packages.yml runs all queued), tracked in that comment for the operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions