@devries-cameron20 / t3code-1 / commits / fad6732256
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(server): main's settings, keybindings and session tests compile again (#16363)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Julius Marminge committed Oct 5, 2026 at 21:48 UTC fad673225650193fad2a85487ecffc903f8ff30a
3 files changed +4 -4
apps/server/src/keybindings.test.ts
+1 -1
@@ -620,7 +620,7 @@ it.layer(NodeServices.layer)("keybindings", (it) => {
620 const configState = yield* keybindings.loadConfigState;
621 assert.deepEqual(configState.issues, []);
622 assert.isTrue(configState.keybindings.some((entry) => entry.command === "terminal.toggle"));
623 - }).pipe(Effect.provide(makeKeybindingsLayer())),
623 + }).pipe(Effect.provide(layerKeybindings())),
624 );
625
626 it.effect("updates cached resolved config after upsert", () =>
apps/server/src/orchestration-v2/ProviderSessionManager.test.ts
+1 -1
@@ -930,7 +930,7 @@ it.effect("ProviderSessionManagerV2 records provider session and turn metrics",
930 });
931
932 yield* effect.pipe(
933 - Effect.provide(makeTestLayer({ state, idleTimeoutMs: 60_000 })),
933 + Effect.provide(layerTest({ state, idleTimeoutMs: 60_000 })),
934 // A private registry keeps other tests' provider metrics out of the assertions.
935 Effect.provideService(Metric.MetricRegistry, new Map()),
936 );
apps/server/src/serverSettings.test.ts
+2 -2
@@ -49,7 +49,7 @@ const layerServerSettings = () =>
49 ),
50 );
51
52 -/** Like `makeServerSettingsLayer`, but also exposes the secret store for assertions. */
52 +/** Like `layerServerSettings`, but also exposes the secret store for assertions. */
53 const layerServerSettingsWithSecrets = () =>
54 ServerSettingsModule.layer.pipe(
55 Layer.provideMerge(ServerSecretStore.layer),
@@ -322,7 +322,7 @@ it.layer(NodeServices.layer)("server settings", (it) => {
322
323 const settings = yield* serverSettings.getSettings;
324 assert.equal(settings.responseStreamingMode, "turn");
325 - }).pipe(Effect.provide(makeServerSettingsLayer())),
325 + }).pipe(Effect.provide(layerServerSettings())),
326 );
327
328 it.effect("decodes nested settings patches", () =>