Skip to content

test(aikit): build the expected tool call once in the cross-model thinking case - #105

Merged
sanchitrk merged 1 commit into
canaryfrom
claude/aikit-thinking-test-flake
Oct 26, 2026
Merged

sanchitrk merged 1 commit into
canaryfrom
claude/aikit-thinking-test-flake

Conversation

@sanchitrk

Copy link
Copy Markdown
Contributor

Summary

does not send another model's readable thinking as text in packages/aikit/test/transform.test.ts built the expected tool call with a second makeCompletedToolCall("call-1"). The fixture stamps Date.now(), so the test failed whenever the clock ticked between the two calls (the timestamps were 3 ms apart in the failing run). The test now builds the call once and reuses it.

Checks

  • aikit unit tests: 298/298, three runs in a row.

🤖 Generated with Claude Code

…nking case

Two calls to the fixture stamp different times when the clock ticks between them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sanchitrk
sanchitrk merged commit 18efcaa into canary Oct 26, 2026
2 checks passed
@sanchitrk
sanchitrk deleted the claude/aikit-thinking-test-flake branch October 26, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant