pub fn load_run_artifact(
path: &Path,
) -> Result<LoadedArtifact, ArtifactLoadError>Expand description
Loads and validates a tailtriage run artifact from disk.
Validation is strict:
- top-level
schema_versionmust exist and match this binary exactly - the decoded artifact must include at least one request event
Loader warnings are non-fatal findings and are returned in
LoadedArtifact::warnings.
ยงErrors
Returns ArtifactLoadError when the file cannot be read, the JSON is malformed,
the schema is unsupported, or required sections are missing.