GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(web): terminal TypeScript links preserve error locations by saphitv · Pull Request #36174 · pingdotgg/t3code Conversation
|
| Before | After |
|---|---|
![]() |
![]() |
Rounds: 3
| Delegate | Round 1 | Round 2 | Round 3 |
|---|---|---|---|
| Claude Opus 5.5 | 9/10 | 7/10 | 9/10 |
| GPT-6.1 Sol | 10/10 | 10/10 | 10/10 |
| GPT-6.1 Terra | 8/10 | 10/10 | 10/10 |
Round 1 identified literal parenthesized paths being reinterpreted. Conversion now requires TypeScript diagnostic context, preserving those paths.
Round 2 identified the relative matcher consuming parenthesized suffixes without a TypeScript marker. Suffix matching now requires the same marker, preserving the prior filename-only fallback for other output. One row added to the existing fallback-path table fails before this correction and passes after it.
Round 3: all three reviewers found no actionable issues and consider the patch ready. Opus and Sol independently reran all 72 terminal-link tests successfully. Captured client requests confirm both the TypeScript location and the existing non-TypeScript filename-only fallback.
Created with GPT-6.1 Sol in the Codex harness.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
| Check name | Status | Explanation |
|---|---|---|
| Title check | The title follows the conventional commit format and names the main change: TypeScript diagnostic locations in terminal links now keep their line and column. The changeset adds TypeScript compiler-loc… | |
| Linked Issues check | Issue #36183 requires that hovering or Ctrl-clicking a TypeScript non-pretty diagnostic such as src/main.ts(42,7) opens the file at line 42, column 7, with the link range including (42,7) and excl… |
|
| Out of Scope Changes check | The reviewed whole-PR changes (base 2d8a843 to head 59f46af) touch the terminal link parser and its tests. The parser diff changes only the FILE_PATH_PATTERN parenthesized-suffix alternation, it… | |
| Description check | The description follows the repository template and covers the Problem, Change, Scope, and Verification sections. It explains that TypeScript non-pretty diagnostics such as src/main.ts(42,7) lose thei… |
Explanation
The title follows the conventional commit format and names the main change: TypeScript diagnostic locations in terminal links now keep their line and column. The changeset adds TypeScript compiler-location recognition in terminal-links.ts and matching tests, which fits the title.
Explanation
Issue #36183 requires that hovering or Ctrl-clicking a TypeScript non-pretty diagnostic such as src/main.ts(42,7) opens the file at line 42, column 7, with the link range including (42,7) and excluding the trailing colon. The diff to apps/web/src/terminal-links.ts at head 59f46af covers this in three ways. (1) The FILE_PATH_PATTERN suffix alternation now accepts \(\d+,\d+\) only when followed by :\s+(?:error|warning) TS\d+:, so the relative case is matched with its location. (2) collectMatches rewrites a trailing (line,column) to :line:column only when the same TypeScript diagnostic lookahead follows the match, so the extracted target is normalized. (3) Absolute POSIX and Windows forms reach the same branch through the existing path alternatives, and the trailing : is removed by the existing trailing-punctuation trim. Literal parenthesized directory paths without a TypeScript diagnostic context keep their text. The PR also reports 72 passing terminal-link tests, including relative, absolute, Windows, and route-group TypeScript cases. I did not run or inspect the test file, so the test results rest on the PR description and summary. The source evidence is consistent with the issue requirements.
Explanation
The reviewed whole-PR changes (base 2d8a843 to head 59f46af) touch the terminal link parser and its tests. The parser diff changes only the FILE_PATH_PATTERN parenthesized-suffix alternation, its explanatory comment, and the collectMatches text normalization. The shared quoted-path pattern and other file-link logic are unchanged, as the PR description states. The changes implement issue #36183 directly. The regex change from the original (?::\d+){0,2} to (?::\d+){1,2} sits inside an optional group, so colon-form matching behaves as before. The summary lists no unrelated files.
Explanation
The description follows the repository template and covers the Problem, Change, Scope, and Verification sections. It explains that TypeScript non-pretty diagnostics such as src/main.ts(42,7) lose their location in terminal links, and it describes the fix as recognizing the diagnostic marker and normalizing it to :42:7 while preserving literal parenthesized paths. It links issue #36183 for scope. Verification lists 72 passing terminal-link tests, the check:changed run, four focused TypeScript cases, three fallback-path cases, and real-client Ctrl-click checks with before/after screenshots. The author also states the council review rounds and the model used, which the template requests for agent-driven work. The title is not shown in the description, so conventional-commit formatting cannot be verified from the provided context. The description is largely complete and specific, so it passes.
064759ee-d91a-4f79-b7d9-3f551d44945aapps/web/src/terminal-links.test.tsapps/web/src/terminal-links.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Merges `pingdotgg/t3code` `37714a8de5` (231 commits from `bedc8658c3`) into the fork. Tracker entry: `docs/fork/upstream-merge-log.md` § 2026-11-14. ## Merge - Landed 854 files against 853 in the upstream range (the extra is `docs/fork/inventory.json`). Fork delta 772 files. - 5 conflicts, each resolved by its preflight verdict: `AGENTS.md` (decide: fork shape plus upstream's provider list), `agentContextBudget.json` (upstream + the fork's 108 bytes = 49914), `ThreadTerminalDrawer.tsx` (upstream's `resolveTerminalLinkTarget` kept behind the `FEATURES.openInEditor` return), `vite.config.ts` (upstream's `configuredAppVersion` inside the fork's `defineConfig`), `FilePreviewPanel.browser.test.tsx` (upstream's variable plus the fork's `onRetargetFile`). - Lockfile re-derived from upstream's copy. - `duplicate-adds`, `resolution-check`, `inventory-check` and `tripwires` are clean. `apps/mobile/src/state/use-terminal-session.ts` joined the `terminal-metadata-state` entry. - Union: ADD `pullRequests.subscribeLinkedThreadRefreshes` applied; no DROP. - Upstream's new provider-row edge-click test (pingdotgg#32537) needed `FEATURES.providerConfiguration` turned on, because it clicks an unconfigured row the fork hides. ## Verification Format, lint, types, build, lockfile and every merge check pass. Tests: the provider-opencode and t3 failures are the sandbox gaps already in `docs/fork/gaps.md` (`/tmp` sticky bit, git `insteadOf`, OpenCode process groups, Node 24), plus the server-browser and Antigravity installation tests. The only one of those files in the fork delta is `GitVcsDriverCore.test.ts`, and it fails on `insteadOf`. Web was run against a fetched Chromium 1248, because the image ships 1254: 620 of 624 files passed, three passed when run alone, and the fourth is fixed here. ## Upstream features ### Usable as-is - Client fixes across chat, composer, terminal links, file preview, settings and accessibility (e.g. pingdotgg#36497, pingdotgg#34964, pingdotgg#36466, pingdotgg#36435, pingdotgg#36174, pingdotgg#36380, pingdotgg#36363, pingdotgg#36437). - Theme CSS editor in Settings → Appearance (pingdotgg#35247), on the client side. It shows only where the server reports `environmentThemes`. ### Unsupported in Moatless / needs implementation - `pullRequests.subscribeLinkedThreadRefreshes` and the `linkedThreadRefreshes` capability (pingdotgg#35865). Without them the client polls `pullRequests.linkedThreads` every 10s. Now refused through `UnsupportedMethodError`. Recorded in gaps under methods not dispatched and capabilities. - T3 Connect device approval (pingdotgg#36419). This is a decided-out surface. - Agent theme MCP tools (pingdotgg#35247), which write `css` into environment themes. ### Backend behavior to consider reproducing in Moatless - `ServerConfig.serverTime` so live timers count against the host clock (pingdotgg#36420). - A thread list that builds metadata only for its page (pingdotgg#36434), and a thread visit that stores only read state (pingdotgg#36233). - An auto-settle sweep that stops rereading idle branches (pingdotgg#36371). - `frame-ancestors`: other sites can no longer frame the web app (pingdotgg#36395). - A send to an unrecoverable worktree fails instead of reporting started (pingdotgg#36251), and turns recreate a lost worktree checkout (pingdotgg#34894). - Scheduled deliveries follow the thread's current model (pingdotgg#34149). - Delegated children wait for awaited background work and subagents (pingdotgg#36411, pingdotgg#34958). - Fetched upstream commits are no longer shown as agent changes (pingdotgg#36332), and turn diffs follow branch switches (pingdotgg#36343). All are listed under "Runtime fixes upstream made to its own server" in `docs/fork/gaps.md`. ## After merging - `moat gh workflow disable issue-vouch.yml -R soaplabs/t3code` (new upstream workflow that arrives enabled). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- Moatless task: https://moatless.soaplabstest.com/tasks/c89558cd-26c7-4a4c-a68f-04675720d7b7
Upstream landed pingdotgg#36174 twice, so the notes data held two changes with the ref pingdotgg#36174. No plan could name both, and the daily release of 2026-11-14 stopped at the notes check. The upstream group now keeps one change per pull request number.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: TypeScript compiler locations lose line and column in terminal links
There was an error while loading. Please reload this page.