Skip to content

test(examples/ag-ui): interrupt-approval e2e over the AG-UI transport#654

Merged
blove merged 1 commit into
mainfrom
ag-ui-interrupt-e2e
Jun 11, 2026
Merged

test(examples/ag-ui): interrupt-approval e2e over the AG-UI transport#654
blove merged 1 commit into
mainfrom
ag-ui-interrupt-e2e

Conversation

@blove

@blove blove commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

The follow-up flagged in #649: e2e coverage for the human-in-the-loop approval card in examples/ag-ui.

  • Ports examples/chat's interrupt spec to the AG-UI transport: request_approval pauses the run (on_interrupt CUSTOM event → agent.interrupt()), and the app shell's <chat-interrupt-panel> (feat(examples/ag-ui): approval-card parity for human-in-the-loop #649) renders "Agent paused", the captured reason, and the Accept/Edit/Respond/Ignore actions.
  • The interrupt-approval.json aimock fixture already shipped with the harness in Part 2b — only the spec was missing. Scoped to panel-render parity with the chat spec (the fixture has no post-resume leg).
  • Full local suite: 10/10 green (new spec 646ms).

Also deletes nothing and changes no app code — one new spec file.

Test Plan

  • CI examples/ag-ui — e2e green (now 10 specs).

🤖 Generated with Claude Code

Ports examples/chat's interrupt spec: request_approval pauses the run via
on_interrupt, and the app shell's <chat-interrupt-panel> (#649) renders the
captured reason + Accept/Edit/Respond/Ignore. The interrupt-approval.json
aimock fixture already shipped with the harness — only the spec was missing.
10/10 suite green locally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 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 11, 2026 6:47pm

Request Review

@blove blove merged commit 078ab5c into main Jun 11, 2026
24 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