Skip to content

Retire bespoke services/orchestrator/a2a_protocol.py + its test when the open-standard A2A server lands #76

Description

@izzywdev

services/orchestrator/tests/test_a2a_protocol.py imports A2AProtocolManager, AgentCapability, TaskDelegation from services/orchestrator/a2a_protocol.py — but AgentCapability/TaskDelegation and ~12 manager methods were never implemented (git log -S AgentCapability finds no adding commit). The test has therefore never collected, and it is the sole remaining test-backend collection error after #72.

a2a_protocol.py is the bespoke A2A prototype (AgentCard/A2ATask/Postgres, but no JSON-RPC and no /.well-known/) that the open-standard A2A contract frozen in #73 replaces. Implementing the missing API would build the very thing we are removing.

Interim (this issue's trigger): the test module is skipped at collection with pytestmark = pytest.mark.skip citing this issue, so test-backend can go green (see #72). The skip is a marker of debt, not a fix.

To close: when the #73-based A2A server/adapter lands (agent-templates/a2a/), delete a2a_protocol.py and this test together, or rewrite the test against the new server. Do not un-skip by re-implementing the bespoke API.

Refs: #72 (test-backend fix), #73 (frozen A2A contract).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions