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 — Let the desktop app be a client of an existing T3 Code server by colonelpanic8 · Pull Request #9376 · pingdotgg/t3code Conversation
|
|
Macroscope skipped reviewing this pull request. Per-review cost limit exceeded (workspace setting). This review would cost an estimated $58.10, which exceeds your per-review limit of $10.00. The top 3 files driving up this estimate:
Tip To get this pull request reviewed, you can:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR introduces a broad desktop client-mode and existing-server pairing capability with substantial cross-cutting startup, lifecycle, authentication, protocol, and settings changes. Unresolved concerns include valid local pairing URLs being rejected and relaunches potentially being queued after shutdown failure, so the changes require human review. Not approved because:
Review your spending limits in Billing settings, or comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8244310. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| reason: "request_failed", | ||
| detail: "The local T3 Code pairing command returned an invalid pairing link.", | ||
| }); | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
High Severity
Local pairing treats a t3 pair --json link as invalid unless its origin equals the discovered backend origin. t3 pair builds that link from devUrl or resolveHeadlessConnectionString, which is localhost or a LAN address when the server did not bind an explicit host, while persisted origin is 127.0.0.1. Pairing with the default local server therefore fails after the CLI succeeds.
Reviewed by Cursor Bugbot for commit 8244310. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| }), | ||
| Effect.forkDetach, | ||
| Effect.asVoid, | ||
| Effect.tapError((error) => logLifecycleError(error.message, { error })), |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Medium Severity
Packaged relaunch now calls electronApp.relaunch() before shutdown. setBackendMode rolls settings back if that later shutdown fails, but Electron has already queued a restart and there is no way to cancel it. The next quit then relaunches unexpectedly with the restored mode, after quitting has already been set.
Reviewed by Cursor Bugbot for commit 8244310. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Assembly tag t3code-assembled/20260903T080821Z: base moved to upstream #2829's head, every carried topic rebased onto it, and the client suite carried as the head branch of pingdotgg/t3code#9376.
5b21d4f to
8244310
Compare
b82facd to
2ac9bfe
Compare
0e9820e to
979ed09
Compare
8187b17 to
ada72ce
Compare
979ed09 to
73de746
Compare
163e8e6 to
c2dbc35
Compare
fe4f6ad to
87c67bd
Compare
## What Changed - New fork helper `connectionsSessionScopesFork` in `connectionsSessionScopes.fork.ts` - Owned backend: administrative scopes, as before - Client-only: the attached session's own scopes - One marked in-place hook in `ConnectionsSettings.tsx` ## Why Connections granted administrative scopes to any desktop bridge. A client-only launch attaches a server it does not manage, yet still showed: - Version and update - Network access - Tailscale HTTPS Upstream-triage: fork fix. Client-only mode exists only in the fork; upstream `pingdotgg#9376` and `pingdotgg#9786` do not cover it. ## Close conditions - [x] **Scopes:** read from the session - [x] **Hidden:** exposure, Tailscale, update rows - [x] **Managed:** rows unchanged with an owned backend - [x] **Test:** client-only scopes pinned ## Evidence Built desktop app on an isolated home. | Mode | Connections | | --- | --- | | Client-only, before |  | | Client-only, after |  | | Managed, after |  | ## Follow-up The Local environment switch still shows in client-only mode. It is outside this issue's close conditions. ## Verification - `vp test run connectionsSessionScopes.fork.test.ts` → exit 0, 4 passed - `vp run typecheck` (web) → exit 0 - `vp lint` (3 files) → exit 0, pre-existing warnings only - `vp run build:desktop` → exit 0 - `vp run fork:ci` → exit 0 ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for any UI changes - [x] I included a video for animation/interaction changes (n/a) Closes #1390 Claude Opus 5.5 via Claude Code in T3 Code. ## Fork trailers Fork-Domain: backend-attach Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <[email protected]>
## What Changed - New fork helper `connectionsSessionScopesFork` in `connectionsSessionScopes.fork.ts` - Owned backend: administrative scopes, as before - Client-only: the attached session's own scopes - One marked in-place hook in `ConnectionsSettings.tsx` ## Why Connections granted administrative scopes to any desktop bridge. A client-only launch attaches a server it does not manage, yet still showed: - Version and update - Network access - Tailscale HTTPS Upstream-triage: fork fix. Client-only mode exists only in the fork; upstream `pingdotgg#9376` and `pingdotgg#9786` do not cover it. ## Close conditions - [x] **Scopes:** read from the session - [x] **Hidden:** exposure, Tailscale, update rows - [x] **Managed:** rows unchanged with an owned backend - [x] **Test:** client-only scopes pinned ## Evidence Built desktop app on an isolated home. | Mode | Connections | | --- | --- | | Client-only, before |  | | Client-only, after |  | | Managed, after |  | ## Follow-up The Local environment switch still shows in client-only mode. It is outside this issue's close conditions. ## Verification - `vp test run connectionsSessionScopes.fork.test.ts` → exit 0, 4 passed - `vp run typecheck` (web) → exit 0 - `vp lint` (3 files) → exit 0, pre-existing warnings only - `vp run build:desktop` → exit 0 - `vp run fork:ci` → exit 0 ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for any UI changes - [x] I included a video for animation/interaction changes (n/a) Closes #1390 Claude Opus 5.5 via Claude Code in T3 Code. ## Fork trailers Fork-Domain: backend-attach Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <[email protected]>
## What Changed - New fork helper `connectionsSessionScopesFork` in `connectionsSessionScopes.fork.ts` - Owned backend: administrative scopes, as before - Client-only: the attached session's own scopes - One marked in-place hook in `ConnectionsSettings.tsx` ## Why Connections granted administrative scopes to any desktop bridge. A client-only launch attaches a server it does not manage, yet still showed: - Version and update - Network access - Tailscale HTTPS Upstream-triage: fork fix. Client-only mode exists only in the fork; upstream `pingdotgg#9376` and `pingdotgg#9786` do not cover it. ## Close conditions - [x] **Scopes:** read from the session - [x] **Hidden:** exposure, Tailscale, update rows - [x] **Managed:** rows unchanged with an owned backend - [x] **Test:** client-only scopes pinned ## Evidence Built desktop app on an isolated home. | Mode | Connections | | --- | --- | | Client-only, before |  | | Client-only, after |  | | Managed, after |  | ## Follow-up The Local environment switch still shows in client-only mode. It is outside this issue's close conditions. ## Verification - `vp test run connectionsSessionScopes.fork.test.ts` → exit 0, 4 passed - `vp run typecheck` (web) → exit 0 - `vp lint` (3 files) → exit 0, pre-existing warnings only - `vp run build:desktop` → exit 0 - `vp run fork:ci` → exit 0 ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for any UI changes - [x] I included a video for animation/interaction changes (n/a) Closes #1390 Claude Opus 5.5 via Claude Code in T3 Code. ## Fork trailers Fork-Domain: backend-attach Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <[email protected]>
## What Changed - New fork helper `connectionsSessionScopesFork` in `connectionsSessionScopes.fork.ts` - Owned backend: administrative scopes, as before - Client-only: the attached session's own scopes - One marked in-place hook in `ConnectionsSettings.tsx` ## Why Connections granted administrative scopes to any desktop bridge. A client-only launch attaches a server it does not manage, yet still showed: - Version and update - Network access - Tailscale HTTPS Upstream-triage: fork fix. Client-only mode exists only in the fork; upstream `pingdotgg#9376` and `pingdotgg#9786` do not cover it. ## Close conditions - [x] **Scopes:** read from the session - [x] **Hidden:** exposure, Tailscale, update rows - [x] **Managed:** rows unchanged with an owned backend - [x] **Test:** client-only scopes pinned ## Evidence Built desktop app on an isolated home. | Mode | Connections | | --- | --- | | Client-only, before |  | | Client-only, after |  | | Managed, after |  | ## Follow-up The Local environment switch still shows in client-only mode. It is outside this issue's close conditions. ## Verification - `vp test run connectionsSessionScopes.fork.test.ts` → exit 0, 4 passed - `vp run typecheck` (web) → exit 0 - `vp lint` (3 files) → exit 0, pre-existing warnings only - `vp run build:desktop` → exit 0 - `vp run fork:ci` → exit 0 ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for any UI changes - [x] I included a video for animation/interaction changes (n/a) Closes #1390 Claude Opus 5.5 via Claude Code in T3 Code. ## Fork trailers Fork-Domain: backend-attach Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <[email protected]>
## What Changed - New fork helper `connectionsSessionScopesFork` in `connectionsSessionScopes.fork.ts` - Owned backend: administrative scopes, as before - Client-only: the attached session's own scopes - One marked in-place hook in `ConnectionsSettings.tsx` ## Why Connections granted administrative scopes to any desktop bridge. A client-only launch attaches a server it does not manage, yet still showed: - Version and update - Network access - Tailscale HTTPS Upstream-triage: fork fix. Client-only mode exists only in the fork; upstream `pingdotgg#9376` and `pingdotgg#9786` do not cover it. ## Close conditions - [x] **Scopes:** read from the session - [x] **Hidden:** exposure, Tailscale, update rows - [x] **Managed:** rows unchanged with an owned backend - [x] **Test:** client-only scopes pinned ## Evidence Built desktop app on an isolated home. | Mode | Connections | | --- | --- | | Client-only, before |  | | Client-only, after |  | | Managed, after |  | ## Follow-up The Local environment switch still shows in client-only mode. It is outside this issue's close conditions. ## Verification - `vp test run connectionsSessionScopes.fork.test.ts` → exit 0, 4 passed - `vp run typecheck` (web) → exit 0 - `vp lint` (3 files) → exit 0, pre-existing warnings only - `vp run build:desktop` → exit 0 - `vp run fork:ci` → exit 0 ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [x] I included before/after screenshots for any UI changes - [x] I included a video for animation/interaction changes (n/a) Closes #1390 Claude Opus 5.5 via Claude Code in T3 Code. ## Fork trailers Fork-Domain: backend-attach Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <[email protected]>
|
Note This comment is posted by Julius' dot This adds a client-only desktop lifecycle, automatically switches packaged launches to it when another server is running, and adds local server pairing. Theo declined the alternate desktop architecture in #4444, and the linked discussions contain no later approval for these startup and pairing changes. The contribution guide requires maintainer approval of the direction and scope for these workflow changes. Please agree that design with maintainers and link the approval when requesting reconsideration; the database-ownership problem reported in #6097 remains useful. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.