Skip to content

fix: Use instrumentCreateReactAgent in LangGraph cloudflare template#146

Merged
andreiborza merged 1 commit intomainfrom
ab/fix-langgraph-template
Apr 30, 2026
Merged

fix: Use instrumentCreateReactAgent in LangGraph cloudflare template#146
andreiborza merged 1 commit intomainfrom
ab/fix-langgraph-template

Conversation

@andreiborza
Copy link
Copy Markdown
Member

@andreiborza andreiborza commented Apr 29, 2026

This PR updates the cloudflare LangGraph template to use the newly released instrumentCreateReactAgent function (released with 10.51.0).

@andreiborza andreiborza changed the title fix: Use instrumentCreateReactAgent in LangGraph cloudflare and browser templates fix: Use instrumentCreateReactAgent in LangGraph cloudflare template Apr 30, 2026
@andreiborza andreiborza removed the request for review from constantinius April 30, 2026 04:42
@andreiborza andreiborza force-pushed the ab/fix-langgraph-template branch from 9f23426 to f7b2a1a Compare April 30, 2026 04:53
@github-actions
Copy link
Copy Markdown

🔴 AI SDK Integration Test Results

Status: 1 regression detected

Summary

Metric main PR Change
Total Tests 799 799
Passed 669 679 +10 ✅
Failed 117 120 +3 ⚠️

🔴 Regressions

These tests were passing on main but are now failing:

browser/openai :: Multi-Turn LLM Test (blocking, responses)

Error: Browser test timed out (60s)

Browser test timed out (60s)

✅ Fixed

These tests were failing on main but are now passing:

  • cloudflare/langgraph :: Basic Agent Test (openai)
  • cloudflare/langgraph :: Tool Call Agent Test (openai)
  • cloudflare/langgraph :: Tool Error Agent Test (openai)
  • cloudflare/langgraph :: Vision Agent Test (openai)
  • cloudflare/langgraph :: Long Input Agent Test (openai)
  • cloudflare/langgraph :: Conversation ID Agent Test (openai)
  • browser/google-genai :: Multi-Turn LLM Test (blocking)
  • browser/openai :: Multi-Turn LLM Test (blocking, chat)
  • cloudflare/openai :: Multi-Turn LLM Test (blocking, responses)
  • nextjs/google-genai :: Multi-Turn LLM Test (blocking)
  • node/google-genai :: Conversation ID LLM Test (blocking)

Test Matrix

Agent Tests

SDK Basic Agent Test Conversation ID Agent Test Long Input Agent Test Tool Call Agent Test Tool Error Agent Test Vision Agent Test
cloudflare/langgraph anthropic ✅🔧openai anthropic ✅🔧openai anthropic ✅🔧openai anthropic ✅🔧openai anthropic ✅🔧openai anthropic ✅🔧openai
cloudflare/vercel blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai
nextjs/mastra
nextjs/vercel blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai
node/langgraph anthropicopenai anthropicopenai anthropicopenai anthropicopenai anthropicopenai anthropicopenai
node/manual
node/mastra
node/vercel blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai blk, class, anthropicblk, class, openaiblk, function, anthropicblk, function, openaistr, class, anthropicstr, class, openaistr, function, anthropicstr, function, openai
python/langgraph a, anthropica, openais, anthropics, openai a, anthropica, openais, anthropics, openai a, anthropica, openais, anthropics, openai a, anthropica, openais, anthropics, openai a, anthropica, openais, anthropics, openai a, anthropica, openais, anthropics, openai
python/manual as as as as as as
python/openai-agents
python/pydantic-ai a, fallbacka, single a, fallbacka, single a, fallbacka, single a, fallbacka, single a, fallbacka, single a, fallbacka, single

Embedding Tests

SDK Basic Embeddings Test
browser/google-genai
browser/langchain
browser/openai
cloudflare/google-genai
cloudflare/langchain
cloudflare/openai
cloudflare/vercel
nextjs/google-genai
nextjs/langchain
nextjs/openai
nextjs/vercel
node/google-genai
node/langchain
node/openai
node/vercel
python/google-genai a, blks, blk
python/langchain a, blks, blk
python/litellm a, blks, blk
python/manual a, blks, blk
python/openai a, blks, blk

LLM Tests

SDK Basic Error LLM Test Basic LLM Test Conversation ID LLM Test Long Input LLM Test Multi-Turn LLM Test Vision LLM Test
browser/anthropic blkstr blkstr blkstr blkstr blkstr blkstr
browser/google-genai blkstr blkstr blkstr blkstr ✅🔧blkstr blkstr
browser/langchain blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai
browser/openai blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses ✅🔧blk, chat ❌📉blk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses
cloudflare/anthropic blkstr blkstr blkstr blkstr blkstr blkstr
cloudflare/google-genai blkstr blkstr blkstr blkstr blkstr blkstr
cloudflare/langchain blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai
cloudflare/openai blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chat ✅🔧blk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses
nextjs/anthropic blkstr blkstr blkstr blkstr blkstr blkstr
nextjs/google-genai blkstr blkstr blkstr blkstr ✅🔧blkstr blkstr
nextjs/langchain blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai
nextjs/openai blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses
node/anthropic blkstr blkstr blkstr blkstr blkstr blkstr
node/google-genai blkstr blkstr ✅🔧blkstr blkstr blkstr blkstr
node/langchain blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai blk, anthropicblk, openaistr, anthropicstr, openai
node/manual
node/openai blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses blk, chatblk, responsesstr, chatstr, responses
python/anthropic a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str
python/google-genai a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str a, blka, strs, blks, str
python/langchain a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai
python/litellm a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai a, blk, anthropica, blk, openaia, str, anthropica, str, openais, blk, anthropics, blk, openais, str, anthropics, str, openai
python/manual a, blks, blk a, blks, blk a, blks, blk a, blks, blk a, blks, blk
python/openai a, blk, chata, blk, responsesa, str, chata, str, responsess, blk, chats, blk, responsess, str, chats, str, responses a, blk, chata, blk, responsesa, str, chata, str, responsess, blk, chats, blk, responsess, str, chats, str, responses a, blk, chata, blk, responsesa, str, chata, str, responsess, blk, chats, blk, responsess, str, chats, str, responses a, blk, chata, blk, responsesa, str, chata, str, responsess, blk, chats, blk, responsess, str, chats, str, responses a, blk, chata, blk, responsesa, str, chata, str, responsess, blk, chats, blk, responsess, str, chats, str, responses a, blk, chata, blk, responsesa, str, chata, str, responsess, blk, chats, blk, responsess, str, chats, str, responses

MCP Tests

SDK Basic MCP Tool Call Test MCP Multiple Tool Calls Test MCP Prompt Get Test MCP Resource Read Test MCP Tool Error Test
node/mcp sseio sseio sseio sseio sseio
python/fastmcp a, blk, ssea, blk, io a, blk, ssea, blk, io a, blk, ssea, blk, io a, blk, ssea, blk, io a, blk, ssea, blk, io
python/mcp a, blk, sse, hia, blk, sse, loa, blk, io, hia, blk, io, lo a, blk, sse, hia, blk, sse, loa, blk, io, hia, blk, io, lo a, blk, sse, hia, blk, sse, loa, blk, io, hia, blk, io, lo a, blk, sse, hia, blk, sse, loa, blk, io, hia, blk, io, lo a, blk, sse, hia, blk, sse, loa, blk, io, hia, blk, io, lo

Legend: ✅ Pass | ❌ Fail | ✅🔧 Fixed | ❌📉 Regressed | ✅🆕 New (pass) | ❌🆕 New (fail) | 🗑️ Removed | str=streaming blk=blocking a=async s=sync io=stdio sse=sse hi=highlevel lo=lowlevel


Generated by AI SDK Integration Tests

@andreiborza andreiborza merged commit d9653cd into main Apr 30, 2026
10 of 12 checks passed
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.

2 participants