Repository navigation
ci(macos): run CTest and fix portability regressions - #276
Conversation
|
This is OK, however we should consider switching to non-blocking I/O across all SUTs on all platforms in a separate PR. |
|
@codex review this PR |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
macOS CI builds the tests but does not execute them. Explicitly enable
A2A_ENABLE_TESTING=ONand run the existing CTest suite after the build with--output-on-failureand--no-tests=error. All registered C++ and available Python-backed tests remain selected. Preserve macos-14, Homebrew dependencies, Ninja, and RelWithDebInfo.Fix the portability failures exposed by test execution: restore blocking mode on accepted SUT HTTP sockets, which inherit non-blocking mode on BSD and Winsock; and use the existing duplicate-field validator to preserve flat JSON-RPC alias rejection across protobuf versions. Strengthen unit coverage for alias order and quoted values, assert rejected requests are never dispatched, and add a functional regression that checks rejection before store lookup. The HTTP persistence regression covers sequential reuse, pipelining, fragmentation, concurrency, and idle shutdown. No public API changes or test exclusions are introduced; Linux and Windows workflow definitions are unchanged.
Closes #275.
Authorship and AI usage
Implementation generated by OpenAI Codex.
Testing
./scripts/verify_changes.shpassed (exit 0), including all 579 Linux CTest registrations../scripts/run_clang_format.sh, the exact CI formatting check, and./scripts/run_clang_tidy.sh buildpassed. Native clang-tidy initially checked all 120 translation units with unchanged compiler commands and profiles using three local workers. All four changed translation units were checked again with native clang-tidy; successful results for unchanged translation units were reused only after matching source, header/generated inputs, build configuration, included implementation dependencies, and tool inputs.Checklist
./scripts/verify_changes.shpassed locally