fix(client): explain possible network blocking for T3 Connect #9783
Mergedt3dotgg(GitHub profile, opens in a new tab)merged 3 commits into
main fromrefs/pull/9783/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
- packages/client-runtime/src/connection/supervisor.ts lines 920 to 928OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -912,4 +916,13 @@912916 }913917914918 const attemptSpan: Option.Option<Tracer.Span> = outcome.failure.attemptSpan;915- const error: ConnectionAttemptError = outcome.failure.error;919+ const failure: ConnectionAttemptError = outcome.failure.error;920+ const error: ConnectionAttemptError =921+ target._tag === "RelayConnectionTarget" &&922+ failure._tag === "ConnectionTransientError" &&923+ failure.reason === "transport"924+ ? new ConnectionTransientError({925+ ...failure,926+ detail: `${failure.message} ${NETWORK_BLOCKING_HINT}`,927+ })928+ : failure;packages/client-runtime/src/relay/managedRelay.ts lines 155 to 159OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -151,4 +152,8 @@151152 },152153 ) {153154 override get message(): string {154- return `Could not ${this.action}.`;155+ const message = `Could not ${this.action}.`;156+ return HttpClientError.isHttpClientError(this.cause) &&157+ this.cause.reason._tag === "TransportError"158+ ? `${message} ${NETWORK_BLOCKING_HINT}`159+ : message;
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline:
b7d6e65· PR result:fba0e08· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.