Support gh pr checkout pull request references#1457
Merged
juliusmarminge merged 1 commit intomainfrom Mar 27, 2026
Merged
Conversation
- Accept `gh pr checkout` input in PR parsing and dialog copy - Keep checkout/create branch picker entries visible for matching queries - Auto-run project setup scripts after preparing a PR worktree thread
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
aaditagrawal
pushed a commit
to aaditagrawal/t3code
that referenced
this pull request
Mar 27, 2026
frittlechasm
added a commit
to frittlechasm/t3code
that referenced
this pull request
Mar 28, 2026
Reverts all 10 commits pulled from upstream (add5f34 through 1ae20fa) including our local classifySqliteError fix. Upstream introduced a classifySqliteError import that does not exist in effect@4.0.0-beta.42. Reverting until upstream resolves the version mismatch. Reverted commits: - 1ae20fa fix(persistence): revert classifySqliteError to SqlError({ cause, message }) - 23b3f0c Refactor Codex adapter lifecycle helpers (pingdotgg#1478) - e08cea3 Improve drain semantics via STM in DrainableWorker (pingdotgg#1474) - 83eb396 fix(threads): Keep active-turn runtime errors from ending sessions (pingdotgg#1261) - 59a383e Add Effect.fn refactor checklist (pingdotgg#1476) - fb72607 fix(claude): avoid resetting the Claude model on every turn (pingdotgg#1466) - d8a485e Support gh pr checkout pull request references (pingdotgg#1457) - 02989fe fix(web): improve chat header badge and title flex distribution (pingdotgg#1309) - 648f067 Add VS Code Insiders and VSCodium to Open In editor picker (pingdotgg#1392) - add5f34 Add Claude context window selection support (pingdotgg#1422)
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.
Summary
gh pr checkout <ref>input in pull request parsing, including raw numbers,#numbers, and GitHub PR URLs.gh pr checkoutqueries so PR checkout remains selectable in the branch toolbar.Testing
bun run testfor the updated web tests.bun fmtbun lintbun typecheckNote
Medium Risk
Medium risk: extends pull-request reference parsing and changes post-PR worktree preparation behavior to auto-run setup scripts, which could affect draft thread navigation and terminal/script execution flow.
Overview
Adds support for treating
gh pr checkout <ref>(number,#number, or PR URL) as a valid pull request reference, and updates the PR dialog copy to advertise the new format.Adjusts the branch toolbar search filtering so the synthetic “Checkout Pull Request” (and create-branch) picker items stay visible even when the query text wouldn’t match the item value.
After preparing a pull-request worktree thread,
ChatViewnow schedules and runs the project’s setup script (whenrunOnWorktreeCreateis enabled) in the new worktree, with new/updated tests covering PR parsing, picker filtering, and the setup-script execution flow.Written by Cursor Bugbot for commit 9d2d206. This will update automatically on new commits. Configure here.
Note
Support
gh pr checkoutcommands as pull request referencesparsePullRequestReferencenow acceptsgh pr checkout 42,gh pr checkout #42, andgh pr checkout <PR URL>, extracting and normalizing the trailing argument.BranchToolbarBranchSelectorretains the 'Checkout Pull Request' synthetic item when the query matches agh pr checkoutcommand, using the newshouldIncludeBranchPickerItemhelper.PullRequestThreadDialogupdates its placeholder and validation text to mentiongh pr checkoutas an accepted input format.Macroscope summarized 9d2d206.