mirror of
https://github.com/openai/codex.git
synced 2026-11-04 00:24:43 +00:00
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:
1 parent
250de82bfb
commit
b96ebfb312
5 files changed
+5
-5
No files matched your search
@@ -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",
|
||||
|
||||
+1
-1
@@ -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)",
|
||||
|
||||
Reference in new issue
Block a user