test(a2a): add integration tests for full A2A session and plan lifecycle #10760

Merged
HAL9000 merged 3 commits from test/a2a-session-plan-lifecycle-integration into master 2026-04-26 12:50:02 +00:00

3 Commits

Author SHA1 Message Date
HAL9000 087314843a ci: remove benchmark-regression job from PR workflow (already in scheduled)
CI / push-validation (pull_request) Successful in 28s
CI / helm (pull_request) Successful in 32s
CI / lint (pull_request) Successful in 1m3s
CI / build (pull_request) Successful in 59s
CI / quality (pull_request) Successful in 1m26s
CI / security (pull_request) Successful in 1m38s
CI / typecheck (pull_request) Successful in 1m46s
CI / e2e_tests (pull_request) Successful in 3m51s
CI / integration_tests (pull_request) Successful in 4m0s
CI / unit_tests (pull_request) Successful in 6m7s
CI / docker (pull_request) Successful in 1m34s
CI / coverage (pull_request) Successful in 11m9s
CI / benchmark-publish (push) Waiting to run
CI / status-check (pull_request) Successful in 3s
CI / helm (push) Successful in 28s
CI / push-validation (push) Successful in 29s
CI / lint (push) Successful in 1m0s
CI / quality (push) Successful in 1m13s
CI / typecheck (push) Successful in 1m23s
CI / build (push) Successful in 1m3s
CI / security (push) Successful in 1m31s
CI / integration_tests (push) Successful in 4m20s
CI / e2e_tests (push) Successful in 5m11s
CI / unit_tests (push) Successful in 10m37s
CI / docker (push) Successful in 1m24s
CI / benchmark-publish (pull_request) Has been skipped
CI / coverage (push) Successful in 12m19s
CI / status-check (push) Successful in 3s
The benchmark-regression job was supposed to be moved to the dedicated benchmark-scheduled.yml workflow (commit 44fc7411, issue #9040), but was accidentally left in master.yml. This caused every PR to run a 1h+ ASV benchmark suite on the docker-benchmark runner, blocking PR feedback.

The benchmark-regression job now lives exclusively in .forgejo/workflows/benchmark-scheduled.yml and runs on a nightly schedule (2 AM UTC) and on workflow_dispatch. The benchmark-publish job (push to master) remains in master.yml as intended.
2026-04-26 12:35:39 +00:00
HAL9000 05b58630bf style(a2a): apply ruff format to integration test helper
Apply ruff format to robot/helper_a2a_session_plan_lifecycle_integration.py
to fix CI lint failure. Changes are purely formatting (whitespace, line
wrapping) with no logic modifications.

ISSUES CLOSED: #10032
2026-04-26 12:35:39 +00:00
HAL9000 d306e6e33c test(a2a): add integration tests for full A2A session and plan lifecycle
- Added robot/a2a_session_plan_lifecycle_integration.robot: Robot Framework integration test suite with 7 test cases covering the full A2A session and plan lifecycle, event queue publish/subscribe, guard enforcement (budget cap, tool call limit, denylist), and plan rollback with session state consistency.

- Added robot/helper_a2a_session_plan_lifecycle_integration.py: Helper script with real service instances (no mocks) using in-memory SQLite, wiring up A2A facade, session service, plan lifecycle service, event queue, and autonomy guardrail service.

ISSUES CLOSED: #10032
2026-04-26 12:35:39 +00:00