authorgravatar for maria@kuuro.netmaria <maria@kuuro.net> 2026-10-06 12:40:41-03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-06 12:40:41-03:00
log17c0878941ab8ab19108fb639c5138d92a89e919
treef9352c7404d9ccfa3ea5c66149bd034620e14943
parentac8e9453ca0948469ccf5651b765086d8d9ecd64
signature Signed by PGP key B5690EEEBB952194

fix: restore service references breaking ci (#16495)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>

3 files changed, 7 insertions(+), 3 deletions(-)

apps/desktop/src/preview/Manager.test.ts+2
...@@ -1,4 +1,5 @@...@@ -1,4 +1,5 @@
1import { it as effectIt } from "@effect/vitest";1import { it as effectIt } from "@effect/vitest";
2import * as NodeCrypto from "@effect/platform-node/NodeCrypto";
2import { DESKTOP_PREVIEW_RECORDING_CAPTURE_TRIGGER } from "@t3tools/contracts";3import { DESKTOP_PREVIEW_RECORDING_CAPTURE_TRIGGER } from "@t3tools/contracts";
3import type {4import type {
4 DesktopPreviewRecordingFrame,5 DesktopPreviewRecordingFrame,
...@@ -281,6 +282,7 @@ const layer = PreviewManager.layer.pipe(...@@ -281,6 +282,7 @@ const layer = PreviewManager.layer.pipe(
281 Layer.provideMerge(layerEnvironment),282 Layer.provideMerge(layerEnvironment),
282 Layer.provideMerge(layerFileSystem),283 Layer.provideMerge(layerFileSystem),
283 Layer.provideMerge(Path.layer),284 Layer.provideMerge(Path.layer),
285 Layer.provideMerge(NodeCrypto.layer),
284 Layer.provideMerge(Layer.succeed(HostProcessPlatform, "darwin")),286 Layer.provideMerge(Layer.succeed(HostProcessPlatform, "darwin")),
285);287);
286288
apps/desktop/src/preview/Manager.ts+2
...@@ -37,6 +37,7 @@ import {...@@ -37,6 +37,7 @@ import {
37import * as Cause from "effect/Cause";37import * as Cause from "effect/Cause";
38import * as Clock from "effect/Clock";38import * as Clock from "effect/Clock";
39import * as Context from "effect/Context";39import * as Context from "effect/Context";
40import * as Crypto from "effect/Crypto";
40import * as DateTime from "effect/DateTime";41import * as DateTime from "effect/DateTime";
41import * as Deferred from "effect/Deferred";42import * as Deferred from "effect/Deferred";
42import * as Effect from "effect/Effect";43import * as Effect from "effect/Effect";
...@@ -547,6 +548,7 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function...@@ -547,6 +548,7 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function
547 const rendererHistory = yield* DesktopRendererHistory.DesktopRendererHistory;548 const rendererHistory = yield* DesktopRendererHistory.DesktopRendererHistory;
548 const hostPlatform = yield* HostProcessPlatform;549 const hostPlatform = yield* HostProcessPlatform;
549 const path = yield* Path.Path;550 const path = yield* Path.Path;
551 const crypto = yield* Crypto.Crypto;
550 const parentScope = yield* Scope.Scope;552 const parentScope = yield* Scope.Scope;
551 const browserHost = yield* DesktopBrowserHost.DesktopBrowserHost;553 const browserHost = yield* DesktopBrowserHost.DesktopBrowserHost;
552 const context = yield* Effect.context<never>();554 const context = yield* Effect.context<never>();
apps/server/src/process/externalLauncher.test.ts+3-3
...@@ -1068,7 +1068,7 @@ it.effect.each([...@@ -1068,7 +1068,7 @@ it.effect.each([
1068 yield* launcher.launchEditor({ editor, cwd: "/workspace with spaces/file.ts:12:4" });1068 yield* launcher.launchEditor({ editor, cwd: "/workspace with spaces/file.ts:12:4" });
1069 }).pipe(1069 }).pipe(
1070 Effect.provide(1070 Effect.provide(
1071 testLayer({1071 layerTest({
1072 platform: "darwin",1072 platform: "darwin",
1073 env: { HOME: home, PATH: path.join(home, "empty") },1073 env: { HOME: home, PATH: path.join(home, "empty") },
1074 onSpawn: (command) => {1074 onSpawn: (command) => {
...@@ -1111,7 +1111,7 @@ it.effect("matches macOS bundles on the name boundary only", () =>...@@ -1111,7 +1111,7 @@ it.effect("matches macOS bundles on the name boundary only", () =>
1111 return yield* launcher.resolveAvailableEditors();1111 return yield* launcher.resolveAvailableEditors();
1112 }).pipe(1112 }).pipe(
1113 Effect.provide(1113 Effect.provide(
1114 testLayer({ platform: "darwin", env: { HOME: home, PATH: path.join(home, "bin") } }),1114 layerTest({ platform: "darwin", env: { HOME: home, PATH: path.join(home, "bin") } }),
1115 ),1115 ),
1116 );1116 );
11171117
...@@ -1155,7 +1155,7 @@ it.effect("keeps the macOS VS Code Insiders bundle out of stable VS Code", () =>...@@ -1155,7 +1155,7 @@ it.effect("keeps the macOS VS Code Insiders bundle out of stable VS Code", () =>
1155 return available;1155 return available;
1156 }).pipe(1156 }).pipe(
1157 Effect.provide(1157 Effect.provide(
1158 testLayer({1158 layerTest({
1159 platform: "darwin",1159 platform: "darwin",
1160 env: { HOME: home, PATH: path.join(home, "empty") },1160 env: { HOME: home, PATH: path.join(home, "empty") },
1161 onSpawn: (command) => {1161 onSpawn: (command) => {