Skip to content

test(openai): Use multi-message scenario in no-truncation test - #20194

Merged
nicohrubec merged 1 commit into
developfrom
nh/openai-multi-message-no-truncation
Apr 15, 2026
Merged

test(openai): Use multi-message scenario in no-truncation test#20194
nicohrubec merged 1 commit into
developfrom
nh/openai-multi-message-no-truncation

Conversation

@nicohrubec

@nicohrubecnicohrubec commented Apr 10, 2026

Copy link
Copy Markdown
Member

let's expand the no-truncation scenario here to use multiple input messages to ensure no message popping is applied to align this with other scenarios

Ensures message popping doesn't occur when enableTruncation is false
by testing with 3 messages instead of 1.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

github-actionsBot commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Core

  • Add enableTruncation option to OpenAI integration by andreiborza in #20167
  • Export a reusable function to add tracing headers by JPeer264 in #20076

Deps

  • Bump hono from 4.12.7 to 4.12.12 by dependabot in #20118
  • Bump defu from 6.1.4 to 6.1.6 by dependabot in #20104

Internal Changes 🔧

  • (bugbot) Add rules to flag test-flake-provoking patterns by Lms24 in #20192
  • (openai) Use multi-message scenario in no-truncation test by nicohrubec in #20194
  • (size-limit) Bump failing size limit scenario by Lms24 in #20186

🤖 This preview updates automatically when you update the PR.

@nicohrubec
nicohrubec marked this pull request as ready for review April 10, 2026 10:27
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser25.72 kB--
@sentry/browser - with treeshaking flags24.21 kB--
@sentry/browser (incl. Tracing)42.73 kB--
@sentry/browser (incl. Tracing, Profiling)47.35 kB--
@sentry/browser (incl. Tracing, Replay)81.54 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags71.11 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)86.25 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)98.45 kB--
@sentry/browser (incl. Feedback)42.51 kB--
@sentry/browser (incl. sendFeedback)30.39 kB--
@sentry/browser (incl. FeedbackAsync)35.38 kB--
@sentry/browser (incl. Metrics)27.04 kB--
@sentry/browser (incl. Logs)27.18 kB--
@sentry/browser (incl. Metrics & Logs)27.86 kB--
@sentry/react27.48 kB--
@sentry/react (incl. Tracing)45.05 kB--
@sentry/vue30.56 kB--
@sentry/vue (incl. Tracing)44.59 kB--
@sentry/svelte25.74 kB--
CDN Bundle28.41 kB--
CDN Bundle (incl. Tracing)43.75 kB--
CDN Bundle (incl. Logs, Metrics)29.78 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)44.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)68.59 kB--
CDN Bundle (incl. Tracing, Replay)80.64 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)81.66 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)86.17 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)87.2 kB--
CDN Bundle - uncompressed82.99 kB--
CDN Bundle (incl. Tracing) - uncompressed129.77 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed87.14 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed133.19 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed210.12 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed246.65 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed250.05 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed259.56 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed262.95 kB--
@sentry/nextjs (client)47.47 kB--
@sentry/sveltekit (client)43.2 kB--
@sentry/node-core57.86 kB+0.01%+5 B 🔺
@sentry/node174.83 kB+0.01%+10 B 🔺
@sentry/node - without tracing97.97 kB+0.03%+20 B 🔺
@sentry/aws-serverless115.22 kB+0.02%+15 B 🔺

View base workflow run

@andreiborzaandreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nice, thanks for catching this!

@nicohrubec
nicohrubec merged commit 73d51f2 into developApr 15, 2026
45 checks passed
@nicohrubec
nicohrubec deleted the nh/openai-multi-message-no-truncation branch April 15, 2026 09:19
mydea pushed a commit that referenced this pull request Apr 15, 2026
let's expand the no-truncation scenario here to use multiple input
messages to ensure no message popping is applied to align this with
other scenarios
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for freeto 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.

2 participants

@nicohrubec@andreiborza