Repository navigation
Description
Proposal
Context
The current Windows CI job configures and builds the SDK with Visual Studio 2022, but it does not execute the CTest suite. This leaves Windows-specific runtime, lifecycle, networking, cancellation, and portability regressions detectable only on Linux/macOS or through ad-hoc local testing.
A patch release is a good place to close this validation gap without changing public SDK behavior.
Goal
Run all applicable deterministic C++ tests on Windows CI after a successful build, and make platform-specific exclusions explicit rather than silently skipping test execution on Windows.
Scope
- Extend the existing
windows-buildjob in.github/workflows/ci.ymlto execute CTest using the configured Visual Studio build configuration. - Prefer the normal test registration already produced by CMake rather than creating a separate Windows-only test harness.
- Start with all tests that are supported without external services or Linux-only facilities.
- If a test is genuinely unsupported on Windows:
- document why;
- exclude it narrowly by test name or label;
- keep the exclusion close to the workflow/test definition;
- avoid broad regexes that hide unrelated failures.
- Ensure failures surface normal
--output-on-failurediagnostics in the workflow log. - Preserve the current vcpkg cache and build configuration.
A typical invocation should be equivalent to:
ctest --test-dir build -C RelWithDebInfo --output-on-failureThe exact configuration name should match the existing Windows build step.
Non-goals
- Adding new SDK features.
- Reworking the Windows dependency strategy.
- Enabling PostgreSQL-backed tests on Windows as part of this issue unless they already work with the current manifest and service setup.
- Implementing the Windows event-driven libcurl backend tracked by [Perf]: add event-driven Windows readiness backend for libcurl streaming #232.
- Weakening or removing existing Linux/macOS test coverage.
Acceptance criteria
- The Windows CI job executes CTest after building the SDK.
- Core unit tests run on Windows rather than only compiling.
- Client/server lifecycle and cancellation tests that are platform portable execute on Windows.
- Any Windows-specific exclusions are narrow and documented.
- Test failures produce useful
--output-on-failurediagnostics. - No public SDK API changes are introduced.
- The existing Windows build remains green.
- Linux and macOS CI behavior is unchanged.
-
AGENTS.mdvalidation requirements remain satisfied for touched code/workflows.
Motivation
The repository already treats Windows as a supported build target. A successful compile is necessary but not sufficient for concurrency-heavy networking code. Running the existing deterministic tests on Windows gives substantially better regression protection for a low-risk patch-release change.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity