GeezerVison is showing github.com — fix(web): terminal links keep Unicode file paths intact by Maseeek · Pull Request #20264 · pingdotgg/t3code
Conversation
Maseeek
commented
Oct 16, 2026
•
edited by juliusmarminge
Loading
Uh oh!
There was an error while loading. Please reload this page.
Terminal links containing Unicode names could lose their directory prefix and open the wrong path. The existing ordinary and quoted path matchers now accept Unicode letters, combining marks, and numbers. They preserve Windows separators, quoted names with spaces, and line/column suffixes. A segment boundary guard prevents repeated scanning of ordinary Unicode output.
Original fix by @Maseeek in this PR. The takeover integrates current main's quoted and Windows path support, trims redundant assertions, and adds one quoted-name regression.
Validation: all 120 focused terminal-link and Ghostty tests pass on the merged head. Replacing the matcher with main's version reproduces five Unicode failures. Changed-file lint and formatting and the web typecheck pass.
A Node benchmark of 8,192 separator-free Unicode characters fell from about 1.19 seconds before the guard to 0.38 ms after it. This measures matcher scaling, not browser frame timing. Adjacent prose without separators can be part of a Unicode filename; spaces or punctuation disambiguate it.
Independent Opus and Sol reviews passed after the segment-boundary correction.
Live verification used the integrated web terminal and the real server editor-launch path in an isolated fixture. A PATH-local code stub recorded the launcher arguments instead of starting an external editor. Before the fix, clicking the Unicode file link launched the truncated /żółć.ts:12:7; after it, the launcher received the full fixture path. A Unicode directory, quoted mój plik.ts, and an ASCII control also produced the correct paths. This does not claim native Windows or external VS Code verification.
Before:

After:

Recorded editor-launch arguments
Prepared with Claude Opus 5.5, Claude Fable 5.1, and GPT-6.1 Sol via T3 Code, coordinated with Codex.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 29f0bdd
Macroscope's review found this PR approvable — This is a small, self-contained terminal-link bug fix that broadens path matching to preserve Unicode filenames, with focused regression tests and no schema, deployment, security, billing, or static-analysis configuration changes.
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
Oct 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Warning
Review limit reached
Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.
Next included review available in 6 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used all 10 included reviews currently available.
Learn how review limits work.
Review configuration:
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3975ae66-2e90-435c-a590-6086fe2cee2f
📥 Commits
-
Reviewing files that changed from the base of the PR and between 29f0bdd and 83740a5.
📒 Files selected for processing: 2
-
apps/web/src/terminal-links.test.ts
apps/web/src/terminal-links.ts
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
f1c30706-5c03-485e-8d78-efe6cb85233e
📥 Commits
-
Reviewing files that changed from the base of the PR and between cfafb4b and 29f0bdd.
📒 Files selected for processing: 2
-
apps/web/src/terminal-links.test.ts
apps/web/src/terminal-links.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
-
The terminal path matcher now accepts Unicode letters, combining marks, and numbers in path components. Parameterized tests verify extraction offsets and resolution of Unicode paths beneath the project directory.
Changes: Terminal path matching
| Layer / File(s) |
Summary |
Unicode path matching apps/web/src/terminal-links.ts, apps/web/src/terminal-links.test.ts |
FILE_PATH_PATTERN now accepts Unicode letters, combining marks, and numbers in path components. Tests verify complete path extraction, offsets, and resolution beneath /tmp/project. |
Priority: ➖ Normal
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: maansenv
Merge Risk: ⚪ Minimal · up to 29f0b
-
Unicode file paths can now be linked from terminal output, and the inspected extraction and resolution paths show no concrete regression. The change is mergeable.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
| Description check |
 |
The description clearly explains the Unicode path problem, the implementation change, focused verification, benchmark results, live checks, limitations, and visual evidence. It does not include an exp… |
| Title check |
 |
The title is concise, conventional, and accurately describes the primary change: preserving Unicode file paths in web terminal links. |
Full details: Description check
-
Explanation
The description clearly explains the Unicode path problem, the implementation change, focused verification, benchmark results, live checks, limitations, and visual evidence. It does not include an explicit issue or approval link, but it explains the focused bug fix and is otherwise substantially complete.
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Taking over this one. I’ll reduce the tests to the useful coverage, update the implementation against current main, and verify it before publishing the changes.
|
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.
This was referenced Oct 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
Labels
size:XS
0-9 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|