Show "Continue locally" button for in-progress cloud Oz runs#12626
Open
vkodithala wants to merge 1 commit into
Open
Show "Continue locally" button for in-progress cloud Oz runs#12626vkodithala wants to merge 1 commit into
vkodithala wants to merge 1 commit into
Conversation
The button was previously hidden whenever the task display status was "working" (Queued/Pending/Claimed/InProgress/ConversationInProgress). This was inconsistent with /continue-locally, which has no status gate and calls the same fork path. Since ContinueConversationLocally is just fork_ai_conversation, the only real requirement is a resolvable local conversation ID. Remove the is_working() guard so the button shows for any Oz task (in-progress or finished) as long as the client has a tracked local conversation. Co-Authored-By: Oz <oz-agent@warp.dev>
Contributor
|
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 Powered by Oz |
Contributor
There was a problem hiding this comment.
Overview
This PR removes the task display-status gate from the conversation details panel so the "Continue locally" CTA can appear for in-progress cloud Oz runs when a local conversation mapping exists, while retaining the AI-enabled and non-Oz harness guards.
Concerns
- No blocking correctness, security, or spec-alignment concerns found in the changed lines.
- No approved or repository spec context was provided for this PR, so there was no implementation/spec drift to flag.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Show the "Continue locally" button in the side panel for in-progress cloud Oz runs, not just completed ones.
Previously the button was hidden whenever
display_status.is_working()returned true (Queued/Pending/Claimed/InProgress/ConversationInProgress). This was inconsistent with/continue-locally, which has no status gate and calls the same underlyingfork_ai_conversationpath.The only real prerequisite for the fork to work is a resolvable local
AIConversationId(looked up viaBlocklistAIHistoryModel::find_conversation_id_by_server_token). Theis_working()check was an independent, redundant gate on top of that. Removing it makes the button available for any Oz task — in-progress or finished — as long as the client has a locally-tracked conversation.Non-Oz harness guard (Claude Code, Gemini, Codex, etc.) is kept since those can't be forked locally.
Linked Issue
ready-to-specorready-to-implement.Testing
./script/runScreenshots / Videos
Quick demo/explainer here! https://www.loom.com/share/6567567370704ad188d0e331360a0c51
Agent Mode
Conversation: https://staging.warp.dev/conversation/584a799d-44a4-4b06-abe7-05903da3894c
Run: https://oz.staging.warp.dev/runs/019ec6e1-589b-7c18-931a-5d2769359c44
This PR was generated with Oz.