Skip to content

tests(ai): Fix streaming+truncation integration tests across AI integrations - #20326

Merged
nicohrubec merged 3 commits into
developfrom
nh/align-span-streaming-tests
Apr 15, 2026
Merged

tests(ai): Fix streaming+truncation integration tests across AI integrations#20326
nicohrubec merged 3 commits into
developfrom
nh/align-span-streaming-tests

Conversation

@nicohrubec

@nicohrubecnicohrubec commented Apr 15, 2026

Copy link
Copy Markdown
Member

Openai span streaming tests (with truncation enabled) were failing. This fixes that. Anthropic and google-genai were using separate scenario files for these tests, which seems like the better pattern in this case. So this aligns the integration tests for the remaining gen_ai integrations.

Closes#20322
Closes#20321
Closes#20323
Closes#20320

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser25.78 kB--
@sentry/browser - with treeshaking flags24.27 kB--
@sentry/browser (incl. Tracing)42.77 kB--
@sentry/browser (incl. Tracing, Profiling)47.4 kB--
@sentry/browser (incl. Tracing, Replay)81.69 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags71.22 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)86.39 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)98.6 kB--
@sentry/browser (incl. Feedback)42.59 kB--
@sentry/browser (incl. sendFeedback)30.45 kB--
@sentry/browser (incl. FeedbackAsync)35.45 kB--
@sentry/browser (incl. Metrics)27.07 kB--
@sentry/browser (incl. Logs)27.2 kB--
@sentry/browser (incl. Metrics & Logs)27.89 kB--
@sentry/react27.53 kB--
@sentry/react (incl. Tracing)45.09 kB--
@sentry/vue30.61 kB--
@sentry/vue (incl. Tracing)44.63 kB--
@sentry/svelte25.8 kB--
CDN Bundle28.46 kB--
CDN Bundle (incl. Tracing)43.82 kB--
CDN Bundle (incl. Logs, Metrics)29.83 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)44.89 kB--
CDN Bundle (incl. Replay, Logs, Metrics)68.73 kB--
CDN Bundle (incl. Tracing, Replay)80.78 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)81.83 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)86.31 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)87.34 kB--
CDN Bundle - uncompressed83.12 kB--
CDN Bundle (incl. Tracing) - uncompressed129.95 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed87.27 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed133.36 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed210.63 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed247.21 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed250.6 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed260.12 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed263.51 kB--
@sentry/nextjs (client)47.52 kB--
@sentry/sveltekit (client)43.24 kB--
@sentry/node-core57.94 kB+0.02%+7 B 🔺
@sentry/node174.76 kB+0.01%+10 B 🔺
@sentry/node - without tracing97.8 kB+0.01%+9 B 🔺
@sentry/aws-serverless115.06 kB+0.01%+6 B 🔺

View base workflow run

@nicohrubecnicohrubec changed the title tests(ai): fix node integration teststests(ai): Fix streaming+truncation integration tests across AI integrationsApr 15, 2026
@nicohrubec
nicohrubec marked this pull request as ready for review April 15, 2026 11:15
@nicohrubec
nicohrubec merged commit 40a5b93 into developApr 15, 2026
41 checks passed
@nicohrubec
nicohrubec deleted the nh/align-span-streaming-tests branch April 15, 2026 12:12
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants

@nicohrubec@s1gr1d