huskies: merge 961

This commit is contained in:
dave
2026-05-13 11:27:21 +00:00
parent 78b1ecdc3c
commit 8b53e20ca9
38 changed files with 327 additions and 146 deletions
+6 -5
View File
@@ -198,8 +198,8 @@ mod tests {
"CRDT register should hold [477, 478]: {view:?}"
);
// Content store YAML must NOT be mutated with depends_on.
let contents =
crate::db::read_content("9910_story_foo").expect("content store should have story");
let contents = crate::db::read_content(crate::db::ContentKey::Story("9910_story_foo"))
.expect("content store should have story");
assert!(
!contents.contains("depends_on"),
"content store YAML must not contain depends_on after chat command: {contents}"
@@ -230,8 +230,8 @@ mod tests {
"CRDT register should be empty after clearing: {view:?}"
);
// Content store YAML must not be mutated.
let contents =
crate::db::read_content("9911_story_bar").expect("content store should have story");
let contents = crate::db::read_content(crate::db::ContentKey::Story("9911_story_bar"))
.expect("content store should have story");
assert!(
!contents.contains("depends_on"),
"content store YAML must not contain depends_on after clear: {contents}"
@@ -268,7 +268,8 @@ mod tests {
"CRDT must hold [500, 501]: {view:?}"
);
let content = crate::db::read_content("8790_story_chat_dep").unwrap();
let content =
crate::db::read_content(crate::db::ContentKey::Story("8790_story_chat_dep")).unwrap();
assert!(
!content.contains("depends_on"),
"chat must not write depends_on to YAML: {content}"