Skip to content

test(llm): verify timeout cancels response stream - #193

Merged
LeXwDeX merged 2 commits into
devfrom
test/transport-abort
Aug 8, 2026
Merged

test(llm): verify timeout cancels response stream#193
LeXwDeX merged 2 commits into
devfrom
test/transport-abort

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • exercise the public LLM stream through the production fetch-backed HTTP transport
  • use a real loopback Bun server with bounded request-received and response-canceled fences
  • assert the existing LLMError Transport/Timeout shape and server-observed response cancellation

Verification

  • target suite passed three consecutive runs: 7 pass, 0 fail each
  • bun typecheck passed in packages/llm
  • mutation check: removing response stream timeout made the new scenario time out and fail; mutation restored

No production code changes were required.

@LeXwDeX
LeXwDeX merged commit 1a86354 into dev Aug 8, 2026
5 checks passed
@LeXwDeX
LeXwDeX deleted the test/transport-abort branch August 8, 2026 13:22
@LeXwDeX
LeXwDeX restored the test/transport-abort branch August 8, 2026 13:23
@LeXwDeX
LeXwDeX deleted the test/transport-abort branch August 8, 2026 20:46
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