diff --git a/lib/crates/fabro-workflows/src/engine.rs b/lib/crates/fabro-workflows/src/engine.rs index 6ca4209bf..a30d281a0 100644 --- a/lib/crates/fabro-workflows/src/engine.rs +++ b/lib/crates/fabro-workflows/src/engine.rs @@ -788,7 +788,7 @@ pub struct RunConfig { pub base_sha: Option, /// Git branch name for the run (e.g. `fabro/run/{run_id}`). pub run_branch: Option, - /// Metadata branch name for git-native checkpoint storage (e.g. `refs/fabro/{run_id}`). + /// Metadata branch name for git-native checkpoint storage (e.g. `fabro/meta/{run_id}`). pub meta_branch: Option, /// User-defined key-value labels for this run. pub labels: HashMap, diff --git a/lib/crates/fabro-workflows/src/git.rs b/lib/crates/fabro-workflows/src/git.rs index 428a48acd..d2b16cd5d 100644 --- a/lib/crates/fabro-workflows/src/git.rs +++ b/lib/crates/fabro-workflows/src/git.rs @@ -362,7 +362,7 @@ impl MetadataStore { /// Returns the branch name for a run: `fabro/meta/{run_id}`. pub fn branch_name(run_id: &str) -> String { - format!("fabro/meta/{run_id}") + format!("{META_BRANCH_PREFIX}{run_id}") } /// Format a commit message with the standard Fabro footer appended.