Skip to content

fix: add dedicated performance_sut entrypoint and shared SUT runtime with diagnostics - #262

Merged
MisterVVP merged 4 commits into
mainfrom
dev-refactor-sut-into-conformance-and-performance-binaries-q04x4i
Oct 3, 2026
Merged

MisterVVP merged 4 commits into
mainfrom
dev-refactor-sut-into-conformance-and-performance-binaries-q04x4i

Conversation

@MisterVVP

@MisterVVP MisterVVP commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Motivation

  • Separate the conformance-focused tck_sut from the wire-level performance_sut so diagnostics can be enabled only for performance runs while keeping the conformance binary minimal.

Description

  • Introduce a shared SUT runtime library (sut_runtime) and centralize server/transport lifecycle in tests/sut/sut_runtime.{h,cpp} used by both entrypoints.
  • Add a new performance_sut entrypoint and diagnostics implementation (tests/sut/performance_sut.cpp, performance_sut_diagnostics.{cpp,h}) and update tests/CMakeLists.txt to build tck_sut, performance_sut, and the sut_runtime library with conditional compilation for A2A_ENABLE_SUBSCRIPTION_DIAGNOSTICS.
  • Update the performance runner and test tooling to reference the new SUT name by changing SUT_NAME/env var usage to performance_sut / A2A_PERF_SUT in scripts/performance_runner.py, adjust test scripts (tests/scripts/http_persistence_test.py, tests/scripts/performance_runner_test.py), and add a new guard test tests/scripts/sut_entrypoints_test.py to verify separation and diagnostics placement.
  • Update documentation and CI to reflect the new entrypoint and artifact names, and modify the GitHub Actions workflow (.github/workflows/ci.yml) to build/test performance_sut and run the new sut_entrypoints_test in CI.

@MisterVVP MisterVVP added the codex Automatic label added by codex agent. Should not be used label Oct 2, 2026 — with ChatGPT Codex Connector
@MisterVVP MisterVVP self-assigned this Oct 2, 2026
@MisterVVP MisterVVP added AI agent AI agent contribution and removed codex Automatic label added by codex agent. Should not be used labels Oct 2, 2026
@MisterVVP MisterVVP changed the title Add dedicated performance_sut entrypoint and shared SUT runtime with diagnostics fix: add dedicated performance_sut entrypoint and shared SUT runtime with diagnostics Oct 2, 2026
@MisterVVP
MisterVVP changed the base branch from main to dev-refactor-sut-into-conformance-and-performance-binaries October 2, 2026 18:23
@MisterVVP
MisterVVP changed the base branch from dev-refactor-sut-into-conformance-and-performance-binaries to main October 2, 2026 18:24
@MisterVVP MisterVVP added refactoring Constant technical improvements which are not necessarily related to any issue. maintenance labels Oct 2, 2026
@MisterVVP MisterVVP linked an issue Oct 2, 2026 that may be closed by this pull request
14 tasks
@MisterVVP
MisterVVP merged commit 3567300 into main Oct 3, 2026
20 of 21 checks passed
@MisterVVP
MisterVVP deleted the dev-refactor-sut-into-conformance-and-performance-binaries-q04x4i branch October 3, 2026 19:40
@MisterVVP MisterVVP mentioned this pull request Oct 8, 2026
4 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI agent AI agent contribution maintenance refactoring Constant technical improvements which are not necessarily related to any issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor]: Separate conformance TCK SUT from performance diagnostics SUT

1 participant