From b423194ecdaf3d842dc7f59e1d2c73b2274b8eec Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Mon, 23 Mar 2026 13:41:20 +0100 Subject: [PATCH] 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. --- crates/acp_thread/src/acp_thread.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/acp_thread/src/acp_thread.rs b/crates/acp_thread/src/acp_thread.rs index 3e3cbc19ab40ee483d5c9667d7a3cc132befde00..5fb27bcd5289f60bcdfdb6adc9007c86c60fbad7 100644 --- a/crates/acp_thread/src/acp_thread.rs +++ b/crates/acp_thread/src/acp_thread.rs @@ -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;