Skip to main content

Module artifact_supply

Module artifact_supply 

Source
Expand description

Where a runtime pull finds an artifact the session’s stores do not hold.

A capsule granted capabilities.install.from: [stores, sources] may have a pull answered by the GitHub source of the artifact’s scope. The runtime has no source client of its own: the launcher hands staging a SourceSupply (StageRequest::source_supply), and the pull path asks it for an index and then for one exact payload. Every refusal the supply returns is a sentence the pull passes on after its own leading token.

A supply writes nothing. What a source pull installs reaches tools/<tool>/, murmur.lock and the compiled-form cache through the same writes a store pull makes, and no store.

Structs§

SourcedArtifact
A payload a SourceSupply fetched and checked.

Traits§

SourceSupply
The scope sources a session may fetch from.