Skip to content

Commit 298e405

Browse files
ericallamclaude
andcommitted
chore(sdk): drop stale seedSessionInTail comment
The comment described metadata: undefined; seeded records now carry the harness clientData. The code is self-explanatory, so remove the comment rather than reword it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VG39FXXkFFU24U5EtJMwPi
1 parent 712539c commit 298e405

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/trigger-sdk/src/v3/test/mock-chat-agent.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,6 @@ export function mockChatAgent(
488488
} as never;
489489
});
490490

491-
// session.in tail override: each seeded UIMessage becomes a
492-
// { message, metadata: undefined, seqNum: i+1 } entry. Mirrors the
493-
// seq-num pattern from the out-tail stub so cursor-advance logic is
494-
// exercised correctly. `metadata` is `undefined` for seeded users —
495-
// the boot path falls back to `payload.metadata` for those.
496491
__setReplaySessionInTailImplForTests(async () => {
497492
return seededSessionInMessages.map((message, i) => ({
498493
message,

0 commit comments

Comments
 (0)