Skip to content

Commit 6dd54e7

Browse files
shivamhwpclaude
andcommitted
test(server): use SecureRandom in Antigravity running-command tests
Effect 4.1.2 replaced effect/Crypto with effect/crypto/SecureRandom. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 6671d65 commit 6dd54e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ describe("AntigravityAdapterV2 commands running past the reply", () => {
10631063
const openRunningCommandSession = Effect.fn("openRunningCommandSession")(function* () {
10641064
const childProcessSpawner = yield* ChildProcessSpawner.ChildProcessSpawner;
10651065
const path = yield* Path.Path;
1066-
const crypto = yield* Crypto.Crypto;
1066+
const crypto = yield* SecureRandom.SecureRandom;
10671067
const mockAgentPath = yield* path.fromFileUrl(
10681068
new URL("../../../scripts/acp-mock-agent.ts", import.meta.url),
10691069
);
@@ -1095,7 +1095,7 @@ describe("AntigravityAdapterV2 commands running past the reply", () => {
10951095
env: { T3_ACP_ANTIGRAVITY: "1" },
10961096
},
10971097
}).pipe(
1098-
Effect.provideService(Crypto.Crypto, crypto),
1098+
Effect.provideService(SecureRandom.SecureRandom, crypto),
10991099
Effect.map((runtime): RuntimeService => ({
11001100
...runtime,
11011101
handleSessionUpdate: (handler) =>

0 commit comments

Comments
 (0)