warp icon indicating copy to clipboard operation
warp copied to clipboard

Vertical tabs show in-progress indicator for shell startup commands

Open vkodithala opened this issue 7 months ago • 1 comments

Summary

Vertical tabs can briefly show an In progress agent status indicator for shell startup commands that Warp runs during session bootstrap, even though those commands were not user-initiated work inside the agent conversation.

Problem

Vertical tabs intentionally show an In progress indicator for user-initiated shell commands within agent conversations. The adjacent startup path appears to leak into the same status surface: while a shell is starting up, a default shell startup/bootstrap command can make the agent conversation row look active for a short time.

There is already related protection for pane title/command-name updates during startup: after bootstrapping, the next shell title event is ignored so it does not overwrite the agent conversation title. The status indicator appears to be computed through a separate path and can still reflect startup-command long-running state.

Expected behavior

Agent conversation rows in vertical tabs should not show an In progress indicator for shell startup/bootstrap commands. The indicator should remain reserved for actual agent work or user-initiated shell commands inside the agent conversation.

Actual behavior

The vertical-tab agent status badge can briefly show In progress during shell startup when a startup/bootstrap command runs long enough to be treated as an active long-running command.

Reproduction steps or desired workflow

  1. Open an agent conversation in a tab with vertical tabs enabled.
  2. Trigger a shell startup/bootstrap path for that conversation pane, such as opening/restoring a session where Warp runs default shell startup commands.
  3. Observe the vertical-tabs row while the shell startup command runs.
  4. The row can briefly show the In progress indicator even though no user-initiated agent shell command is running.

Artifacts

None attached.

Warp version

Unknown

Operating system

macOS 26.4.1 (build 25E253)

Possible source references

  • app/src/terminal/view.rs (handle_session_bootstrapped, ModelEvent::Title): the pane title path updates pane configuration after bootstrap and suppresses the next title event from causing another pane-configuration update.
  • app/src/terminal/view/pane_impl.rs (selected_conversation_status, selected_conversation_status_for_display): agent chrome/status can derive InProgress from the terminal being long-running.
  • app/src/workspace/view/vertical_tabs.rs (resolve_icon_with_status_variant): vertical tabs render Oz agent status from the terminal view's selected conversation display status.

vkodithala avatar May 02 '26 04:05 vkodithala

@vkodithala

Here's what I found while triaging this issue:

This appears actionable from the current code path: the vertical-tabs agent status can be derived from terminal long-running state, while startup/bootstrap command suppression is handled separately for titles but not for the status badge.

Maintainer details

I concluded that vertical tab agent rows can incorrectly surface an In progress status while a shell startup/bootstrap command is the active long-running block..

Triage summary

This looks like a Warp UI/state bug where the vertical-tabs agent row can show a busy badge for shell startup/bootstrap work rather than for user-initiated agent work. The report is actionable and the current source supports the suspected path: vertical tabs use the terminal view's selected conversation display status, while that status can be promoted to InProgress whenever the active block is considered long-running.

Reproducibility

Medium. The described workflow is plausible and matches the code path, but the behavior is timing-dependent and the report does not include a recording, exact Warp build/channel, or minimal startup command duration.

Likely root cause

TerminalView::selected_conversation_status in app/src/terminal/view/pane_impl.rs computes long_running from TerminalView::is_long_running() and returns ConversationStatus::InProgress for a selected conversation before consulting the conversation's own status. terminal_view_agent_icon_variant in app/src/ui_components/agent_icon.rs passes that display status to the icon/status rendering used by resolve_icon_with_status_variant in app/src/workspace/view/vertical_tabs.rs. Startup commands can be hidden/marked separately in app/src/terminal/model/block.rs and app/src/terminal/model/blocks.rs, and title updates after bootstrap are already guarded by ignore_next_set_title_event in app/src/terminal/view.rs, but the vertical-tabs status path does not appear to exclude startup/bootstrap blocks before treating long-running state as agent progress.

Duplicate check

Scanned all open non-PR issues in warpdotdev/warp plus recently closed issues. There are related vertical-tabs and agent-status reports, but fewer than two likely duplicates for this exact startup-command In progress badge symptom, so this should not be marked duplicate from the current evidence.

This is my automated analysis and may be incorrect. A maintainer will verify the details.

Powered by Oz

warp-for-oss[bot] avatar May 02 '26 04:05 warp-for-oss[bot]