Skip to content

fix(a2a): detach sandbox runs from client streams - #33

Open
drewstone wants to merge 3 commits into
mainfrom
fix/a2a-detached-execution
Open

fix(a2a): detach sandbox runs from client streams#33
drewstone wants to merge 3 commits into
mainfrom
fix/a2a-detached-execution

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • Use the Sandbox SDK dispatchPrompt + exact session execution controls for A2A task runs.
  • Persist the accepted sandbox/environment, session, and execution IDs on the task execution fence.
  • Treat response disconnects as observation-only; tasks/resubscribe replays the exact run and tasks/get reconciles its result before lease failure.
  • Restrict remote interruption to explicit tasks/cancel, and fail closed when production adapters lack durable controls.

This follows the Sandbox SDK README “Resume a session” contract and its session.events, session.result, and session.interrupt primitives.

Proof

  • pnpm typecheck
  • pnpm test -- --reporter=dot — 24 files, 392 tests passed
  • Focused disconnect/resubscribe, exact cancel, expired-run recovery, and webhook regression tests included.

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