Conversation
Contributor
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR adds broad cross-provider PR workflows, including host-side source-branch deletion, timeline ingestion, richer conversations, agent handoffs, and persistent filtering. The destructive mutation and the amount of new server, contract, and UI behavior require human review. You can add or adjust custom eligibility rules. Learn more. |
Bil0000
marked this pull request as draft
September 8, 2026 04:46
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.
What Changed
The PR page lacks parts of the conversation and host history, and preparing an agent task often requires leaving the page. This change keeps those steps in the existing PR page and shared right panel.
Why
The implementation uses the existing UI controls, conversation card, composer handoff, and source-control adapters. Optional activity and permission fields keep older clients compatible. The new deletion action is not advertised through legacy action arrays, and missing deletion permissions or source identity keep the action unavailable.
Verification
UI Changes
The integrated browser pass used public PR data in an isolated local environment. Before/after screenshots and a 25-second note/checkout demo were recorded. GitHub's official attachment preview refused uploads because the contributing account does not have write access to this repository; the media is retained locally.
Scope and limits
GitHub, GitLab, Azure DevOps, and Bitbucket have focused adapter tests. The integrated browser pass uses GitHub; live writes against the other hosts were not performed. Events and actions follow the data and capabilities each host exposes. Related-PR links do not guess whether a bare issue number is a PR. Review-decision blockers appear only when the host reports them. GitHub timeline reads stop after 1,000 host records and show a link to the full host history when capped.
GitHub and Azure branch deletion use an expected commit ID to reject a branch that moves before deletion. GitLab and Bitbucket expose no conditional-delete option in their branch APIs, so a branch can move between validation and deletion. PR state and default-branch checks are separate host reads on all four providers.
Web and desktop share this PR interface. Mobile has no corresponding PR page in this branch; the shared wire changes remain optional.
Checklist
Built with GPT-6 Astra and GPT-5.6 Sol in the Codex harness.
Note
Add source-branch deletion, native timeline events, and review/agent workflow improvements to pull requests
delete-source-branchas a new pull-request action across GitHub, GitLab, Bitbucket, and Azure DevOps, with per-provider source repository permission checks, safety guards against deleting protected/default branches, and a structuredPullRequestBranchDeletionErrorerror typetimelineTruncatedflag for all four providers; system notes and activity events are now surfaced asPullRequestTimelineEventrecords instead of being dropped or misclassified as commentsPullRequestCommentActionsPullRequestDetailPanelwith selectable server, project, destination, and thread; wraps tab content inPullRequestCommentAgentContextso comment actions can invoke the handoff flowdecodeThreadsJson(Azure) anddecodeNotesJson(GitLab) changed their return shape from a comment array to an object{ comments, timelineEvents }; all in-tree callers are updated, but out-of-tree consumers of these decoders will break.PullRequestTimelineEvent.kindchanged from a fixed union tostringto accommodate native host event kinds.Macroscope summarized dcfa00b.