The rule of an artifact the builder packs or fetches itself was written twice, in the indexer's seed and in the runner's placing; both now read the one in mesh-delivery-sdk's buildstep, the contract of a build step every delivery part reads. Builds: design 47 G A-324, A-325 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
10 lines
558 B
Go
10 lines
558 B
Go
package buildstep
|
|
|
|
// PackedOrFetched says an artifact of language and kind (its catalog entry's) is one the builder packs or fetches itself,
|
|
// of kind archive or upstream with no language: it has no lint, unit or integration step, so the seed calls no build seat's
|
|
// steps for it and the runner places those steps bypassed, whatever the policy says (design 47 G A-324, A-325). The
|
|
// indexer's seed and the runner read this one rule.
|
|
func PackedOrFetched(language, kind string) bool {
|
|
return language == "" && (kind == "archive" || kind == "upstream")
|
|
}
|