Expand description
Host-side artifact discovery, freshness, and Wasm build helpers.
These functions keep integration-test artifacts in caller-selected target directories and contain no application-specific package or profile policy.
Structs§
- Artifact
Build Transaction - Owned miss transaction holding the recipe and content-key process locks.
- Artifact
Cache Artifact - One logical artifact materialized at its caller-selected destination.
- Artifact
Cache Batch Failed Entry - One failed generic artifact batch entry with its retained wall-clock time.
- Artifact
Cache Batch Metrics - Aggregate counters and successful-acquisition timings for an artifact batch.
- Artifact
Cache Batch Report - Ordered outcomes and failures from a collect-all artifact transaction batch.
- Artifact
Cache Prune Policy - Caller-selected retention limits for content-addressed artifact entries.
- Artifact
Cache Prune Report - Summary of one lock-coordinated artifact-cache pruning pass.
- Artifact
Cache Record - Details shared by built and reused transactional artifact outcomes.
- Artifact
Cache Spec - Complete caller-owned description of one transactional artifact set.
- Artifact
Cache Timings - Phase timings for one transactional artifact-cache acquisition.
- Cargo
Build Input - One exact local Cargo source or configuration input under a stable logical label.
- Input
Digest - SHA-256 digest of one deterministic artifact-input set.
- Resolved
Cargo Build Inputs - Resolved exact inputs and identity for one
WasmBuildSpec. - Shared
Incremental Target Inspection - Lock-coordinated disk-usage observation for a caller-owned shared Cargo target.
- Shared
Incremental Target Maintenance - Result of explicit shared Cargo target maintenance.
- Shared
Incremental Target Maintenance Config - Scheduled shared incremental-target maintenance attached to a Wasm acquisition.
- Shared
Incremental Target Prune Policy - Whole-target retention limits for caller-owned shared Cargo state.
- Wasm
Build Batch Config - Orchestration shared by every entry in one independent Wasm build batch.
- Wasm
Build Batch Failure - One failed Wasm batch entry with its retained wall-clock time.
- Wasm
Build Batch Metrics - Aggregate counters and successful-acquisition timings for a Wasm build batch.
- Wasm
Build Batch Report - Ordered outcomes and failures from a collect-all Wasm build batch.
- Wasm
Build Progress Config - Observation settings for one cacheable Wasm build.
- Wasm
Build Record - Details shared by built and reused Wasm outcomes.
- Wasm
Build Spec - Complete caller-owned description of one cacheable Cargo Wasm build.
- Wasm
Build Timings - Timings for cache coordination, input resolution, and Cargo execution.
- Wasm
Input Resolution Timings - Detailed timings for exact Wasm build-input resolution.
- Watched
Input Snapshot - Exact content digest captured across a set of watched input trees.
Enums§
- Artifact
Cache Batch Failure - Failure from one entry in a collect-all artifact transaction batch.
- Artifact
Cache Error - Structured failure from transactional artifact caching.
- Artifact
Cache Maintenance - Nonfatal retention attempted as part of a successful cache acquisition.
- Artifact
Cache Outcome - Whether an artifact transaction published or reused its exact output set.
- Artifact
Cache Preparation - Result of preparing a transactional artifact-set acquisition.
- Artifact
Output Validation - Built-in validation applied to one transactional artifact output.
- Shared
Incremental Target Maintenance Failure Mode - Failure handling for integrated shared incremental-target maintenance.
- Shared
Incremental Target Maintenance Outcome - Result of interval-limited shared Cargo target maintenance.
- Wasm
Build Batch Progress Event - Structured progress for an independent sequence of exact Wasm builds.
- Wasm
Build Cache Mode - Cargo-target ownership mode for one exact cached Wasm build.
- Wasm
Build Error - Structured failure from a cacheable Wasm build.
- Wasm
Build Outcome - Whether a cacheable Wasm build ran Cargo or reused exact matching artifacts.
- Wasm
Build Output Stream - Raw child-process stream attached to a Cargo progress event.
- Wasm
Build Phase - External phase associated with a cacheable Wasm build failure.
- Wasm
Build Progress Event - Structured progress emitted by an observed cacheable Wasm build.
- Wasm
Build Progress Outcome - Final cache state reported by a successful observed build.
- Wasm
Build Progress Phase - Potentially long phase of one observed Wasm-cache acquisition.
Functions§
- build_
artifact_ caches_ batch - Build every independent transactional artifact specification.
- build_
wasm_ canisters_ cached - Build or reuse one exact set of Cargo Wasm artifacts.
- build_
wasm_ canisters_ cached_ batch - Build every Wasm specification as an independent Cargo invocation.
- build_
wasm_ canisters_ cached_ batch_ with_ config - Build an independent Wasm batch with shared batch orchestration.
- build_
wasm_ canisters_ cached_ batch_ with_ config_ and_ progress - Build a configured independent Wasm batch while forwarding structured progress.
- build_
wasm_ canisters_ cached_ batch_ with_ progress - Build an independent Wasm batch while forwarding structured progress.
- build_
wasm_ canisters_ cached_ with_ progress - Build or reuse one exact Wasm set while streaming structured progress.
- icp_
artifact_ ready_ for_ build - Check whether an ICP artifact exists, is nonempty, and is fresh against watched inputs.
- icp_
artifact_ ready_ with_ snapshot - Check one ICP artifact against one already-captured watched-input snapshot.
- inspect_
shared_ incremental_ target - Inspect one configured shared Cargo target under its build coordination lock.
- maintain_
shared_ incremental_ target - Apply explicit whole-target retention to caller-owned shared Cargo state.
- maintain_
shared_ incremental_ target_ at_ most_ every - Apply whole-target retention at most once per interval across processes.
- prepare_
artifact_ cache - Verify or begin one exact external artifact-set transaction.
- prune_
artifact_ cache - Prune one transactional artifact namespace without acquiring an artifact.
- prune_
wasm_ build_ cache - Prune fingerprint-specific Cargo target directories under
target_dir. - read_
wasm - Read a compiled Wasm artifact for one crate.
- resolve_
cargo_ build_ inputs - Resolve the exact Cargo source, configuration, toolchain, argument, and environment identity.
- resolve_
executable - Resolve one executable exactly as an artifact-cache tool input.
- test_
target_ dir - Return
<workspace>/target/<name>for isolated host-side test artifacts. - wasm_
artifacts_ ready - Check whether every requested Wasm artifact is a regular file.
- wasm_
path - Resolve one crate’s Wasm artifact under a caller-selected Cargo target directory.
- workspace_
root_ for - Resolve the conventional workspace root from a crate manifest directory.