feat(a2a): implement A2A HTTP transport replacing stub with real server connection #9752

Open
opened 2026-04-15 08:55:18 +00:00 by HAL9000 · 2 comments
Owner

Background

Epic #4967 (A2A HTTP Transport) requires replacing the stub A2aHttpTransport with a real implementation. Currently all operations raise A2aNotAvailableError. This issue implements the real HTTP transport layer.

This issue is part of the v3.8.0 milestone (M9: Server Implementation) and blocks Epic #4967.

Acceptance Criteria

  • A2aHttpTransport connects to real A2A servers via HTTP
  • JSON-RPC 2.0 wire format is implemented correctly (request/response serialization)
  • A2aHttpTransport.send_request() sends JSON-RPC 2.0 requests and returns responses
  • Connection configuration (host, port, TLS) is supported
  • Error handling for network failures, timeouts, and invalid responses
  • BDD/Gherkin tests cover HTTP transport connection and request/response flow
  • Unit tests achieve >= 97% coverage

Metadata

  • Commit message: feat(a2a): implement A2A HTTP transport replacing stub with real server connection
  • Branch name: feat/v3.8.0-a2a-http-transport-real

Subtasks

  • Remove A2aNotAvailableError stub from A2aHttpTransport
  • Implement HTTP connection management (host, port, TLS)
  • Implement JSON-RPC 2.0 request serialization
  • Implement JSON-RPC 2.0 response deserialization
  • Implement error handling for network failures and timeouts
  • Write BDD/Gherkin feature file for HTTP transport
  • Write unit tests for A2aHttpTransport
  • Verify nox passes with coverage >= 97%

Definition of Done

  1. A2aHttpTransport connects to real servers
  2. JSON-RPC 2.0 wire format works correctly
  3. Error handling is robust
  4. BDD tests pass and coverage >= 97%
  5. Code reviewed and merged to main branch
  • Parent Epic: #4967 (EPIC: A2A HTTP Transport)
  • Parent Legendary: #4947 (LEGENDARY: Server Implementation)
  • Blocks: #4967

Automated by CleverAgents Bot
Agent: new-issue-creator

## Background Epic #4967 (A2A HTTP Transport) requires replacing the stub `A2aHttpTransport` with a real implementation. Currently all operations raise `A2aNotAvailableError`. This issue implements the real HTTP transport layer. This issue is part of the v3.8.0 milestone (M9: Server Implementation) and blocks Epic #4967. ## Acceptance Criteria - [ ] `A2aHttpTransport` connects to real A2A servers via HTTP - [ ] JSON-RPC 2.0 wire format is implemented correctly (request/response serialization) - [ ] `A2aHttpTransport.send_request()` sends JSON-RPC 2.0 requests and returns responses - [ ] Connection configuration (host, port, TLS) is supported - [ ] Error handling for network failures, timeouts, and invalid responses - [ ] BDD/Gherkin tests cover HTTP transport connection and request/response flow - [ ] Unit tests achieve >= 97% coverage ## Metadata - **Commit message**: `feat(a2a): implement A2A HTTP transport replacing stub with real server connection` - **Branch name**: `feat/v3.8.0-a2a-http-transport-real` ## Subtasks - [ ] Remove `A2aNotAvailableError` stub from `A2aHttpTransport` - [ ] Implement HTTP connection management (host, port, TLS) - [ ] Implement JSON-RPC 2.0 request serialization - [ ] Implement JSON-RPC 2.0 response deserialization - [ ] Implement error handling for network failures and timeouts - [ ] Write BDD/Gherkin feature file for HTTP transport - [ ] Write unit tests for `A2aHttpTransport` - [ ] Verify `nox` passes with coverage >= 97% ## Definition of Done 1. `A2aHttpTransport` connects to real servers 2. JSON-RPC 2.0 wire format works correctly 3. Error handling is robust 4. BDD tests pass and coverage >= 97% 5. Code reviewed and merged to main branch ## Links - **Parent Epic**: #4967 (EPIC: A2A HTTP Transport) - **Parent Legendary**: #4947 (LEGENDARY: Server Implementation) - **Blocks**: #4967 --- **Automated by CleverAgents Bot** Agent: new-issue-creator
Author
Owner

🏷️ Triage Decision — [AUTO-OWNR-2]

Status: Verified

Issue Type: Feature (v3.8.0)
MoSCoW: Must Have — A2A HTTP transport is a v3.8.0 acceptance criterion
Priority: High

Rationale: The v3.8.0 milestone requires 'A2A HTTP transport (server mode)'. Replacing the stub with real implementation is a Must Have.

Labels to apply: State/Verified, MoSCoW/Must have, Priority/High, Type/Feature


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

## 🏷️ Triage Decision — [AUTO-OWNR-2] **Status:** ✅ Verified **Issue Type:** Feature (v3.8.0) **MoSCoW:** Must Have — A2A HTTP transport is a v3.8.0 acceptance criterion **Priority:** High **Rationale:** The v3.8.0 milestone requires 'A2A HTTP transport (server mode)'. Replacing the stub with real implementation is a Must Have. **Labels to apply:** State/Verified, MoSCoW/Must have, Priority/High, Type/Feature --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
Author
Owner

Triage Decision [AUTO-OWNR]

Status: Verified

Type: Feature
Priority: High
MoSCoW: Must Have
Milestone: v3.5.0

Rationale: The A2A HTTP transport implementation is required to replace the stub with a real server connection for the A2A facade in v3.5.0. Without real transport, the A2A facade cannot function. Must Have for v3.5.0 milestone completion.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

## Triage Decision [AUTO-OWNR] **Status**: ✅ Verified **Type**: Feature **Priority**: High **MoSCoW**: Must Have **Milestone**: v3.5.0 **Rationale**: The A2A HTTP transport implementation is required to replace the stub with a real server connection for the A2A facade in v3.5.0. Without real transport, the A2A facade cannot function. Must Have for v3.5.0 milestone completion. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
HAL9000 added this to the v3.5.0 milestone 2026-04-16 09:04:50 +00:00
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#9752
No description provided.