Skip to content

test: install HTTP dependencies for the legacy cross-version server - #1320

Merged
Iwaniukooo11 merged 2 commits into
a2aproject:mainfrom
gomission:codex/fix-cross-version-http-extra
Oct 12, 2026
Merged

Iwaniukooo11 merged 2 commits into
a2aproject:mainfrom
gomission:codex/fix-cross-version-http-extra

Conversation

@gomission

Copy link
Copy Markdown
Contributor

Description

The cross-version fixture starts the 0.3.24 FastAPI/JSON-RPC server in an isolated uv --no-project environment, but requests only a2a-sdk[grpc]. That environment lacks sse-starlette, so server startup raises ImportError and all four cross-version combinations fail during setup.

Request a2a-sdk[grpc,http-server]==0.3.24 for that server. This changes one test dependency declaration; the client environments and SDK runtime dependencies stay as they are.

Validation on main e11cb3e55dd536bee99fe185723db3c8ff6f8a13, Python 3.12.11:

  • Before: four cross-version setup errors; the legacy server reports the missing HTTP-server packages.

  • After: ./scripts/lint.sh exits 0; uv run pytest --timeout=45 reports 2243 passed, 183 skipped, 3 xfailed, 1 xpassed. All four cross-version combinations pass.

  • git diff --check passes. Skipped coverage includes external PostgreSQL/MySQL services; they were not configured locally. The existing expected-failure markers reference [Feat]: Improve server concurrency architecture #869.

  • Followed the contribution guide and conventional-commit title format.

  • Tests and linter pass.

  • Documentation changes are not needed for this test-environment dependency.

AI-assisted investigation and validation with Codex for Mission.

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

🧪 Code Coverage (vs main)

⬇️ Download Full Report

Base PR Delta
src/a2a/server/cluster/database_event_stream.py 96.94% 92.86% 🔴 -4.08%
Total 93.14% 93.10% 🔴 -0.04%

Generated by coverage-comment.yml

@Iwaniukooo11 Iwaniukooo11 self-assigned this Oct 9, 2026
@Iwaniukooo11
Iwaniukooo11 enabled auto-merge (squash) October 12, 2026 12:13
@Iwaniukooo11
Iwaniukooo11 merged commit 799fcae into a2aproject:main Oct 12, 2026
10 checks passed
@gomission

Copy link
Copy Markdown
Contributor Author

Thanks @Iwaniukooo11 for reviewing and merging this, and thanks to the maintainers for the cross-version CI coverage. Glad the legacy test-server dependency fix is now in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants