huskies: merge 1036

This commit is contained in:
dave
2026-05-14 15:07:57 +00:00
parent cfccc2e73c
commit ee20e54d40
17 changed files with 72 additions and 2 deletions
+5
View File
@@ -56,6 +56,10 @@ pub enum ContentKey<'a> {
/// "completed" so the mergemaster agent exit handler in `spawn.rs` can
/// distinguish a clean success from a transient crash (bug 1008).
MergeSuccess(&'a str),
/// JSON-serialised `MergeReport` written by the merge runner on successful
/// completion. Read by `get_merge_status` to surface gate output for the
/// "completed" state without a separate MergeJob CRDT register (story 1036).
MergeReport(&'a str),
}
impl<'a> ContentKey<'a> {
@@ -80,6 +84,7 @@ impl<'a> ContentKey<'a> {
ContentKey::MergeFixupPending(id) => format!("{id}:merge_fixup_pending"),
ContentKey::MergeFailureKind(id) => format!("{id}:merge_failure_kind"),
ContentKey::MergeSuccess(id) => format!("{id}:merge_success"),
ContentKey::MergeReport(id) => format!("{id}:merge_report"),
}
}
}