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:
Ben Brandt authored and GitHub committed 2026-03-23 12:41:20 +00:00
1 parent 7c6a1f7617
commit e49b8ba45f
1 file changed
+1
+1
View File
@@ -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;