Skip to content

test(examples/ag-ui): green up main — match classified-error e2e copy#695

Merged
blove merged 2 commits into
mainfrom
fix/ag-ui-e2e-error-copy
Jun 18, 2026
Merged

test(examples/ag-ui): green up main — match classified-error e2e copy#695
blove merged 2 commits into
mainfrom
fix/ag-ui-e2e-error-copy

Conversation

@blove

@blove blove commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Why

#693 (structured AgentError + classified error UX) replaced the raw stream-failure text with friendly AGENT_ERROR_MESSAGES copy — for a network abort that's now "Can't reach the server. Check your connection and try again." — which no longer contains "fail"/"error".

The chat example's error-handling.spec.ts was updated in #693 to assert the new copy, but its ag-ui twin was missed. As a result examples/ag-ui — e2e is red on main (run 27791822868), which is also gating the canonical demo deploy.

Fix

One-line assertion update mirroring the chat example: /can't reach|connection|server|interrupted|try again/i. The abort path (route.abort('failed')) classifies as connection → "Can't reach the server…", matching can't reach / connection / try again.

No product code change — test-only, restores green.

🤖 Generated with Claude Code

#693 replaced the raw stream-failure text with friendly AGENT_ERROR_MESSAGES
copy ("Can't reach the server. Check your connection and try again."), which
no longer contains "fail"/"error" — turning main red on examples/ag-ui — e2e.
The chat example's spec was updated in #693; the ag-ui twin was missed. Mirror
that assertion so the ag-ui error-handling spec asserts the actual copy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@blove blove enabled auto-merge (squash) June 18, 2026 23:51
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jun 18, 2026 11:57pm

Request Review

@blove blove merged commit 2d6f30b into main Jun 18, 2026
26 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.

1 participant