Skip to main content

VIA_EXPLICIT_MERGE

Constant VIA_EXPLICIT_MERGE 

Source
pub const VIA_EXPLICIT_MERGE: &str = "explicit-merge";
Expand description

The legacy via marker run merge stamps on the terminal node.report it appends after a clean merge, alongside the typed ReportOrigin::RunMerge. This is the taskfleet/taskfleet-core contract point: the CLI (crates/taskfleet/src/run/merge.rs) writes it, and — for a legacy on-disk report carrying NO origin field — ReportOrigin::report_is_confirmed_merge reads it as the fallback merge signal. Retained for backward compatibility with pre-typed-origin runs and downgrade-reading older CLIs; the typed origin is the authority for a report that carries one (issue retire-via-string). Lives here beside REPORT_ORIGIN_KEY as a wire-protocol constant, and is re-exported at the crate root (taskfleet_core::VIA_EXPLICIT_MERGE) for the CLI writers.