Skip to content

test(e2e): Fix optional Anthropic and OpenAI decisions apps - #25795

Merged
mydea merged 2 commits into
developfrom
test/e2e-fix-optional-ai-apps
Oct 28, 2026
Merged

mydea merged 2 commits into
developfrom
test/e2e-fix-optional-ai-apps

Conversation

@mydea

@mydea mydea commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Why: Two optional E2E apps fail on develop, independent of any PR:

  • node-anthropic-send-to-sentry (latest) doesn't compile: @anthropic-ai/sdk 1.0 moved to API version 2026-10-21, which removed temperature from message params. The app source is shared with the pinned 0.63.0 variant, so it drops temperature and the e2e no longer asserts gen_ai.request.temperature. Request params stay covered by node-integration-tests.
  • node-openai-decisions-send-to-sentry (both variants) still expected the Vercel AI origin auto.vercelai.channel from before feat: Make span origins spec compliant #25602 renamed it to auto.ai.vercelai.

Depends on: #25750. Our Anthropic instrumentation only matches SDK versions <1, so the latest variant compiles with this PR but still produces no gen_ai spans until #25750 raises the range.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: a637f06 (PR test merge using develop at 11c1245)

Against: 11c1245 (develop) · base run #63940

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 30.33 kB - -
@sentry/browser - with treeshaking flags 28.45 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.34 kB - -
@sentry/browser (incl. Tracing) 52.6 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.61 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.54 kB - -
@sentry/browser (incl. Tracing, Replay) 92.8 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.42 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 97.53 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 110.51 kB - -
@sentry/browser (incl. Feedback) 47.89 kB - -
@sentry/browser (incl. sendFeedback) 35.4 kB - -
@sentry/browser (incl. FeedbackAsync) 40.51 kB - -
@sentry/browser (incl. Metrics) 31.34 kB - -
@sentry/browser (incl. Logs) 31.62 kB - -
@sentry/browser (incl. Metrics & Logs) 32.3 kB - -
@sentry/react 32.14 kB - -
@sentry/react (incl. Tracing) 54.89 kB - -
@sentry/vue 38.6 kB - -
@sentry/vue (incl. Tracing) 55.49 kB - -
@sentry/svelte 30.36 kB - -
@sentry/remix (Remix 3 client bundle) 57.64 kB - -
CDN Bundle 32.06 kB - -
CDN Bundle (incl. Tracing) 53.09 kB - -
CDN Bundle (incl. Logs, Metrics) 34.26 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.04 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 75.68 kB - -
CDN Bundle (incl. Tracing, Replay) 91.22 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.16 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.36 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.33 kB - -
CDN Bundle - uncompressed 94.29 kB - -
CDN Bundle (incl. Tracing) - uncompressed 157.29 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 163.26 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 232.34 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 278.92 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 284.87 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.62 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 298.56 kB - -
@sentry/nextjs (client) 57.74 kB - -
@sentry/sveltekit (client) 53.05 kB - -
@sentry/core/server 43.84 kB - -
@sentry/core/browser 13.95 kB - -
@sentry/node 154.57 kB +0.01% +11 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.61 kB -0.01% -2 B 🔽
@sentry/node - without tracing 95.69 kB +0.01% +8 B 🔺
@sentry/node - without channel injection 135.21 kB +0.01% +10 B 🔺
@sentry/aws-serverless 103.86 kB +0.01% +9 B 🔺
@sentry/cloudflare (withSentry) - minified 197.77 kB - -
@sentry/cloudflare (withSentry) 491.5 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 218.35 kB - -

View base workflow run

@mydea
mydea force-pushed the test/e2e-fix-optional-ai-apps branch from 8a3c86a to 95c534e Compare October 28, 2026 11:18
@mydea
mydea marked this pull request as ready for review October 28, 2026 11:18
@mydea
mydea requested review from a team as code owners October 28, 2026 11:18
@mydea
mydea requested review from andreiborza, chargome, isaacs, logaretm, msonnb and nicohrubec and removed request for a team October 28, 2026 11:18
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 1 not successful, 3 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E node-anthropic-send-to-sentry (latest) Test (optional) Failing after 3m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E node-anthropic-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions-send-to-sentry (latest) Test (optional) Successful in 1m Details

mydea and others added 2 commits October 28, 2026 14:29
The Anthropic SDK 1.x targets API version 2026-10-21, which removed
`temperature` from message params, so the latest variant no longer
compiles. The OpenAI decisions test still expected the Vercel AI origin
from before #25602.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The attribute is sent but not returned by the Sentry API for the span.
Request params stay covered by node-integration-tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea force-pushed the test/e2e-fix-optional-ai-apps branch from d375b67 to 7c1bebc Compare October 28, 2026 13:29
mydea added a commit that referenced this pull request Oct 28, 2026
…ment (#25819)

**Why:** When the report job couldn't update the PR comment (e.g. a
GitHub API `Server Error`), it logged a warning and passed, so the
comment silently kept the results of an earlier attempt. This happened
on #25795, where a re-run's results never made it into the comment.
Failing the job makes a stale comment visible and lets you re-run just
the report job. The job lives in the optional E2E workflow, so this
doesn't block merges.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea merged commit cf1324d into develop Oct 28, 2026
47 of 48 checks passed
@mydea
mydea deleted the test/e2e-fix-optional-ai-apps branch October 28, 2026 13:42
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.

3 participants