n-satoshi061
n-satoshi061
## Correction to the proposed fix After verifying with the TypeScript Language Service API, the fix proposed in this issue **does not work**. ### What I tested Three patterns were...
Fixed in the latest commit: wrapped both `unhandledRejection` listener tests in `try/finally` so `process.off()` is always called even if an assertion throws.
## Update summary After reviewing other PRs addressing the same issue (#10569, #10770, #10697) and the CodeRabbit feedback, I've made additional improvements beyond the initial unhandled-rejection fix. Here's a full...
@coderabbitai resume
Addressed in the latest commit (52d17622d). All four tests that call `vi.spyOn(console, 'warn')` now wrap their assertions in `try/finally` so `mockRestore()` is guaranteed to run even if an assertion fails...
Happy to open a PR to fix these if the direction looks good.
Found one more missed location in `packages/mcp/README.md` (line 79): ```ts const result = streamText({ model: 'openai/gpt-5.4', tools: await mcpClient.tools(), prompt: 'Use the available tools to answer the user question.', onFinish:...
Also found several `examples/ai-functions/` source files that were not updated by #15245: **Files using deprecated `onFinish` inside `streamText()` / `generateText()`:** | File | Note | |------|------| | `examples/ai-functions/src/stream-text/openai/on-finish.ts` | filename...
@truffle-dev Thanks for the thorough investigation — this is exactly the kind of concrete data that makes the sequencing decision easier. For reference, PR #22555 has already been opened taking...
Thanks for picking this up so quickly, @spandzgit! 🙏