The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 17:00 UTC
fix(server): use asSome for initial worktree measurement (#25206)
Julius Marminge committed
Oct 25, 2026 at 19:04 UTC
fe585bc5b67ac826ccf4fd05e7c7a5641d5342bd
1 file changed
+1
-1
apps/server/src/storageCleanup.ts
+1
-1
@@ -430,7 +430,7 @@ const make = Effect.gen(function* () {
430
const remaining = measurementDeadline - (yield* Clock.currentTimeMillis);
431
if (!orphanSizes.has(key) && (firstMeasurement || remaining > 0)) {
432
const measured = yield* measureWorktree(worktreePath).pipe(
433
- firstMeasurement ? Effect.map(Option.some) : Effect.timeoutOption(remaining),
433
+ firstMeasurement ? Effect.asSome : Effect.timeoutOption(remaining),
434
);
435
firstMeasurement = false;
436
if (Option.isSome(measured)) orphanSizes.set(key, measured.value);