GeezerVison is showing github.com — fix: restore service references breaking ci (#16495) · pingdotgg/t3code@17c0878
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: apps/desktop/src/preview/Manager.test.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | import { it as effectIt } from "@effect/vitest"; | | 2 | +import * as NodeCrypto from "@effect/platform-node/NodeCrypto"; | 2 | 3 | import { DESKTOP_PREVIEW_RECORDING_CAPTURE_TRIGGER } from "@t3tools/contracts"; | 3 | 4 | import type { | 4 | 5 | DesktopPreviewRecordingFrame, | @@ -281,6 +282,7 @@ const layer = PreviewManager.layer.pipe( | 281 | 282 | Layer.provideMerge(layerEnvironment), | 282 | 283 | Layer.provideMerge(layerFileSystem), | 283 | 284 | Layer.provideMerge(Path.layer), | | 285 | + Layer.provideMerge(NodeCrypto.layer), | 284 | 286 | Layer.provideMerge(Layer.succeed(HostProcessPlatform, "darwin")), | 285 | 287 | ); | 286 | 288 |
| |
Collapse file Copy file name to clipboardExpand all lines: apps/desktop/src/preview/Manager.ts +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -37,6 +37,7 @@ import { | 37 | 37 | import * as Cause from "effect/Cause"; | 38 | 38 | import * as Clock from "effect/Clock"; | 39 | 39 | import * as Context from "effect/Context"; | | 40 | +import * as Crypto from "effect/Crypto"; | 40 | 41 | import * as DateTime from "effect/DateTime"; | 41 | 42 | import * as Deferred from "effect/Deferred"; | 42 | 43 | import * as Effect from "effect/Effect"; | @@ -547,6 +548,7 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function | 547 | 548 | const rendererHistory = yield* DesktopRendererHistory.DesktopRendererHistory; | 548 | 549 | const hostPlatform = yield* HostProcessPlatform; | 549 | 550 | const path = yield* Path.Path; | | 551 | + const crypto = yield* Crypto.Crypto; | 550 | 552 | const parentScope = yield* Scope.Scope; | 551 | 553 | const browserHost = yield* DesktopBrowserHost.DesktopBrowserHost; | 552 | 554 | const context = yield* Effect.context<never>(); | |
Collapse file Copy file name to clipboardExpand all lines: apps/server/src/process/externalLauncher.test.ts +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1068,7 +1068,7 @@ it.effect.each([ | 1068 | 1068 | yield* launcher.launchEditor({ editor, cwd: "/workspace with spaces/file.ts:12:4" }); | 1069 | 1069 | }).pipe( | 1070 | 1070 | Effect.provide( | 1071 | | - testLayer({ | | 1071 | + layerTest({ | 1072 | 1072 | platform: "darwin", | 1073 | 1073 | env: { HOME: home, PATH: path.join(home, "empty") }, | 1074 | 1074 | onSpawn: (command) => { | @@ -1111,7 +1111,7 @@ it.effect("matches macOS bundles on the name boundary only", () => | 1111 | 1111 | return yield* launcher.resolveAvailableEditors(); | 1112 | 1112 | }).pipe( | 1113 | 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 | ); | 1117 | 1117 |
| @@ -1155,7 +1155,7 @@ it.effect("keeps the macOS VS Code Insiders bundle out of stable VS Code", () => | 1155 | 1155 | return available; | 1156 | 1156 | }).pipe( | 1157 | 1157 | Effect.provide( | 1158 | | - testLayer({ | | 1158 | + layerTest({ | 1159 | 1159 | platform: "darwin", | 1160 | 1160 | env: { HOME: home, PATH: path.join(home, "empty") }, | 1161 | 1161 | onSpawn: (command) => { | |
|