Skip to content

docs(go): named dep groups for link deps/runtime_deps#57

Merged
raphaelvigee merged 1 commit into
mainfrom
claude/laughing-lovelace-ey49fl
Jul 1, 2026
Merged

docs(go): named dep groups for link deps/runtime_deps#57
raphaelvigee merged 1 commit into
mainfrom
claude/laughing-lovelace-ey49fl

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Summary

  • Documents hephbuild/heph#140 (commit 5196c82), which widens the go provider's link deps/runtime_deps provider_state fields from list[string] to string | list[string] | {group: string | list[string]}, letting BUILD authors name dep groups instead of always landing in one bucket.
  • Updates website/docs/plugins/go.md (Link configuration section) with the new type signature and a "Naming dep groups" subsection.
  • Updates the reference twin plugins/heph-go/skills/heph-go/references/go-plugin.md (the heph-go Claude Code skill's bundled reference) to match, per the reference-drift rule in this repo's CLAUDE.md, plus a troubleshooting row for group-name collisions.

Note: the upstream PR description says named groups are emitted with a link_deps_/link_runtime_deps_ prefix, but the actual merged code (link_group_key in crates/plugin-go/src/plugingo/target_bin.rs) and its own tests (test_link_deps_named_groups_are_verbatim) show named groups are staged verbatim, not prefixed — only the default (unnamed) group uses the link_deps/link_runtime_deps key. This PR documents the actual, tested behavior in the merged code rather than the PR body's description.

Test plan

  • Docs-only change; no build performed per instructions. Content was cross-checked directly against the merged diff and tests in hephbuild/heph (crates/plugin-go/src/plugingo/provider.rs, crates/plugin-go/src/plugingo/target_bin.rs).

Generated by Claude Code

Reflects hephbuild/heph#140 (commit 5196c8246f23d0ae81121edf0bdb4efe831bb9d7),
which widens the go provider's `link` deps/runtime_deps provider_state fields
from list[string] to string | list[string] | {group: ...}. Updates both the
docs page and its heph-go skill reference twin per the reference-drift rule.
@raphaelvigee raphaelvigee enabled auto-merge (squash) July 1, 2026 09:29
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://1c321a28.hephbuild.pages.dev
Commit 65ed775

@raphaelvigee raphaelvigee merged commit 5534994 into main Jul 1, 2026
3 checks passed
@raphaelvigee raphaelvigee deleted the claude/laughing-lovelace-ey49fl branch July 1, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant