Skip to content

Use fresh metadata and updated iconography for cloud agent view entry block.#11088

Open
zachbai wants to merge 1 commit into
masterfrom
zb/cloud-agent-view-entry
Open

Use fresh metadata and updated iconography for cloud agent view entry block.#11088
zachbai wants to merge 1 commit into
masterfrom
zb/cloud-agent-view-entry

Conversation

@zachbai
Copy link
Copy Markdown
Contributor

@zachbai zachbai commented May 16, 2026

Description

Demo

@cla-bot cla-bot Bot added the cla-signed label May 16, 2026
Copy link
Copy Markdown
Contributor Author

zachbai commented May 16, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@zachbai zachbai requested a review from liliwilson May 16, 2026 06:38
@zachbai zachbai marked this pull request as ready for review May 16, 2026 06:38
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 16, 2026

@zachbai

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates the cloud agent entry block to derive better titles from conversation/task/spawn metadata and to render agent icons with ambient status fallbacks. The user-facing change includes a Loom demo link, so the visual-evidence requirement is satisfied.

Concerns

  • The cancelled-run metadata fetch can be skipped when cancellation occurs before the task ID arrives, leaving the entry block stuck on fallback metadata for that supported cancellation path.
  • No security findings.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

fn maybe_fetch_task_data(&mut self, ctx: &mut ViewContext<Self>) {
let Some(task_id) = self
.ambient_agent_view_model(ctx)
.and_then(AmbientAgentViewModel::task_id)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] If the user cancels before TaskSpawned, the first Cancelled event takes this None path, and when TaskSpawned later fills task_id that handler returns without emitting another event, so the entry block never fetches the fresh cancelled-task metadata. Trigger this fetch again once the task id is assigned, or emit an event from that cancelled TaskSpawned path.

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