Repository navigation
fix: scope the discover walk so it skips the Go test fixture - #9
Merged
Merged
Conversation
The root manifest I added used recursive: true, which descends into candy/generate-packages/testdata/charly.yml - a Go test fixture, not a deployable candy. validate rightly rejected it (no install content, no plan: list), so the candy workflow failed on main. recursive: false matches the plugin repo layout exactly: candy/<name>/charly.yml is found, nested fixtures are not. Verified against a binary built from this repo's pinned charly tag: the real generate-packages candy is still discovered, validate passes, and a deliberately malformed provider class is still caught. Claude-Session: https://claude.ai/code/session_016fnPmYiC6ZkqXSi6D8PAP6
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (diff is exactly the described Checklist: All applicable rules PASS or NA.
Comment thread: empty — no comments to disposition. 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
Repairs a regression I introduced: the
candyworkflow is failing onmainhere.The root
charly.ymlI added (#8) usedrecursive: true, which descends intocandy/generate-packages/testdata/charly.yml— aGo test fixture, not a deployable candy.
validaterightly rejected it:recursive: falsematches the plugin repo layout exactly —candy/<name>/charly.ymlisfound, nested fixtures are not. This is the only repo of the 94 in the sweep with a nested
charly.yml, which is why it is the only one that broke.How tested
Against a binary built from this repo's own pinned charly tag (
v2026.238.1242).The real candy is still discovered, and validate passes:
(the
testdatafixture is correctly absent)The gate still bites — a non-recursive walk that found nothing would be worthless.
Changing this repo's own
- command:generate-packagesprovider entry to- notaclass::So the repo keeps the working gate the earlier PR was for, and its
candyworkflow goesgreen again.
Rulebook compliance
/charly-internals:plugin,/charly-internals:git-workflow.candy "testdata",which traced to a nested fixture reached only because of
recursive: true. Not guessed.repos, and this was the only failure.
glob.
deleted, moved, or the gate suppressed.
recursive: trueis replaced, not supplemented.above.
pair fully observes the change.
recursive: trueis harmless for aplugin repo) is now measured: it is not, wherever a nested
charly.ymlexists.Change classification
charly box validateandbox list candiesunder this repo'spinned charly, plus a deliberately malformed provider entry.
fully tested and validated— exercised in both directions againstthe exact toolchain this repo's CI uses, with output retained above.
Assisted-by: Claude Code claude-opus-5 (fully tested and validated)