Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(connect): Restore the pinned relay client before connecting #16607

Closedmwolson(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/16607/headopened View on GitHub

Showing 5 changed files with 23 additions and 4 deletions (loading 2).

x
0 of 5 viewed, 5 left
3 additions and 0 deletionsapps/server/src/cli/connect.test.tsModified
View file
@@ -58,6 +58,7 @@
let installCalls = 0;
const result = yield* acquireRelayClientForLink(
+ prepare: Effect.die("link inspection must not prepare the relay client"),
resolve: Effect.succeed({
status: "missing",
version: RelayClient.CLOUDFLARED_VERSION,
@@ -87,6 +88,7 @@
const progress: Array<string> = [];
const result = yield* acquireRelayClientForLink(
+ prepare: Effect.die("link inspection must not prepare the relay client"),
resolve: Effect.succeed({
status: "missing",
version: RelayClient.CLOUDFLARED_VERSION,
@@ -125,6 +127,7 @@
let promptCalls = 0;
const result = yield* acquireRelayClientForLink(
+ prepare: Effect.die("link inspection must not prepare the relay client"),
resolve: Effect.succeed(managedExecutable),
install: Effect.die("unexpected install"),
installWithProgress: () => Effect.die("unexpected install"),
19 additions and 3 deletionsapps/server/src/cloud/ManagedEndpointRuntime.test.tsModified
View file