From d133ab7a14649ad6628ec70940336884c2092050 Mon Sep 17 00:00:00 2001 From: Suleiman Shahbari Date: Sat, 27 Jun 2026 14:25:27 +0300 Subject: [PATCH] test(ai-sdk): scrub residual @rudderjs mentions from test comments These were explanatory comments describing what the in-process test fakes mimic (cache adapter surface, a sync seed helper). No imports or deps. Removing them makes the engine source literally free of any @rudderjs reference, the last acceptance gate for the decouple epic. --- packages/ai-sdk/src/agent-run-store.test.ts | 2 +- packages/ai-sdk/src/react/agent-run.test.ts | 2 +- packages/ai-sdk/src/sub-agent-run-store.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ai-sdk/src/agent-run-store.test.ts b/packages/ai-sdk/src/agent-run-store.test.ts index f31e36e..5cf2f47 100644 --- a/packages/ai-sdk/src/agent-run-store.test.ts +++ b/packages/ai-sdk/src/agent-run-store.test.ts @@ -128,7 +128,7 @@ describe('InMemoryAgentRunStore', () => { // ─── CachedAgentRunStore ─────────────────────────────────── -/** Minimal in-process fake of `@rudderjs/cache`'s adapter surface, with TTL capture. */ +/** Minimal in-process fake of the `CacheAdapter` surface, with TTL capture. */ function fakeCache() { const map = new Map() const ttls: Record = {} diff --git a/packages/ai-sdk/src/react/agent-run.test.ts b/packages/ai-sdk/src/react/agent-run.test.ts index 192a252..9d58e06 100644 --- a/packages/ai-sdk/src/react/agent-run.test.ts +++ b/packages/ai-sdk/src/react/agent-run.test.ts @@ -10,7 +10,7 @@ import { import type { ToolCall } from '../types.js' // The React hook (`useAgentRun`) is a thin wrapper over the pieces here — -// same posture as `@rudderjs/sync`'s `seedShareTypeOnSync` vs `useCollabSeed`. +// same posture as a runtime-agnostic seed helper vs its React hook wrapper. // The framework ships no React testing harness, so we exhaustively cover the // transcript reducer, the client-tool batch, and the run/resume driver here. diff --git a/packages/ai-sdk/src/sub-agent-run-store.test.ts b/packages/ai-sdk/src/sub-agent-run-store.test.ts index 6dcd24b..76fa56f 100644 --- a/packages/ai-sdk/src/sub-agent-run-store.test.ts +++ b/packages/ai-sdk/src/sub-agent-run-store.test.ts @@ -69,7 +69,7 @@ describe('InMemorySubAgentRunStore.load', () => { // ─── CachedSubAgentRunStore ──────────────────────────────── -/** Minimal in-process fake of `@rudderjs/cache`'s adapter surface. */ +/** Minimal in-process fake of the `CacheAdapter` surface. */ function fakeCache() { const map = new Map() return {