@devries-cameron20 / t3code-1 / commits / 9867eb1239
Fork 0

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

test(server): remove provider label identity assertion (#9987)

Julius Marminge committed Sep 5, 2026 at 00:18 UTC 9867eb12396439f58e03e3548e053d966f0f64a6
2 files changed +1 -6
apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
-5
@@ -61,7 +61,6 @@ import { OrchestrationProjectionSnapshotQueryLive } from "./ProjectionSnapshotQu
61 import * as ThreadBackgroundLiveness from "../ThreadBackgroundLiveness.ts";
62 import * as ThreadPlanProgress from "../ThreadPlanProgress.ts";
63 import {
64 - providerErrorLabel,
64 providerErrorLabelFromInstanceHint,
65 ProviderCommandReactorLive,
66 } from "./ProviderCommandReactor.ts";
@@ -164,10 +163,6 @@ describe("ProviderCommandReactor", () => {
163 }),
164 ).toBe("claude_openrouter");
165 });
167 -
168 - it("uses the unknown driver kind when the resolved driver is not registered locally", () => {
169 - expect(providerErrorLabel("third_party_driver")).toBe("third_party_driver");
170 - });
166 });
167
168 async function createHarness(input?: {
apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
+1 -1
@@ -228,7 +228,7 @@ function formatThreadTitleContext(messages: ReadonlyArray<ThreadTitleMessage>):
228 };
229 }
230
231 -export function providerErrorLabel(value: string | undefined): string {
231 +function providerErrorLabel(value: string | undefined): string {
232 const normalized = value?.trim();
233 return normalized && normalized.length > 0 ? normalized : "unknown";
234 }