Show blocked goals as stalled in the TUI (#35886)

## What changed

- Display `Blocked` goal statuses as “stalled” in the goal menu and goal status footer.
- Update the goal menu snapshot and footer formatting test expectations.

GitOrigin-RevId: f3d8212d939f0d76354048231346328972226274
This commit is contained in:
Eric Traut authored and copyberry committed 2026-07-29 03:50:00 +00:00
1 parent 250de82bfb
commit b96ebfb312
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ fn goal_status_label(status: AppThreadGoalStatus) -> &'static str {
match status {
AppThreadGoalStatus::Active => "active",
AppThreadGoalStatus::Paused => "paused",
AppThreadGoalStatus::Blocked => "blocked",
AppThreadGoalStatus::Blocked => "stalled",
AppThreadGoalStatus::UsageLimited => "usage limited",
AppThreadGoalStatus::BudgetLimited => "limited by budget",
AppThreadGoalStatus::Complete => "complete",
@@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/goal_menu.rs
expression: rendered_goal_summary(&mut rx)
---
Goal
Status: blocked
Status: stalled
Objective: Keep improving the bare goal command until it feels calm and useful.
Time used: 1m
Tokens used: 12.5K
@@ -3573,7 +3573,7 @@ fn goal_status_indicator_line_formats_goal_text() {
"Goal unmet (4K / 5K tokens)",
),
(GoalStatusIndicator::Paused, "Goal paused (/goal resume)"),
(GoalStatusIndicator::Blocked, "Goal blocked (/goal resume)"),
(GoalStatusIndicator::Blocked, "Goal stalled (/goal resume)"),
(
GoalStatusIndicator::UsageLimited,
"Goal hit usage limits (/goal resume)",