Skip to content

charly box validate: 18 'remote candy name conflict' errors — plugin candies referenced by check-bed verbs appear as provided by both charly and the standalone repos #437

Closed

Description

@atrawog

Symptom

charly box validate on the charly repo reports 18 remote candy name conflict errors:

remote candy name conflict: "plugin-vnc" provided by both github.com/opencharly/charly and github.com/opencharly/plugin-vnc
remote candy name conflict: "plugin-record" provided by both github.com/opencharly/plugin-record and github.com/opencharly/charly
remote candy name conflict: "plugin-cdp" provided by both github.com/opencharly/plugin-cdp and github.com/opencharly/charly
remote candy name conflict: "plugin-dbus" provided by both github.com/opencharly/plugin-dbus and github.com/opencharly/charly
remote candy name conflict: "plugin-wl" provided by both github.com/opencharly/charly and github.com/opencharly/plugin-wl
remote candy name conflict: "plugin-mcp" provided by both github.com/opencharly/plugin-mcp and github.com/opencharly/charly
remote candy name conflict: "plugin-example-step" / "plugin-example-external" (same class)
global candy order: resolving candies for image "check-k8s-deploy-app": unknown candy "check-keepalive"

Root cause

The charly repo's check beds (check-k8s-deploy-app etc.) and the charly-check candy's plan use the plugin VERBS (cdp:, wl:, vnc:, dbus:, mcp:, record:). The verb references make the plugin candies appear as "provided by github.com/opencharly/charly" (via collectReferencedPluginWords), while the standalone plugin repos also provide them. The plugin-box bake_plugin dedup (bakePluginSibling) does NOT cover this class — it only dedupes bake_plugin refs, not verb references.

Why it matters

The charly repo's own charly box validate is not a CI gate (ci.yml runs go test), so this is not blocking CI. But it blocks any PR that touches the charly repo's check beds or candy refs from claiming a green validate, and it is a cutover regression (pre-cutover the plugin candies were in-repo, so no conflict).

Required RCA direction

Extend the plugin-box conflict dedup (validateRemoteCandies / bakePluginSibling) to also dedupe when a plugin candy is referenced by a VERB in a repo's plan (the verb-to-plugin mapping: cdp → plugin-cdp, wl → plugin-wl, etc.), preferring the standalone repo. Also resolve the check-keepalive unknown-candy (the check-k8s-deploy-app bed references it by bare name).

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

Activity

  1. atrawog commented on Aug 29, 2026

    @atrawog
    ContributorAuthor

    Resolved. RCA found the conflict source was NOT the check-bed verb references hypothesized in the issue body — it was stale distro pins still carrying pre-cutover @github.com/opencharly/charly/candy/<name> refs.

    Root cause: the charly repo's import: pins and box/* submodule gitlinks pointed at distro tags (distro-arch v2026.241.0311, distro-cachyos v2026.241.0323, distro-debian v2026.241.0514, distro-fedora v2026.241.0424, distro-ubuntu v2026.241.0514) that still contained charly/candy/<name> refs. Those refs resolve an OLD charly tag (v2026.240.0759+) whose candy/ dir still ships the candies — so every candy provided by a standalone repo (waybar, valkey, rust, charly, charly-mcp, …) appeared as provided by both the standalone and github.com/opencharly/charly. The check-bed verb angle from the issue body was a red herring.

    Fix chain (all merged):

    Verification: charly box validate: 564 conflicts → exit 0, 0 validation errors on the charly repo and the umbrella root. All five distro repos + marketplace + docs show 0 old-path refs on main.

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