huskies: merge 1009

This commit is contained in:
dave
2026-05-13 22:50:13 +00:00
parent a5cd3a2152
commit 4e007bb770
56 changed files with 453 additions and 384 deletions
-2
View File
@@ -466,8 +466,6 @@ mod tests {
Some(3),
None,
None,
None,
None,
);
write_content(
ContentKey::Story(story_id),
+1 -13
View File
@@ -93,8 +93,6 @@ pub fn write_item_with_content(story_id: &str, stage: &str, content: &str, meta:
meta.agent.as_deref(),
meta.retry_count,
depends_on_json.as_deref(),
None,
None,
merged_at_ts,
);
@@ -148,17 +146,7 @@ pub fn move_item_stage(
};
let merged_at_ts = matches!(typed_stage, crate::pipeline_state::Stage::Done { .. })
.then(|| chrono::Utc::now().timestamp() as f64);
crate::crdt_state::write_item(
story_id,
&typed_stage,
None,
None,
None,
None,
None,
None,
merged_at_ts,
);
crate::crdt_state::write_item(story_id, &typed_stage, None, None, None, None, merged_at_ts);
// Bug 780: stage transitions reset retry_count to 0. retry_count tracks
// attempts at THIS stage's work (coding, merging, qa); a fresh attempt at
// a new stage is conceptually distinct from prior attempts at a different
-2
View File
@@ -350,8 +350,6 @@ mod tests {
None,
None,
None,
None,
None,
);
assert!(
crdt_state::read_item(old_id).is_none(),