Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): stop re-spawning tailscale on every client connect on macOS #26103

Openjuliusmarmingewants to merge 15 commits intomain fromrefs/pull/26103/headopened View on GitHub

Showing 5 changed files with 62 additions and 22 deletions (loading 3).

x
0 of 5 viewed, 5 left
54 additions and 3 deletionsapps/server/src/environment/DirectEndpoints.test.tsModified
View file
@@ -1,10 +1,14 @@
import * as NodeServices from "@effect/platform-node/NodeServices";
import { EnvironmentId } from "@t3tools/contracts";
import { it as effectIt } from "@effect/vitest";
+import * as HostProcess from "@t3tools/shared/HostProcess";
+import * as NodeModule from "node:module";
+import type * as NodeDns from "node:dns";
import type * as NodeOS from "node:os";
import * as Effect from "effect/Effect";
import * as Deferred from "effect/Deferred";
import * as Fiber from "effect/Fiber";
+import * as FileSystem from "effect/FileSystem";
import * as Ref from "effect/Ref";
import * as Layer from "effect/Layer";
import * as Sink from "effect/Sink";
@@ -13,7 +17,7 @@
import type * as HttpClientRequest from "effect/http/HttpClientRequest";
import * as HttpClientResponse from "effect/http/HttpClientResponse";
import * as ChildProcessSpawner from "effect/process/ChildProcessSpawner";
-import { describe, expect, it } from "vite-plus/test";
+import { describe, expect, it, vi } from "vite-plus/test";
​
import * as ServerConfig from "../config.ts";
import * as DirectEndpoints from "./DirectEndpoints.ts";
@@ -292,7 +296,7 @@
}),
-);