huskies: merge 997

This commit is contained in:
dave
2026-05-14 11:01:06 +00:00
parent 0572af2193
commit c7a7cb4281
40 changed files with 256 additions and 253 deletions
-2
View File
@@ -304,7 +304,6 @@ mod tests {
None,
None,
None,
None,
);
let tmp = tempfile::tempdir().unwrap();
let ctx = test_ctx(tmp.path());
@@ -328,7 +327,6 @@ mod tests {
None,
None,
None,
None,
);
let tmp = tempfile::tempdir().unwrap();
let ctx = test_ctx(tmp.path());
+5 -4
View File
@@ -132,8 +132,8 @@ pub fn load_pipeline_state(ctx: &AppContext) -> Result<PipelineState, String> {
agent,
review_hold,
qa,
retry_count: if item.retry_count > 0 {
Some(item.retry_count)
retry_count: if item.retry_count() > 0 {
Some(item.retry_count())
} else {
None
},
@@ -258,6 +258,7 @@ pub fn load_upcoming_stories(_ctx: &AppContext) -> Result<Vec<UpcomingStory>, St
.map(|item| {
let sid = &item.story_id.0;
let epic_id = crate::crdt_state::read_item(sid).and_then(|v| v.epic());
let item_retry_count = item.retry_count();
UpcomingStory {
story_id: item.story_id.0.clone(),
name: item.name,
@@ -266,8 +267,8 @@ pub fn load_upcoming_stories(_ctx: &AppContext) -> Result<Vec<UpcomingStory>, St
agent: None,
review_hold: None,
qa: None,
retry_count: if item.retry_count > 0 {
Some(item.retry_count)
retry_count: if item_retry_count > 0 {
Some(item_retry_count)
} else {
None
},