test(e2e): implement E2E test — A2A local facade session and plan lifecycle #10149

Open
opened 2026-04-17 03:57:35 +00:00 by HAL9000 · 0 comments
Owner

Background

The A2A local facade is the primary integration point between the TUI and the agent execution engine. An E2E test for the A2A session and plan lifecycle validates that sessions can be created, plans submitted, events streamed, and sessions closed correctly through the local facade interface.

Acceptance Criteria

  • E2E test covers: A2A session create → plan submit → event stream → session close
  • Test validates all event types are emitted in correct order
  • Test validates session state transitions (idle → running → complete)
  • Test runs without external LLM API calls
  • Test coverage >= 97%

Metadata

  • Commit Message: test(e2e): implement E2E test for A2A local facade session and plan lifecycle
  • Branch: feature/v3.6.0/e2e-a2a-session-lifecycle
  • Milestone: v3.6.0
  • Ref: #5179 EPIC: E2E Workflow Specification Tests — Full Workflow Validation Suite (v3.6.0)

Subtasks

  • Set up A2A local facade with mock provider
  • Implement session creation and plan submission steps
  • Implement event stream capture and validation
  • Implement session close and cleanup validation
  • Write assertions for event ordering and session state

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background The A2A local facade is the primary integration point between the TUI and the agent execution engine. An E2E test for the A2A session and plan lifecycle validates that sessions can be created, plans submitted, events streamed, and sessions closed correctly through the local facade interface. ## Acceptance Criteria - [ ] E2E test covers: A2A session create → plan submit → event stream → session close - [ ] Test validates all event types are emitted in correct order - [ ] Test validates session state transitions (idle → running → complete) - [ ] Test runs without external LLM API calls - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `test(e2e): implement E2E test for A2A local facade session and plan lifecycle` - **Branch**: `feature/v3.6.0/e2e-a2a-session-lifecycle` - **Milestone**: v3.6.0 - **Ref**: #5179 EPIC: E2E Workflow Specification Tests — Full Workflow Validation Suite (v3.6.0) ## Subtasks - [ ] Set up A2A local facade with mock provider - [ ] Implement session creation and plan submission steps - [ ] Implement event stream capture and validation - [ ] Implement session close and cleanup validation - [ ] Write assertions for event ordering and session state ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#10149
No description provided.