initial: test-helper agent for e2e platform feature coverage
All checks were successful
build / build (push) Successful in 5s
All checks were successful
build / build (push) Successful in 5s
Two skills:
- echo(text): trivial sub-second response. Used by approval-mode tests
that need a fast handoff target.
- try_scope_expansion(reason, read_patterns, ttl_seconds, mode):
deliberately calls ctx.request_scope() with caller-supplied args so
e2e tests can exercise the orchestrator's scope-negotiation flow
end-to-end without inventing a real workload that happens to need
extra files.
Standard A2A scaffold: Dockerfile FROM a2a-pack-base, /invoke/{skill} +
/.well-known/agent-card served by the SDK's serve/asgi.py adapter, deploy/
manifests for k8s, Gitea Actions workflow that builds + bumps the image
SHA.
Public, low resources (50m CPU / 128Mi mem). Not exposed via the public
ingress in any meaningful way — only the in-cluster Service is consulted
by the orchestrator's call_agent.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM registry.a2acloud.io/a2a/a2a-pack-base:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV A2A_ENTRYPOINT=agent:TestHelperAgent
|
||||
ENV PORT=8000
|
||||
EXPOSE 8000
|
||||
|
||||
CMD a2a run --entrypoint "$A2A_ENTRYPOINT" --host 0.0.0.0 --port 8000
|
||||
Reference in New Issue
Block a user