Exclude build proxy artifacts from native provider module archives
Private module tooling / contract (pull_request) Failing after 4s
Private module tooling / contract (pull_request) Failing after 4s
Authored-By: Codex (GPT-6) <noreply@openai.com>
This commit is contained in:
@@ -35,6 +35,11 @@ client once, then run the generated command with `-write` to copy unchanged
|
||||
generator itself enforces offline resolution and a local toolchain. It preserves
|
||||
the complete original archives, including any licenses and notices. Normal Go
|
||||
downloads still validate their content against the consumer's `go.sum`.
|
||||
The generated proxy directory has an exact build-only nested `go.mod` marker.
|
||||
Native Go module packaging excludes that directory from provider releases, so
|
||||
downstream consumers never recursively bundle another provider's build inputs.
|
||||
The checker requires the marker, and a native local-Git archive test proves the
|
||||
exclusion without permitting Git network protocols.
|
||||
|
||||
Consumer resolution uses `GONOPROXY=none`, `GONOSUMDB=code.fritzlab.net`,
|
||||
`GOFLAGS=-mod=readonly`, `GOTOOLCHAIN=local`, and
|
||||
|
||||
Reference in New Issue
Block a user