Uh oh!
There was an error while loading. Please reload this page.
[v6.0] reproduction: could not reproduce Instrumentation causing AINoOutputGeneratedError on aborts - #18246
Closed
ai-sdk-factory[bot] wants to merge 1 commit into
Closed
Conversation
Co-authored-by: Lars Grammel <205036+lgrammel@users.noreply.github.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Instrumentation causing
AI_NoOutputGeneratedErroron abortsReproduction
AI_NoOutputGeneratedErroror Sentry error event.examples/ai-functions/src/reproduction/issue-8676.tsandexamples/ai-functions/src/reproduction/issue-8676-sentry-init.tstested the checked-outai@6.0.238build with standard OpenTelemetry and Sentry's defaultVercelAIinstrumentation using@sentry/node@10.53.1.abortstream part, calledonAbortonce, did not callonErrororonFinish, and produced no unhandled rejection.AbortError, but captured zero Sentry error events; the reportedAI_NoOutputGeneratedErrorwas not observed.packages/ai/src/generate-text/stream-text.tsnow rejects aborted result promises with the abort signal reason instead ofNoOutputGeneratedErrorwhen no step completes.AI_NoOutputGeneratedErrorand AI SDK v6AbortErrorabort rejections; upgrading from the reported@sentry/node@10.12.0to the tested10.53.1resolves the Sentry-visible error without AI SDK product changes.@sentry/node@10.53.1was added toexamples/ai-functions/package.jsonandpnpm-lock.yamlfor the runnable comparison.Relevant Documentation
AI_NoOutputGeneratedErroron aborts getsentry/sentry-javascript#17675AbortErrorby default on unhandled rejection getsentry/sentry-javascript#18973Related Issues
Could not reproduce #8676