authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-05 00:18:22-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-05 00:18:22-07:00
log9867eb12396439f58e03e3548e053d966f0f64a6
tree4418c66de9b0d1f1741ed5d0415a4535782b351b
parent10421bcdc9a059e0a717250257769af92567b645
signature Signed by PGP key B5690EEEBB952194

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


2 files changed, 1 insertions(+), 6 deletions(-)

apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts-5
......@@ -61,7 +61,6 @@ import { OrchestrationProjectionSnapshotQueryLive } from "./ProjectionSnapshotQu
6161import * as ThreadBackgroundLiveness from "../ThreadBackgroundLiveness.ts";
6262import * as ThreadPlanProgress from "../ThreadPlanProgress.ts";
6363import {
64 providerErrorLabel,
6564 providerErrorLabelFromInstanceHint,
6665 ProviderCommandReactorLive,
6766} from "./ProviderCommandReactor.ts";
......@@ -164,10 +163,6 @@ describe("ProviderCommandReactor", () => {
164163 }),
165164 ).toBe("claude_openrouter");
166165 });
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 });
171166 });
172167
173168 async function createHarness(input?: {
apps/server/src/orchestration/Layers/ProviderCommandReactor.ts+1-1
......@@ -228,7 +228,7 @@ function formatThreadTitleContext(messages: ReadonlyArray<ThreadTitleMessage>):
228228 };
229229}
230230
231export function providerErrorLabel(value: string | undefined): string {
231function providerErrorLabel(value: string | undefined): string {
232232 const normalized = value?.trim();
233233 return normalized && normalized.length > 0 ? normalized : "unknown";
234234}