Skip to content

Fix ambient agent loading screen persisting after session starts#10994

Draft
warp-dev-github-integration[bot] wants to merge 2 commits into
masterfrom
suraj/fix-ambient-agent-loading-screen
Draft

Fix ambient agent loading screen persisting after session starts#10994
warp-dev-github-integration[bot] wants to merge 2 commits into
masterfrom
suraj/fix-ambient-agent-loading-screen

Conversation

@warp-dev-github-integration
Copy link
Copy Markdown

Description

Fix a bug where the ambient agent loading screen persists after the agent session has started.

The SessionReady/FollowupSessionReady event handler was missing a ctx.notify() call. Without it, the TerminalView never re-renders after the model status transitions from WaitingForSession to AgentRunning. This means the loading overlay (or status bar progress indicator) from the previous render cycle stays on screen even though agent_progress() now returns None.

Every other event handler in this component that needs a visual update calls both ctx.emit(TerminalViewEvent::TerminalViewStateChanged) (to notify the parent) and ctx.notify() (to trigger this view's re-render). The SessionReady handler was the only one missing the latter.

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • I have manually tested my changes locally with ./script/run

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Conversation: https://staging.warp.dev/conversation/7d5a0d35-7c13-4c5b-aea3-48e07ce79f56
Run: https://oz.staging.warp.dev/runs/019e2a9f-76b5-7c36-9fbe-f2975bc782b5
This PR was generated with Oz.

szgupta and others added 2 commits May 15, 2026 03:50
Add ctx.notify() back to the SessionReady/FollowupSessionReady handler.
Without this call, the view never re-renders after the model status changes
to AgentRunning, so the loading overlay from the previous render cycle
stays visible even though agent_progress() now returns None.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants