Module scheduler_artifact

Module scheduler_artifact 

Source
Expand description

Parent-built scheduler artifact handoff for orchestrated test runs.

A cargo ktstr parent discovers every Path and Discover scheduler referenced by the warmed test executables before nextest starts. It builds each distinct Discover package once, writes one immutable manifest, and exports crate::KTSTR_SCHEDULER_MANIFEST_ENV to every child. This module is the single reader and wire format shared by ordinary tests, coverage, raw llvm-cov nextest, staged schedulers, and verifier cells.

Structs§

SchedulerArtifactEntry
One exact scheduler artifact and every scheduler name which requires it.
SchedulerArtifactManifest
Parent-owned scheduler artifacts for one orchestrated test run.
SchedulerArtifactSnapshot
A live lease over one immutable scheduler executable in the machine CAS.

Enums§

SchedulerArtifactSpec
Exact scheduler executable specification carried in a manifest entry.

Constants§

SCHEDULER_ARTIFACT_MANIFEST_VERSION
Current schema version for SchedulerArtifactManifest.

Functions§

snapshot_scheduler_artifact
Pin and snapshot one scheduler executable into the shared content CAS.
write_scheduler_artifact_manifest
Atomically publish one immutable scheduler artifact manifest.