Skip to content

feat(ag-ui): add interrupt durability and align adapter resume retry - #1072

Merged
blove merged 10 commits into
mainfrom
blove/interrupt-durability
Sep 8, 2026
Merged

feat(ag-ui): add interrupt durability and align adapter resume retry#1072
blove merged 10 commits into
mainfrom
blove/interrupt-durability

Conversation

@blove

@blove blove commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Interrupt resumes now retain the exact decision and associated input for retry. LangGraph preserves valid null-payload resume commands; AG-UI owns the complete pending batch, validates claims, rolls failed protocol state back, and supports optional atomic persistence and authoritative reconciliation.

AG-UI now rejects bare resumes and unrelated input while an interrupt is unresolved. Native batches take precedence in auto mode; explicit compatibility profiles preserve command-based backends. Provider disposal and stale-callback guards prevent completed lifetimes from changing state. Migration guidance and generated API documentation are included.

Validation: 1,998 tests passed across chat, LangGraph, and AG-UI; type checks and production library builds passed; lint passed with warnings. Shared conformance covers combined input, intentional retry, restoration, and disposal. Real-client tests cover durable claims, reconciliation, restored tool identity, and replacement batches. AG-UI interrupt and streaming consumer builds also passed under their non-strict TypeScript configuration. Local Chrome MCP smoke passed against the repository fixture backend: normal chat, approval pause, resume producing the approved tool result and a replacement pending batch, and blocked Enter preserving the composer draft with no extra request or browser console errors. The smoke test exposed an enabled composer during pauses; the follow-up adds an optional input-blocked signal and covers hydration as well.

Packaged consumers now require AG-UI SDK 0.0.59 for the interrupt schema exports. Fresh Angular 20, 21, and 22 packaged consumer production builds and all 44 smoke-generator / Angular-support tests passed. Angular 20 and 21 runtime compatibility checks passed locally. The smoke scaffold loads its compatibility probes in a separate chunk, preserving all runtime assertions while keeping the initial bundle below the unchanged 2 MB budget.

The Mastra example now reads retained compatibility details from the interrupt session and explicitly selects its command transport. All five Mastra end-to-end tests passed locally, including campsite details and approval/resume.

Durable storage, backend reconciliation, and server-side idempotency remain application responsibilities.

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
threadplane Ready Ready Preview Sep 8, 2026 10:39pm UTC

Request Review

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove enabled auto-merge (squash) September 8, 2026 20:40
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove
blove merged commit a386692 into main Sep 8, 2026
75 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