Show cloud artifact PRs in prompt chip#11323
Draft
kevinchevalier wants to merge 1 commit into
Draft
Conversation
Co-Authored-By: Oz <oz-agent@warp.dev>
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 GitHub PR artifacts from cloud agent sessions in the terminal prompt PR chip when the artifact can be associated with the cloud session's current working directory.
This adds a client-side enrichment pass for static shared-session prompt snapshots: PR artifacts are matched by repo path segment in the prompt cwd and by the prompt git branch when available. If exactly one artifact PR matches, the existing GitHub PR chip is populated with that PR URL; if multiple PRs match, the chip is cleared to avoid showing an ambiguous PR.
Linked Issue
ready-to-specorready-to-implement.Slack thread: feedback-app message
1779209895.191109Testing
cargo fmt --manifest-path /workspace/warp/Cargo.toml --all --checkcargo check --manifest-path /workspace/warp/Cargo.toml -p warpcargo test --manifest-path /workspace/warp/Cargo.toml -p warp context_chips::cloud_artifact_prcargo clippy --manifest-path /workspace/warp/Cargo.toml -p warp --all-targets --tests -- -D warnings./script/wasm/bundle --channel oss --nouniversal --check-only./script/runNote: I also tried
cargo clippy --manifest-path /workspace/warp/Cargo.toml -p warp --all-targets --all-features --tests -- -D warnings, but that path failed because bundled channel config JSON files were not generated in this sandbox. The repo presubmit-style app clippy command above passed.Screenshots / Videos
Not included; this is covered by unit tests around prompt snapshot enrichment and compile checks.
Agent Mode
CHANGELOG-OZ: Show GitHub PR artifacts from cloud agent sessions in the terminal prompt PR chip when they match the current cwd.
Co-Authored-By: Oz oz-agent@warp.dev
Conversation: https://staging.warp.dev/conversation/b3b14e56-04c1-4c1a-8ae3-1089eada11a4
Run: https://oz.staging.warp.dev/runs/019e412c-852b-7568-b596-6dd7f29115fb
This PR was generated with Oz.