docs(go): recursive provider_state scoping and link config#43
Open
raphaelvigee wants to merge 1 commit into
Open
docs(go): recursive provider_state scoping and link config#43raphaelvigee wants to merge 1 commit into
raphaelvigee wants to merge 1 commit into
Conversation
⚡ Cloudflare Pages preview
|
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.
Documents the two user-facing additions from hephbuild/heph#116.\n\n## What changed in heph\n\n1.
recursivescoping knob forprovider_state\n\nPreviouslytest = Falsesilently cascaded to all descendant packages. It now applies only to the exact declaring package by default. Setrecursive = Trueto restore subtree-wide behavior. Thego_codegen_rootandgo_codegen_depskeys are unaffected — they always apply to descendants.\n\n2.link = {...}config forpackage mainbinary targets\n\nNewlinkstruct onprovider_statecontrols thego tool linkinvocation forbuildtargets:\n-flags— passed verbatim before-o\n-deps— hashed inputs staged into the link sandbox\n-runtime_deps— staged at run time only, not hashed\n\nHonors the samerecursivescoping; values accumulate shallow→deep across applicable states.\n\n## Docs changed\n\n-website/docs/plugins/go.md\n - Section header renamed to "per-package configuration" (was "per-subtree") to reflect the new default\n - Recognized keys table: addedlinkandrecursiverows; updatedgo_codegen_root/go_codegen_depsrows to note they are always subtree-wide\n - "Skipping tests" section: updated to showrecursive = Trueis now required for subtree-wide disable\n - "Test environment" section: updated scoping note (struct form is also package-scoped by default, not uniquely so)\n - New "Link configuration" section with example and field table\n\n-plugins/heph-go/skills/heph-go/references/go-plugin.md\n - Same table and section updates as the docs page\n - Addedlinksection\n - Added troubleshooting row forrecursivebeing missingGenerated by Claude Code