pub struct RunMetadata {
pub run_id: String,
pub started_at_utc: String,
pub command: String,
pub resume: bool,
pub repo_root: String,
pub ralph_version: String,
pub pid: Option<u32>,
pub config_summary: Option<ConfigSummary>,
}Expand description
Metadata recorded in run.json for each pipeline run.
This file is written at the start of each run to provide context for debugging and tooling. It anchors the run with essential info like command invocation, timestamps, and environment details.
Fields§
§run_id: StringTimestamp-based run identifier (matches directory name)
Format: YYYY-MM-DD_HH-mm-ss.SSSZ[-NN] (e.g., 2026-02-06_14-03-27.123Z)
This is the log run ID used for the per-run log directory and is distinct
from the UUID-based run_id field in PipelineCheckpoint which uniquely
identifies the execution session.
started_at_utc: StringTimestamp when run started (UTC, RFC3339)
command: StringCommand as invoked by user (e.g., “ralph” or “ralph –resume”)
resume: boolWhether this is a resumed session
repo_root: StringAbsolute path to repository root
ralph_version: StringRalph version (from Cargo.toml)
pid: Option<u32>Process ID (if available)
config_summary: Option<ConfigSummary>Configuration summary (non-secret metadata)
Trait Implementations§
Source§impl Clone for RunMetadata
impl Clone for RunMetadata
Source§fn clone(&self) -> RunMetadata
fn clone(&self) -> RunMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RunMetadata
impl Debug for RunMetadata
Source§impl<'de> Deserialize<'de> for RunMetadata
impl<'de> Deserialize<'de> for RunMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for RunMetadata
impl RefUnwindSafe for RunMetadata
impl Send for RunMetadata
impl Sync for RunMetadata
impl Unpin for RunMetadata
impl UnwindSafe for RunMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more