Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): worktree cleanup no longer blocked by links and build output #15434

ClosedSunkenInTime(GitHub profile, opens in a new tab)wants to merge 8 commits intomain fromrefs/pull/15434/headopened View on GitHub

Showing 10 changed files with 97 additions and 1 deletion (loading 8).

x
0 of 10 viewed, 10 left
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -229,6 +229,7 @@
threadAutoSettlement: true,
storageCleanup: true,
projectWorktreeCleanup: true,
+ worktreeDisposablePaths: true,
worktreesDirectory: true,
threadRestartContinuation: true,
projectSettingsOverrides: true,
96 additions and 1 deletionapps/server/src/storageCleanup.test.tsModified
View file
@@ -1,4 +1,8 @@
-import { describe, expect, it } from "vite-plus/test";
+// @effect-diagnostics nodeBuiltinImport:off - Effect's FileSystem cannot create junctions.
+import * as NodeFS from "node:fs";
+​
+import * as NodeServices from "@effect/platform-node/NodeServices";
+import { it } from "@effect/vitest";
import {
ProjectId,
ProviderInstanceId,
@@ -8,11 +12,20 @@
type OrchestrationV2ThreadShell,
} from "@t3tools/contracts";
import * as DateTime from "effect/DateTime";
+import * as Effect from "effect/Effect";
+import * as FileSystem from "effect/FileSystem";
+import * as Layer from "effect/Layer";
+import * as Path from "effect/Path";