| … | … | @@ -488,6 +488,14 @@ export const SETTINGS_SEARCH_ITEMS = [ | |
| 494 | + | to: "/settings/labs", | |
| 495 | + | scope: "environment", | |
| 496 | + | searchTerms: ["beta t3 connect tunnel gateway unlimited free link remote cloudflare"], | |
| 497 | + | desktopOnly: true, | |
🟡 Medium settings/settingsSearch.ts:497
On desktops where betaGatewayLinkLimit is undefined and the setting is off, searching for “T3 Connect Unlimited” returns a link to a row that ConnectBetaGatewayRow does not render. This entry is gated only by desktopOnly; gate it with the same availability condition as the control.
No longer relevant as of 5504b7dc851ae985dcd29fe693fd42a9c107a440
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Fixed in 5504b7d. The entry is now cloudOnly and betaGatewayOnly, so search offers it only while the relay advertises the beta (betaGatewayLinkLimit), the same condition that shows the row. settingsSearch.test.ts lists it with the other gated ids.
| … | … | @@ -32,6 +32,7 @@ jobs: | |
| 32 | 32 | test_web: ${{ steps.detect.outputs.test_web }} | |
| 33 | 33 | test_server: ${{ steps.detect.outputs.test_server }} | |
| 34 | 34 | rust: ${{ steps.detect.outputs.rust }} | |
| 35 | + | gateway: ${{ steps.detect.outputs.gateway }} | |
🟢 Low workflows/ci.yml:35
The gateway job runs on every PR, including docs-only changes, because steps.detect.outputs.gateway is empty when the composite action does not expose that output, and an empty value satisfies != 'false'. Export gateway from .github/actions/ci-changes/action.yml so this gate receives the detector's result.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @.github/workflows/ci.yml around line 35: |
| 2 | |
| 3 | The `gateway` job runs on every PR, including docs-only changes, because `steps.detect.outputs.gateway` is empty when the composite action does not expose that output, and an empty value satisfies `!= 'false'`. Export `gateway` from `.github/actions/ci-changes/action.yml` so this gate receives the detector's result. |
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Fixed in 5504b7d: .github/actions/ci-changes/action.yml now exports gateway, so the job follows the detector.
| … | … | @@ -194,6 +206,45 @@ function runtimeConfigKey(config: RelayManagedEndpointRuntimeConfig): string { | |
| 242 | + | ) { | |
| 243 | + | return null; | |
| 244 | + | } | |
| 245 | + | return { host: origin.hostname === "[::1]" ? "::1" : origin.hostname, port: Number(origin.port) }; | |
🟠 High cloud/ManagedEndpointRuntime.ts:225
A listener explicitly configured on HTTP port 80 is rejected as invalid config, so beta remote access cannot start for that listener. Node normalizes http://127.0.0.1:80 to an empty origin.port, which breaks both the !origin.port check and the canonical-origin comparison; preserve the explicit default port for comparison and return 80.
No longer relevant as of 5504b7dc851ae985dcd29fe693fd42a9c107a440
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Fixed in 5504b7d. betaOrigin treats the port that URL drops as 80 and compares the canonical origin with it. The runtime test now moves the route to http://127.0.0.1:80 and checks that port 80 reaches the connector.
| … | … | @@ -192,16 +195,30 @@ export function useCloudLinkController(environmentId: EnvironmentId | null) { | |
| 208 | + | (relayProviderKind === "t3_relay") !== (mode === "beta"); | |
| 209 | + | if (relink) { | |
| 210 | + | if (replacesLink) { | |
| 211 | + | const unlinkResult = await unlinkEnvironment({ target, clerkToken }); | |
🟠 High cloud/useCloudLinkController.ts:211
When an Electron client disables T3 Connect but keeps activity publishing enabled for a remote beta-linked environment, this transition disconnects the machine and disables publishing, then fails to create the publish-only link. unlinkEnvironment stops the beta connector and clears the host's relay credentials before linkEnvironment can use that route for linkProof and relayConfig; perform the transition host-side or require an independent direct connection before unlinking.
No longer relevant as of 5504b7dc851ae985dcd29fe693fd42a9c107a440
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Fixed in 5504b7d. The replacement now runs inside linkEnvironmentToCloud, which unlinks only after the environment signs the new link proof. The environment signs only over a direct loopback or desktop-bootstrap connection, so a machine reached through its own beta route fails at the proof and nothing is unlinked. linkEnvironment.test.ts checks the request order for a signed and a refused proof.