Skip to content

tests(node): Add node integration tests for Vercel ToolLoopAgent - #20087

Merged
nicohrubec merged 1 commit into
developfrom
nh/tool-loop-agent
Apr 2, 2026
Merged

tests(node): Add node integration tests for Vercel ToolLoopAgent#20087
nicohrubec merged 1 commit into
developfrom
nh/tool-loop-agent

Conversation

@nicohrubec

@nicohrubecnicohrubec commented Apr 2, 2026

Copy link
Copy Markdown
Member

The plan was to add support for this, but turns out we already do! Still adding some node integration tests to cover this use case explicitly.

Closes#20057

@github-actions

github-actionsBot commented Apr 2, 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 ✨

Deps

  • Bump lodash.template from 4.5.0 to 4.18.1 by dependabot in #20085
  • Bump @xmldom/xmldom from 0.8.3 to 0.8.12 by dependabot in #20066

Other

  • (core) Support embeddings in langchain by nicohrubec in #20017
  • (core, node) Portable Express integration by isaacs in #19928
  • (deno) Add denoRuntimeMetricsIntegration by chargome in #20023

Bug Fixes 🐛

  • (aws-serverless) Add timeout to _endSpan forceFlush to prevent Lambda hanging by logaretm in #20064
  • (cloudflare) Ensure every request instruments functions by JPeer264 in #20044
  • (gatsby) Fix errorHandler signature to match bundler-plugin-core API by JPeer264 in #20048

Internal Changes 🔧

Core

  • Do not emit spans for chats.create in google-genai by nicohrubec in #19990
  • Unify .do* span ops to gen_ai.generate_content by nicohrubec in #20074
  • Simplify addResponseAttributes in openai integration by nicohrubec in #20013
  • Extract shared endStreamSpan for AI integrations by nicohrubec in #20021
  • Remove provider-specific AI span attributes in favor of gen_ai attributes in sentry conventions by nicohrubec in #20011

Deps

  • Bump mshick/add-pr-comment from dd126dd8c253650d181ad9538d8b4fa218fc31e8 to e7516d74559b5514092f5b096ed29a629a1237c6 by dependabot in #20078
  • Bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.24.1 to 2.25.2 by dependabot in #20081

Other

  • (node) Add node integration tests for Vercel ToolLoopAgent by nicohrubec in #20087
  • Update validate-pr workflow by stephanie-anderson in #20072
  • Remove unused tsconfig-template folder by mydea in #20067

🤖 This preview updates automatically when you update the PR.

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser25.65 kB--
@sentry/browser - with treeshaking flags24.14 kB--
@sentry/browser (incl. Tracing)42.16 kB--
@sentry/browser (incl. Tracing, Profiling)46.77 kB--
@sentry/browser (incl. Tracing, Replay)80.94 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags70.56 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)85.66 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)97.92 kB--
@sentry/browser (incl. Feedback)42.42 kB--
@sentry/browser (incl. sendFeedback)30.31 kB--
@sentry/browser (incl. FeedbackAsync)35.29 kB--
@sentry/browser (incl. Metrics)26.96 kB--
@sentry/browser (incl. Logs)27.11 kB--
@sentry/browser (incl. Metrics & Logs)27.78 kB--
@sentry/react27.41 kB--
@sentry/react (incl. Tracing)44.48 kB--
@sentry/vue30.08 kB--
@sentry/vue (incl. Tracing)44.05 kB--
@sentry/svelte25.67 kB--
CDN Bundle28.32 kB--
CDN Bundle (incl. Tracing)43.11 kB--
CDN Bundle (incl. Logs, Metrics)29.68 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)44.16 kB--
CDN Bundle (incl. Replay, Logs, Metrics)68.48 kB--
CDN Bundle (incl. Tracing, Replay)80.01 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)81.05 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)85.55 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)86.58 kB--
CDN Bundle - uncompressed82.68 kB--
CDN Bundle (incl. Tracing) - uncompressed127.83 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed86.83 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed131.24 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed209.81 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed244.7 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed248.1 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed257.62 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed261 kB--
@sentry/nextjs (client)46.9 kB--
@sentry/sveltekit (client)42.62 kB--
@sentry/node-core55.77 kB+0.02%+9 B 🔺
@sentry/node172.02 kB+0.02%+19 B 🔺
@sentry/node - without tracing96.05 kB+0.02%+14 B 🔺
@sentry/aws-serverless112.85 kB+0.01%+6 B 🔺

View base workflow run

@nicohrubecnicohrubec changed the title feat(vercelai): Add instrumentation for ToolLoopAgenttests(node): Add node integration tests for Vercel ToolLoopAgentApr 2, 2026
@nicohrubec
nicohrubec marked this pull request as ready for review April 2, 2026 12:53

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@nicohrubec
nicohrubec merged commit ae36796 into developApr 2, 2026
49 of 50 checks passed
@nicohrubec
nicohrubec deleted the nh/tool-loop-agent branch April 2, 2026 13:01
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.

Add support for vercel ToolLoopAgent

2 participants

@nicohrubec@chargome