🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
test(worker): drop commented-out null override ingestion test (#19649)
Nikita Kabardinc27c966ab299
diff --git a/worker/src/services/IngestionService/tests/IngestionService.integration.test.ts b/worker/src/services/IngestionService/tests/IngestionService.integration.test.tsindex 09cb72a698..aa26691c34 100644--- a/worker/src/services/IngestionService/tests/IngestionService.integration.test.ts+++ b/worker/src/services/IngestionService/tests/IngestionService.integration.test.ts@@ -2485,58 +2485,6 @@ describe("Ingestion end-to-end tests", () => {expect(observation?.usage_details.output).toEqual(11);});- // it("null does override set values, undefined doesn't", async () => {- // const traceId = randomUUID();- // const timestamp = Date.now();- //- // const traceEventList: TraceEventType[] = [- // {- // id: randomUUID(),- // type: "trace-create",- // timestamp: new Date(timestamp).toISOString(),- // body: {- // id: traceId,- // name: "trace-name",- // timestamp: new Date(timestamp).toISOString(),- // userId: "user-1",- // metadata: { key: "value" },- // release: "1.0.0",- // version: "2.0.0",- // environment,- // },- // },- // {- // id: randomUUID(),- // type: "trace-create",- // timestamp: new Date(timestamp + 1).toISOString(),- // body: {- // id: traceId,- // name: "trace-name",- // metadata: { key: "value" },- // // Do not set user_id here to validate behaviour for missing fields- // release: null,- // version: undefined,- // environment,- // },- // },- // ];- //- // await ingestionService.processTraceEventList({- // projectId,- // entityId: traceId,- // createdAtTimestamp: new Date(),- // traceEventList,- // });- //- // await clickhouseWriter.flushAll(true);- //- // const trace = await getClickhouseRecord(TableName.Traces, traceId);- //- // expect(trace.release).toBe(null);- // expect(trace.version).toBe("2.0.0");- // expect(trace.user_id).toBe("user-1");- // });-[{inputs: [{ a: "a" }, { b: "b" }],