Repository navigation
build: pick up the plugin-box bake_plugin dedupe fix - #431
Merged
Merged
Conversation
opencharly/plugin-box#3 made the bake_plugin dedupe symmetric. The conflict loop in validateRemoteCandies visits every clashing pair twice, but the bake relationship is one-directional, so a baked plugin reported the identical conflict twice in opposite orders. Bumps the compiled plugin-box module to v0.2026241.5, which carries that fix. Verified the fix is actually in the built binary, not merely in go.mod: strings bin/charly | grep -c reportRemoteNameConflicts 2 (the function the fix extracted, absent from the previous build).
Contributor
Review — PASSHead SHA: Security screen: PASS — diff is exactly Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Picks up
opencharly/plugin-box#3, which made thebake_plugindedupe symmetric.validateRemoteCandiescompares every remote candy against every other, so it visits a clashingpair twice —
(A,B)and(B,A)— but the bake relationship is one-directional: only thebaking repo holds the sibling carrying the ref. Testing one direction let the mirrored visit
through, so every baked plugin reported the identical conflict twice, in opposite orders.
Bumps the compiled
plugin-boxmodule tov0.2026241.5.How tested
The fix is verified present in the built binary, not merely in
go.mod—plugin-boxis acompiled_plugins:entry, so a stale build would silently keep the old rule:That is the function the fix extracted; it is absent from the previous build.
Honest scope: this does NOT yet clear the conflicts downstream
Measured on
distro-cachyoswith this binary, the fourplugin-mcp/plugin-recordconflictsstill report. So the symmetric dedupe is necessary but not sufficient here, and I am not
claiming otherwise.
The likely reason, offered as a hypothesis rather than a finding: the dedupe needs the baking
sibling (
charly/candy/charly-mcp, which carries thebake_plugin:ref) to be present in thescanned candy set. In that project
charlyitself does not resolve —— because
candy/charly-marketplacereferences the charly repo root (@github.com/opencharly/ charly:vTAG) rather than a candy inside it. If charly's candies only partially load, the phantomplugin-mcpprovider appears without the sibling that would dedupe it. Both the marketplace'scanonical copy of that candy and
distro-cachyos's use the same repo-root form, so this is aquestion about that candy's intended shape, not a local mistake — which is why I have not changed
it here.
Rulebook compliance
/charly-internals:git-workflowloaded.fixed; the binary was checked for the new symbol so "it didn't work" could be distinguished
from "it wasn't built in".
only hypothesised, explicitly separated.
git statuschecked. A straybox/cachyosgitlink change (from initialising thatsubmodule while investigating) was explicitly excluded from the commit; the diff is
go.mod+go.sumonly.check-selkies-labwc-podstill cannot complete, for the reasons in the paired PRs.Change classification
analysed on a live system— the rebuilt binary was run against a realproject with retained output, which is also how I established the bump is not sufficient alone.
Assisted-by: Claude Code Anthropic Opus 5 (analysed on a live system)