Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

End-to-end orchestration for one exact RSJS Cargo root.

This module is deliberately small glue over the independently tested descriptor runner, exact-artifact transport linker, canonical semantic linker, and plan-sensitive final runner. It does not discover artifacts in a target directory or infer a root from a source path. The caller supplies one exact Cargo artifact selector, and every later identity comes from Cargo messages, validated wrapper sidecars, or rustc relocations.

Structs§

DescriptorRootSelector
Exact Cargo root selected from the descriptor invocation’s JSON messages.
LinkedCargoOutput
Successful output of every stage for one selected root.
LinkedCargoRequest
One complete descriptor, link, and final-Cargo request.
LinkedDescriptorTransport
Descriptor artifacts fully hashed and transport-linked while their target and optional cache generation remained exclusively leased.
OptimisticLinkedCargoOutput
Successful output of an optimistic single-pass final build against an empty RSJS semantic plan.

Enums§

LinkedCargoError
End-to-end orchestration failure.
LinkedCargoStage
OptimisticLinkedCargoOutcome
Result of attempting a single-pass optimistic empty-plan dev build.

Functions§

link_descriptor_transport
Consume a cached or uncached descriptor run and materialize every mutable target byte needed by the transport linker before releasing its leases.
run_linked_cargo
Run descriptor compilation, exact linking, semantic planning, and final Cargo compilation for one root.
run_linked_cargo_cached
Run the exact linked pipeline while reusing descriptor objects admitted by the explicit persistent cache.
run_linked_cargo_cached_with_progress
try_run_optimistic_empty_linked_cargo
Attempt a single-pass final Cargo build against an empty RSJS semantic plan, skipping descriptor compilation, descriptor cache validation, and transport linking when no compiled unit expands an RSJS macro.
validate_linked_cargo_request
Check managed-path and invocation constraints without starting a build.