acp_thread: Mark in progress plan items as pending (#52196)
## Context We were seeing some off by one errors because we weren't counting in progress as either pending or completed. Release Notes: - acp: Fix plan stats showing all tasks as done when items were still in progress.
This commit is contained in:
1 parent
7c6a1f7617
commit
e49b8ba45f
1 file changed
+1
@@ -924,6 +924,7 @@ impl Plan {
|
||||
}
|
||||
acp::PlanEntryStatus::InProgress => {
|
||||
stats.in_progress_entry = stats.in_progress_entry.or(Some(entry));
|
||||
stats.pending += 1;
|
||||
}
|
||||
acp::PlanEntryStatus::Completed => {
|
||||
stats.completed += 1;
|
||||
|
||||
Reference in new issue
Block a user