GeezerVison is showing github.com — fix(server): open colon-number project folders correctly in VS Code by StiensWout · Pull Request #36613 · pingdotgg/t3code
Conversation
Opening a local project folder named build:2026 in VS Code treated it as file build at line 2026. Existing directories now take precedence over file-position parsing, so the complete folder opens in a new window. Actual file:line[:column] targets retain --goto.
Small fast-lane fix: only launcher argument selection changes, with no new state, interface or UI flow. Found by the GPT 6.1 Sol bughunt and independently confirmed by Claude Opus 5.5, then reproduced again on current main before fixing.
Proof
The same existing public launchEditor test uses a real build:2026 directory and intercepts only the process-spawn boundary:
pnpm exec vp test run apps/server/src/process/externalLauncher.test.ts -t 'opens a project folder in a new VS Code window'
On base 2b6145b4c81daec0080eb0e302073a07b237be4f, it fails:
expected ["--new-window", "…/build:2026"]
received ["--goto", "…/build:2026"]
On the fix, it passes. Ordinary-folder and file.ts:3:7 controls remain green. The full externalLauncher.test.ts and pnpm exec vp run check:changed pass. Rebased onto latest main with identical patches confirmed by git range-diff; the full launcher test file passes again after rebase.
Linux service proof only: no actual VS Code window or browser was launched. Colon-number directory names are valid on POSIX, not Windows. This covers local execution from the shared OpenInPicker/favorite-editor route; remote editor URLs bypass the launcher.
Review
Local cubic found only the existing JetBrains line-column analogue, outside this VS Code receiver-verified fix; retained as a separate unverified follow-up. Existing literal colon-number files and failed-stat fallback behavior are also outside this directory fix. Open nit: the source comment could qualify legal colon names as POSIX. No blocker or should findings remain. Fast lane uses builder proof, with no separate audit run.
Council review
| Reviewer |
Round 1 |
| Claude Opus 5.5 |
9/10 |
| GPT 6.1 Sol |
9/10 |
Opus reviewed source only because its isolated checkout lacked dependencies; Sol independently passed the launcher tests.
Created with GPT 6.1 Sol in the Codex harness and Claude Opus 5.5 in the Claude Agent harness, coordinated through T3 Code.
Closes #36612
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
A directory whose name ends in a colon and digits was sent to VS Code as
--goto file:line. The launcher already stats the target, so an existing
directory now opens with --new-window before position parsing applies.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Approvability
Verdict: Approved at 4c7f8b5
Macroscope's review found this PR approvable — Existing folders named like build:2026 now open as folders in a new editor window rather than being interpreted as file positions. The change is limited to launch argument selection and preserves positioned-file behavior.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
For VS Code “goto” launches, directory targets now take precedence over parsed line positions. The test adds a directory named build:2026 and checks that it opens with --new-window.
Changes: VS Code directory launch handling
| Layer / File(s) |
Summary |
Directory target handling apps/server/src/process/externalLauncher.ts, apps/server/src/process/externalLauncher.test.ts |
The launcher checks whether a target is a directory before applying position parsing. The test verifies that build:2026 is passed with --new-window. |
Estimated code review effort: 2 (Simple) | ~5 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested reviewers: juliusmarminge, only21mil
Merge Risk: Minimal · up to 9125a
-
Merge Risk: ⚪ Minimal · up to 9125a
This fixes opening project folders whose names end in a colon and digits, such as build:2026, on Linux and macOS. Positioned-file launches are unchanged, and no merge-blocking risk was found.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title names the main change: VS Code launcher now opens project folders whose names contain a colon and digits (like build:2026) correctly instead of parsing them as file:line. It uses the convent… |
| Description check |
 |
The description follows the template's sections: Problem, Change, Scope, and Verification. It states the bug (a local folder named build:2026 was treated as file build at line 2026) and the fix (exist… |
| Linked Issues check |
 |
Issue #36612 requires that an existing local project directory whose name ends in a colon and digits (for example build:2026) open with --new-window and keep its full name, and that the existing `… |
| Out of Scope Changes check |
 |
The PR changes two files. The source change is limited to the goto branch of resolveCommandEditorArgs, and the test change adds the colon-named directory case to the existing VS Code launch test. … |
Full details: Title check
-
Explanation
The title names the main change: VS Code launcher now opens project folders whose names contain a colon and digits (like build:2026) correctly instead of parsing them as file:line. It uses the conventional commit form and fits the changeset, which adds a directory check before the :line parse in externalLauncher.ts and a matching test.
Full details: Description check
-
Explanation
The description follows the template's sections: Problem, Change, Scope, and Verification. It states the bug (a local folder named build:2026 was treated as file build at line 2026) and the fix (existing directories take precedence over position parsing). It links the issue (#36612) and gives concrete test commands, before/after results, and the limits of the proof (Linux service test, no real VS Code window, POSIX only). The section headings are not labeled as in the template, and the Scope section is written as a paragraph rather than a justification for the fix, but the required information is present. The Verification section also reports a council review table, which the template does not request, but this does not reduce completeness.
Full details: Linked Issues check
-
Explanation
Issue #36612 requires that an existing local project directory whose name ends in a colon and digits (for example build:2026) open with --new-window and keep its full name, and that the existing opens a project folder in a new VS Code window test cover it. In apps/server/src/process/externalLauncher.ts, the goto case now checks isDirectory before Option.isSome(parsedTarget). Directories return ["--new-window", target]. Non-directories with a parsed position still return ["--goto", target], and other targets return [target]. In externalLauncher.test.ts, the test creates a real build:2026 directory under the project, launches it through launchEditor({ editor: "vscode", cwd }), and expects ["--new-window", colonProject]. The existing ordinary-folder and file.ts:3:7 expectations remain. The test is skipped on Windows hosts, which matches the issue's exclusion of Windows directory names. The author reports that the targeted test fails on the base commit and passes with the fix. I did not run tests; this verdict rests on the source diff and the test diff.
Full details: Out of Scope Changes check
-
Explanation
The PR changes two files. The source change is limited to the goto branch of resolveCommandEditorArgs, and the test change adds the colon-named directory case to the existing VS Code launch test. Both changes implement #36612. The line-column (JetBrains) branch is not modified, and the PR description records that analogue as a separate follow-up. No unrelated change is present in the reviewed diff.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between a61291e and 4c7f8b5.
Files selected for processing: 2
-
apps/server/src/process/externalLauncher.test.ts
apps/server/src/process/externalLauncher.ts
Limit details: You’ve used all 10 included reviews currently available.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Evidence
On Linux x64, run each commit with a fresh T3 database, add the same synthetic build:2026 project containing README.md, open its thread over a local connection, and click Open in VS Code. Real VS Code 1.146.0, dark theme, 1920×1080 external display on both sides. Recordings show the external editor; the button click occurs in the separate T3 browser panel.
Base launches --goto and opens build without a folder. Head launches --new-window and opens the complete build:2026 folder. Both final stills were stable across identical captures 500 ms apart.
Reproduction transcript · Seed script for fresh state · Capture driver · VS Code forwarding wrapper
Verified by GPT-6.1 Sol through the Codex harness.
Not shown:
- Favorite-editor keyboard shortcut was not exercised; the real Open in VS Code button was used on both commits.
- File:line[:column] navigation was not exercised; this proof covers existing colon-number project directories.
- macOS was not exercised; both runs used Linux.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XS
0-9 changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
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.
|